[Webkit-unassigned] [Bug 126118] Figure out if node is focusable without requiring renderer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Dec 21 07:09:44 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=126118


Andreas Kling <akling at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #219850|review?                     |review+
               Flag|                            |




--- Comment #2 from Andreas Kling <akling at apple.com>  2013-12-21 07:07:47 PST ---
(From update of attachment 219850)
View in context: https://bugs.webkit.org/attachment.cgi?id=219850&action=review

This seems like a pretty good solution. r=me.

> Source/WebCore/dom/Node.cpp:566
> +    if (!document().renderView())
> +        return false;

How about checking !Document::hasLivingRenderTree() here instead?

-- 
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