Changeset 84729 in webkit
- Timestamp:
- Apr 22, 2011 8:09:13 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r84728 r84729 1 2011-04-22 Dimitri Glazkov <dglazkov@chromium.org> 2 3 Reviewed by Kent Tamura. 4 5 Change SVG-related shadow root checks to use isSVGShadowRoot. 6 https://bugs.webkit.org/show_bug.cgi?id=59237 7 8 Covered by existing tests, no behavior change. 9 10 * css/CSSStyleSelector.cpp: 11 (WebCore::CSSStyleSelector::SelectorChecker::checkSelector): Use isSVGShadowRoot. 12 * svg/SVGUseElement.cpp: 13 (WebCore::ShadowTreeUpdateBlocker::while): Ditto. 14 * svg/animation/SVGSMILElement.cpp: 15 (WebCore::SVGSMILElement::insertedIntoDocument): Ditto. 16 1 17 2011-04-22 Geoffrey Garen <ggaren@apple.com> 2 18 -
trunk/Source/WebCore/css/CSSStyleSelector.cpp
r84706 r84729 2231 2231 // Spec: CSS2 selectors cannot be applied to the (conceptually) cloned DOM tree 2232 2232 // because its contents are not part of the formal document structure. 2233 if (e->isSVG Element() && e->isShadowRoot())2233 if (e->isSVGShadowRoot()) 2234 2234 return SelectorFailsCompletely; 2235 2235 #endif -
trunk/Source/WebCore/svg/SVGUseElement.cpp
r84090 r84729 516 516 ContainerNode* parent = parentNode(); 517 517 while (parent) { 518 if (parent->isS hadowRoot())518 if (parent->isSVGShadowRoot()) 519 519 return; 520 520 -
trunk/Source/WebCore/svg/animation/SVGSMILElement.cpp
r79569 r84729 172 172 // Verify we are not in <use> instance tree. 173 173 for (ContainerNode* n = this; n; n = n->parentNode()) 174 ASSERT(!n->isS hadowRoot());174 ASSERT(!n->isSVGShadowRoot()); 175 175 #endif 176 176 m_attributeName = constructQualifiedName(this, getAttribute(SVGNames::attributeNameAttr));
Note: See TracChangeset
for help on using the changeset viewer.