Bug 1762393 - Fix --disable-accessibility bustage in PresShell.cpp. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D142552
This commit is contained in:
@@ -3319,9 +3319,11 @@ nsresult PresShell::GoToAnchor(const nsAString& aAnchorName, bool aScroll,
|
||||
animationElement->ActivateByHyperlink();
|
||||
}
|
||||
|
||||
#ifdef ACCESSIBILITY
|
||||
if (nsAccessibilityService* accService = GetAccessibilityService()) {
|
||||
accService->NotifyOfAnchorJumpTo(target);
|
||||
}
|
||||
#endif
|
||||
} else if (nsContentUtils::EqualsIgnoreASCIICase(aAnchorName, u"top"_ns)) {
|
||||
// 2.2. Scroll to the beginning of the document for the Document.
|
||||
nsIScrollableFrame* sf = GetRootScrollFrameAsScrollable();
|
||||
|
||||
Reference in New Issue
Block a user