Changeset 107005 in webkit
- Timestamp:
- Feb 7, 2012 4:14:42 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r107000 r107005 1 2012-02-07 Levi Weintraub <leviw@chromium.org> 2 3 [SVG] Use element disappears after scripted change 4 https://bugs.webkit.org/show_bug.cgi?id=74392 5 6 Reviewed by Eric Seidel. 7 8 * platform/mac-snowleopard/svg/custom/use-disappears-after-style-update-expected.png: Added. 9 * platform/mac-snowleopard/svg/custom/use-disappears-after-style-update-expected.txt: Added. 10 * svg/custom/use-disappears-after-style-update.svg: Added. 11 1 12 2012-02-07 Levi Weintraub <leviw@chromium.org> 2 13 -
trunk/Source/WebCore/ChangeLog
r107004 r107005 1 2012-02-07 Levi Weintraub <leviw@chromium.org> 2 3 [SVG] Use element disappears after scripted change 4 https://bugs.webkit.org/show_bug.cgi?id=74392 5 6 Reviewed by Eric Seidel. 7 8 Solution uncovered by Nikolas Zimmermann. Removing an early return that caused 9 SVGUseElements to not update the shadow root's style, and therefor not render 10 correctly. 11 12 Test: svg/custom/use-disappears-after-style-update.svg 13 14 * svg/SVGUseElement.cpp: 15 (WebCore::SVGUseElement::didRecalcStyle): 16 1 17 2012-02-07 Kentaro Hara <haraken@chromium.org> 2 18 -
trunk/Source/WebCore/svg/SVGUseElement.cpp
r106769 r107005 359 359 return; 360 360 361 bool needsStyleUpdate = !m_needsShadowTreeRecreation;362 361 if (m_needsShadowTreeRecreation) { 363 362 shadowRoot->markShadowTreeForRecreation(); … … 366 365 367 366 shadowRoot->updateFromElement(); 368 369 if (!needsStyleUpdate)370 return;371 372 367 shadowRoot->updateStyle(change); 373 368 }
Note: See TracChangeset
for help on using the changeset viewer.