Bug 215220 Unable to receive caret-move event in HTML document

r=aaron, sr=henry.jia
Bug 217311 [ATK Accessibility] wrong text structure for HTML text
r=bolian.yin (Not in the default build)
Bug 218992 no placeholder for broken image
r=bolian.yin (Not in the default build)
This patch aims at solving some ATK accessible text issues. The main parts of this patch (inside accessibility/src/atk directory or the #ifdef MOZ_ACCESSIBILITY_ATK/#endif macro) are not in the default build (it gets built only when the default toolkit set to gtk2)
This commit is contained in:
kyle.yuan@sun.com
2003-09-14 12:56:21 +00:00
parent 2a83d4c82f
commit fde77d42ed
29 changed files with 530 additions and 216 deletions

View File

@@ -807,7 +807,6 @@ protected:
#ifdef ACCESSIBILITY
NS_IMETHODIMP nsTextFrame::GetAccessible(nsIAccessible** aAccessible)
{
#ifndef MOZ_ACCESSIBILITY_ATK
if (mRect.width > 0 || mRect.height > 0) {
nsCOMPtr<nsIAccessibilityService> accService = do_GetService("@mozilla.org/accessibilityService;1");
@@ -816,7 +815,6 @@ NS_IMETHODIMP nsTextFrame::GetAccessible(nsIAccessible** aAccessible)
return accService->CreateHTMLTextAccessible(NS_STATIC_CAST(nsIFrame*, this), aAccessible);
}
}
#endif
return NS_ERROR_FAILURE;
}
#endif