[Webkit-unassigned] [Bug 128877] Move document life time management from TreeScope to Document

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 15 19:51:08 PST 2014


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





--- Comment #2 from Ryosuke Niwa <rniwa at webkit.org>  2014-02-15 19:48:21 PST ---
(From update of attachment 224311)
View in context: https://bugs.webkit.org/attachment.cgi?id=224311&action=review

> Source/WebCore/css/ElementRuleCollector.cpp:158
> -    if (!MatchingUARulesScope::isMatchingUARules()
> -        && !m_element.treeScope().applyAuthorStyles())
> +    // Only match UA rules in shadow tree.
> +    if (!MatchingUARulesScope::isMatchingUARules() && m_element.treeScope().rootNode()->isShadowRoot())

It seems like we can put this in a separate patch.

> Source/WebCore/dom/TreeScope.cpp:-54
> -    int ints[1];

Don't we still have m_resetStyleInheritance and m_type as flags here?

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