Changeset 86978 in webkit
- Timestamp:
- May 20, 2011 12:53:13 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r86977 r86978 1 2011-05-20 Rob Buis <rbuis@rim.com> 2 3 Reviewed by Dirk Schulze. 4 5 Use test from ietestcenter fails 6 https://bugs.webkit.org/show_bug.cgi?id=60844 7 8 * platform/mac/svg/W3C-SVG-1.1-SE/struct-use-14-f-expected.png: Added. 9 * platform/mac/svg/W3C-SVG-1.1-SE/struct-use-14-f-expected.txt: Added. 10 * svg/W3C-SVG-1.1-SE/struct-use-14-f.svg: Added. 11 1 12 2011-05-20 Simon Fraser <simon.fraser@apple.com> 2 13 -
trunk/Source/WebCore/ChangeLog
r86976 r86978 1 2011-05-20 Rob Buis <rbuis@rim.com> 2 3 Reviewed by Dirk Schulze. 4 5 Use test from ietestcenter fails 6 https://bugs.webkit.org/show_bug.cgi?id=60844 7 8 When an id changes on an in-document element, we need to check whether the id 9 is part of the pending elements. Since this is the same thing as happens in 10 insertedIntoDocument, split out the common code into buildPendingResourcesIfNeeded. 11 12 Test: svg/W3C-SVG-1.1-SE/struct-use-14-f.svg 13 14 * svg/SVGStyledElement.cpp: 15 (WebCore::SVGStyledElement::svgAttributeChanged): 16 (WebCore::SVGStyledElement::insertedIntoDocument): 17 (WebCore::SVGStyledElement::buildPendingResourcesIfNeeded): 18 * svg/SVGStyledElement.h: 19 1 20 2011-05-20 Abhishek Arya <inferno@chromium.org> 2 21 -
trunk/Source/WebCore/svg/SVGStyledElement.cpp
r86365 r86978 337 337 if (object && object->isSVGResourceContainer()) 338 338 object->toRenderSVGResourceContainer()->idChanged(); 339 if (inDocument()) 340 buildPendingResourcesIfNeeded(); 339 341 } 340 342 … … 363 365 SVGElement::insertedIntoDocument(); 364 366 updateRelativeLengthsInformation(); 365 367 buildPendingResourcesIfNeeded(); 368 } 369 370 void SVGStyledElement::buildPendingResourcesIfNeeded() const 371 { 366 372 Document* document = this->document(); 367 373 if (!needsPendingResourceHandling() || !document) -
trunk/Source/WebCore/svg/SVGStyledElement.h
r86365 r86978 88 88 virtual bool isStyled() const { return true; } 89 89 90 void buildPendingResourcesIfNeeded() const; 91 90 92 HashSet<SVGStyledElement*> m_elementsWithRelativeLengths; 91 93
Note: See TracChangeset
for help on using the changeset viewer.