Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug
This commit is contained in:
@@ -53,7 +53,7 @@ void nsDisplayOptionEventGrabber::HitTest(nsDisplayListBuilder* aBuilder,
|
||||
nsIFrame* selectedFrame = outFrames.ElementAt(i);
|
||||
while (selectedFrame &&
|
||||
!(selectedFrame->GetContent() &&
|
||||
selectedFrame->GetContent()->IsHTML(nsGkAtoms::option))) {
|
||||
selectedFrame->GetContent()->IsHTMLElement(nsGkAtoms::option))) {
|
||||
selectedFrame = selectedFrame->GetParent();
|
||||
}
|
||||
if (selectedFrame) {
|
||||
|
||||
Reference in New Issue
Block a user