summaryrefslogtreecommitdiffstats
path: root/layout/base/PositionedEventTargeting.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/base/PositionedEventTargeting.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/layout/base/PositionedEventTargeting.cpp b/layout/base/PositionedEventTargeting.cpp
index e159239f16..a975372dea 100644
--- a/layout/base/PositionedEventTargeting.cpp
+++ b/layout/base/PositionedEventTargeting.cpp
@@ -249,18 +249,6 @@ static nsIContent* GetClickableAncestor(
return content;
}
- // Bug 921928: we don't have access to the content of remote iframe.
- // So fluffing won't go there. We do an optimistic assumption here:
- // that the content of the remote iframe needs to be a target.
- if (content->IsHTMLElement(nsGkAtoms::iframe) &&
- content->AsElement()->AttrValueIs(kNameSpaceID_None,
- nsGkAtoms::mozbrowser,
- nsGkAtoms::_true, eIgnoreCase) &&
- content->AsElement()->AttrValueIs(kNameSpaceID_None, nsGkAtoms::remote,
- nsGkAtoms::_true, eIgnoreCase)) {
- return content;
- }
-
// See nsCSSFrameConstructor::FindXULTagData. This code is not
// really intended to be used with XUL, though.
if (content->IsAnyOfXULElements(