[Webkit-unassigned] [Bug 135844] Don't recurse into non-rendered subtrees when computing style

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 12 13:43:04 PDT 2014


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


Andreas Kling <akling at apple.com> changed:

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




--- Comment #5 from Andreas Kling <akling at apple.com>  2014-08-12 13:43:12 PST ---
(From update of attachment 236463)
View in context: https://bugs.webkit.org/attachment.cgi?id=236463&action=review

r=me

> Source/WebCore/ChangeLog:11
> +        Do a simple reset of the style dirty bits and any computed style in non-renderer subtrees.

Typo, non-renderer -> non-rendered.

> Source/WebCore/style/StyleResolveTree.cpp:561
> +    for (auto& child : childrenOfType<Element>(current)) {

I suspect this could be more efficient with elementDescendants.

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