[Webkit-unassigned] [Bug 43044] WebNode should provide access to computedStyle

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 27 15:02:02 PDT 2010


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





--- Comment #13 from Dominic Mazzoni <dmazzoni at google.com>  2010-07-27 15:02:01 PST ---
(In reply to comment #12)
> In WebCore the computed style on a Node that's not an Element is just its parents computed style.  Not sure if that makes sense here.
> 
> Forcing layout is more heavyweight than just forcing style resolution, but that would produce correct results.

Note that to produce the initial accessibility tree for Chromium, we need to walk the entire tree and call this method for every node. Does it make sense to call WebFrame::layout() every single time? Or would it be better to just add a comment here that the caller should call WebFrame::layout first?

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