[Webkit-unassigned] [Bug 54877] chrome.dll!WebCore::HTMLAreaElement::setFocus ReadAV at NULL (2f8e4496f8ea69da13971f5fddd09753)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 21 10:38:45 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=54877
SkyLined <skylined at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #3 from SkyLined <skylined at chromium.org> 2011-02-21 10:38:45 PST ---
I'm still trying to figure out hwo to submit a patch properly, but here's my suggestion:
Index: HTMLAreaElement.cpp
===================================================================
--- HTMLAreaElement.cpp (revision 79111)
+++ HTMLAreaElement.cpp (working copy)
@@ -231,7 +231,9 @@
// If the AREA element was a link, it should support focus.
// The inherited method is not used because it assumes that a render object must exist
// for the element to support focus. AREA elements do not have render objects.
- return isLink();
+ // skylined at chromium.org, Chromium issue 73650, WebKit issue 54877:
+ // An element that is not in the DOM tree cannot be focussed.
+ return isLink() && parentNode();
}
String HTMLAreaElement::target() const
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list