Summary: | Figure out if node is focusable without requiring renderer | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Antti Koivisto <koivisto> | ||||||||
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | buildbot, rniwa | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Bug Depends on: | |||||||||||
Bug Blocks: | 126073 | ||||||||||
Attachments: |
|
Description
Antti Koivisto
2013-12-21 06:23:16 PST
Created attachment 219850 [details]
patch
Comment on attachment 219850 [details] patch 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? Comment on attachment 219850 [details] patch Attachment 219850 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/49668183 Created attachment 219851 [details]
fix release build
Created attachment 219853 [details]
another
This patch also fixed https://bugs.webkit.org/show_bug.cgi?id=133371. |