haikuwebkit/LayoutTests/svg/custom/inline-style-overrides-clip...

4 lines
145 B
XML
Raw Permalink Normal View History

SVG inline style of 'marker-*' does not override https://bugs.webkit.org/show_bug.cgi?id=84824 Source/WebCore: Reviewed by Nikolas Zimmermann. Properly handle CSSValueNone for clip-path, filter, mask and marker-* properties. Instead of bailing out, set the none value explicitly, since an earlier match may have set it to something other than none. Tests: svg/custom/inline-style-overrides-clipPath-expected.svg svg/custom/inline-style-overrides-clipPath.svg svg/custom/inline-style-overrides-filter-expected.svg svg/custom/inline-style-overrides-filter.svg svg/custom/inline-style-overrides-markers-expected.svg svg/custom/inline-style-overrides-markers.svg svg/custom/inline-style-overrides-mask-expected.svg svg/custom/inline-style-overrides-mask.svg * css/SVGCSSStyleSelector.cpp: (WebCore::StyleResolver::applySVGProperty): LayoutTests: Add tests for clip-path, filter, mask and marker-* properties. Reviewed by Nikolas Zimmermann. * svg/custom/inline-style-overrides-clipPath-expected.svg: Added. * svg/custom/inline-style-overrides-clipPath.svg: Added. * svg/custom/inline-style-overrides-filter-expected.svg: Added. * svg/custom/inline-style-overrides-filter.svg: Added. * svg/custom/inline-style-overrides-markers-expected.svg: Added. * svg/custom/inline-style-overrides-markers.svg: Added. * svg/custom/inline-style-overrides-mask-expected.svg: Added. * svg/custom/inline-style-overrides-mask.svg: Added. Canonical link: https://commits.webkit.org/102569@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@115432 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-04-27 15:05:21 +00:00
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<rect width="100" height="100" style="fill:green"/>
</svg>