haikuwebkit/LayoutTests/svg/custom/painting-marker-07-f-inheri...

10 lines
627 B
Plaintext
Raw Permalink Normal View History

2011-05-18 Rob Buis <rbuis@rim.com> Reviewed by Nikolas Zimmermann. Marker test from ietestcenter fails https://bugs.webkit.org/show_bug.cgi?id=60721 Change <marker> renderer creation behaviour to always create the renderer. This fixes the problem that no marker is rendered when display=none is set on the <marker>. The specification states that display=none should have no influence on <marker> usage: "The ‘display’ property does not apply to the ‘marker’ element; thus, ..., and ‘marker’ elements are available for referencing even when the ‘display’ property on the ‘marker’ element or any of its ancestors is set to none." Tests: svg/W3C-SVG-1.1-SE/painting-marker-07-f.svg svg/custom/painting-marker-07-f-inherit.svg * svg/SVGMarkerElement.h: (WebCore::SVGMarkerElement::rendererIsNeeded): 2011-05-18 Rob Buis <rbuis@rim.com> Reviewed by Nikolas Zimmermann. Marker test from ietestcenter fails https://bugs.webkit.org/show_bug.cgi?id=60721 Test cases where display=none is set on <marker>, i.e. directly or through ancestor. * platform/mac/svg/W3C-SVG-1.1-SE/painting-marker-07-f-expected.png: Added. * platform/mac/svg/W3C-SVG-1.1-SE/painting-marker-07-f-expected.txt: Added. * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.txt: * platform/mac/svg/custom/painting-marker-07-f-inherit-expected.png: Added. * platform/mac/svg/custom/painting-marker-07-f-inherit-expected.txt: Added. * svg/W3C-SVG-1.1-SE/painting-marker-07-f.svg: Added. * svg/custom/painting-marker-07-f-inherit.svg: Added. Canonical link: https://commits.webkit.org/76435@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@86791 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-05-18 21:40:16 +00:00
layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
RenderSVGRoot {svg} at (0,0) size 100x100
RenderSVGHiddenContainer {defs} at (0,0) size 0x0
RenderSVGHiddenContainer {g} at (0,0) size 0x0
RenderSVGResourceMarker {marker} [id="testMarker"] [markerUnits=strokeWidth] [ref at (0,0)] [angle=0.00]
RenderSVGRect {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
2011-05-18 Rob Buis <rbuis@rim.com> Reviewed by Nikolas Zimmermann. Marker test from ietestcenter fails https://bugs.webkit.org/show_bug.cgi?id=60721 Change <marker> renderer creation behaviour to always create the renderer. This fixes the problem that no marker is rendered when display=none is set on the <marker>. The specification states that display=none should have no influence on <marker> usage: "The ‘display’ property does not apply to the ‘marker’ element; thus, ..., and ‘marker’ elements are available for referencing even when the ‘display’ property on the ‘marker’ element or any of its ancestors is set to none." Tests: svg/W3C-SVG-1.1-SE/painting-marker-07-f.svg svg/custom/painting-marker-07-f-inherit.svg * svg/SVGMarkerElement.h: (WebCore::SVGMarkerElement::rendererIsNeeded): 2011-05-18 Rob Buis <rbuis@rim.com> Reviewed by Nikolas Zimmermann. Marker test from ietestcenter fails https://bugs.webkit.org/show_bug.cgi?id=60721 Test cases where display=none is set on <marker>, i.e. directly or through ancestor. * platform/mac/svg/W3C-SVG-1.1-SE/painting-marker-07-f-expected.png: Added. * platform/mac/svg/W3C-SVG-1.1-SE/painting-marker-07-f-expected.txt: Added. * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.txt: * platform/mac/svg/custom/painting-marker-07-f-inherit-expected.png: Added. * platform/mac/svg/custom/painting-marker-07-f-inherit-expected.txt: Added. * svg/W3C-SVG-1.1-SE/painting-marker-07-f.svg: Added. * svg/custom/painting-marker-07-f-inherit.svg: Added. Canonical link: https://commits.webkit.org/76435@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@86791 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-05-18 21:40:16 +00:00
RenderSVGPath {path} at (0,0) size 100x100 [fill={[type=SOLID] [color=#000000]}] [end marker=testMarker] [data="M 10 10 L 0 0"]