mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1176683 - crash in mozilla::a11y::HyperTextAccessible::LandmarkRole() const, r=marcoz
This commit is contained in:
parent
25ca96057d
commit
e5ec2a0a6a
@ -985,6 +985,9 @@ HyperTextAccessible::NativeAttributes()
|
||||
nsIAtom*
|
||||
HyperTextAccessible::LandmarkRole() const
|
||||
{
|
||||
if (!HasOwnContent())
|
||||
return nullptr;
|
||||
|
||||
// For the html landmark elements we expose them like we do ARIA landmarks to
|
||||
// make AT navigation schemes "just work".
|
||||
if (mContent->IsHTMLElement(nsGkAtoms::nav)) {
|
||||
|
Loading…
Reference in New Issue
Block a user