Changeset 109906 in webkit
- Timestamp:
- Mar 6, 2012 4:42:54 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r109905 r109906 1 2012-03-06 Roland Steiner <rolandsteiner@chromium.org> 2 3 r109563 caused perf regression 4 https://bugs.webkit.org/show_bug.cgi?id=80404 5 6 Add test for Element or ShadowRoot. 7 8 Reviewed by Antti Koivisto. 9 10 No new tests. (fix) 11 12 * css/CSSStyleSelector.cpp: 13 (WebCore::CSSStyleSelector::pushParentElement): 14 1 15 2012-03-06 Pavel Podivilov <podivilov@chromium.org> 2 16 -
trunk/Source/WebCore/css/CSSStyleSelector.cpp
r109785 r109906 552 552 void CSSStyleSelector::pushParentElement(Element* parent) 553 553 { 554 const ContainerNode* parentsParent = parent->parentOrHostNode(); 554 const ContainerNode* parentsParent = parent->parentOrHostElement(); 555 555 556 // We are not always invoked consistently. For example, script execution can cause us to enter 556 557 // style recalc in the middle of tree building. We may also be invoked from somewhere within the tree. … … 561 562 else 562 563 m_checker.pushParent(parent); 563 pushScope(parent, parentsParent); 564 565 // Note: We mustn't skip ShadowRoot nodes for the scope stack. 566 pushScope(parent, parent->parentOrHostNode()); 564 567 } 565 568
Note: See TracChangeset
for help on using the changeset viewer.