Skip to content
  • leviw@chromium.org's avatar
    [SVG] Use element disappears after scripted change · c0c54ad1
    leviw@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=74392
    
    Reviewed by Eric Seidel.
    
    Source/WebCore:
    
    Solution uncovered by Nikolas Zimmermann. Removing an early return that caused
    SVGUseElements to not update the shadow root's style, and therefor not render
    correctly.
    
    Test: svg/custom/use-disappears-after-style-update.svg
    
    * svg/SVGUseElement.cpp:
    (WebCore::SVGUseElement::didRecalcStyle):
    
    LayoutTests:
    
    * platform/mac-snowleopard/svg/custom/use-disappears-after-style-update-expected.png: Added.
    * platform/mac-snowleopard/svg/custom/use-disappears-after-style-update-expected.txt: Added.
    * svg/custom/use-disappears-after-style-update.svg: Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107005 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    c0c54ad1