| Index: LayoutTests/svg/clip-path/deep-nested-clip-in-mask.svg
|
| diff --git a/LayoutTests/svg/clip-path/deep-nested-clip-in-mask.svg b/LayoutTests/svg/clip-path/deep-nested-clip-in-mask.svg
|
| index cb66ac78985d20d04071989fce69cf639c0d26c6..25f9ceb1b8bfdbb25344c04b69819639c9878120 100644
|
| --- a/LayoutTests/svg/clip-path/deep-nested-clip-in-mask.svg
|
| +++ b/LayoutTests/svg/clip-path/deep-nested-clip-in-mask.svg
|
| @@ -1,49 +1,49 @@
|
| -<svg xmlns="http://www.w3.org/2000/svg">
|
| -<defs>
|
| - <clipPath id="clip1" clipPathUnits="objectBoundingBox">
|
| - <circle cx="0" cy="0" r="0.5" />
|
| - <circle cx="0" cy="1" r="0.5" />
|
| - </clipPath>
|
| -
|
| - <clipPath id="clip2" clipPathUnits="objectBoundingBox">
|
| - <circle cx="1" cy="0" r="0.5" />
|
| - <circle cx="1" cy="1" r="0.5" />
|
| - </clipPath>
|
| -
|
| - <clipPath id="clip" clipPathUnits="objectBoundingBox">
|
| - <rect x="0" y="0" width="1" height="1" clip-path="url(#clip1)"/>
|
| - <rect x="0" y="0" width="1" height="1" clip-path="url(#clip2)"/>
|
| - </clipPath>
|
| -
|
| - <mask id="mask1a" x="0" y="0" width="1" height="1" maskContentUnits="objectBoundingBox">
|
| - <rect x="0" y="0" width="1" height="1" fill="white"/>
|
| - <rect x="0" y="0" width="1" height="1" fill="black" clip-path="url(#clip1)" />
|
| - </mask>
|
| -
|
| - <mask id="mask1b" x="0" y="0" width="1" height="1" maskContentUnits="objectBoundingBox">
|
| - <rect x="0" y="0" width="1" height="1" fill="white"/>
|
| - <rect x="0" y="0" width="1" height="1" fill="black" clip-path="url(#clip2)" />
|
| - </mask>
|
| -
|
| - <mask id="mask2" x="0" y="0" width="1" height="1" maskContentUnits="objectBoundingBox">
|
| - <rect x="0" y="0" width="1" height="1" fill="white" mask="url(#mask1a)"/>
|
| - </mask>
|
| -
|
| - <mask id="mask3" x="0" y="0" width="1" height="1" maskContentUnits="objectBoundingBox">
|
| - <rect x="0" y="0" width="1" height="1" fill="white" mask="url(#mask1b)"/>
|
| - </mask>
|
| -</defs>
|
| -
|
| -<text x="125" y="225" text-anchor="middle">Both shapes should look identical</text>
|
| -
|
| -<!-- The mask on the <g> causes nothing to be renderer with Opera, clearly a bug -->
|
| -<g mask="url(#mask1a)">
|
| - <circle cx="50" cy="50" r="50" fill="black" mask="url(#mask1b)"/>
|
| -</g>
|
| -
|
| -<!-- The mask on the <g> causes nothing to be renderer with Opera, clearly a bug -->
|
| -<g mask="url(#mask3)">
|
| - <circle cx="150" cy="150" r="50" fill="black" mask="url(#mask2)"/>
|
| -</g>
|
| -
|
| -</svg>
|
| +<svg xmlns="http://www.w3.org/2000/svg">
|
| +<defs>
|
| + <clipPath id="clip1" clipPathUnits="objectBoundingBox">
|
| + <circle cx="0" cy="0" r="0.5" />
|
| + <circle cx="0" cy="1" r="0.5" />
|
| + </clipPath>
|
| +
|
| + <clipPath id="clip2" clipPathUnits="objectBoundingBox">
|
| + <circle cx="1" cy="0" r="0.5" />
|
| + <circle cx="1" cy="1" r="0.5" />
|
| + </clipPath>
|
| +
|
| + <clipPath id="clip" clipPathUnits="objectBoundingBox">
|
| + <rect x="0" y="0" width="1" height="1" clip-path="url(#clip1)"/>
|
| + <rect x="0" y="0" width="1" height="1" clip-path="url(#clip2)"/>
|
| + </clipPath>
|
| +
|
| + <mask id="mask1a" x="0" y="0" width="1" height="1" maskContentUnits="objectBoundingBox">
|
| + <rect x="0" y="0" width="1" height="1" fill="white"/>
|
| + <rect x="0" y="0" width="1" height="1" fill="black" clip-path="url(#clip1)" />
|
| + </mask>
|
| +
|
| + <mask id="mask1b" x="0" y="0" width="1" height="1" maskContentUnits="objectBoundingBox">
|
| + <rect x="0" y="0" width="1" height="1" fill="white"/>
|
| + <rect x="0" y="0" width="1" height="1" fill="black" clip-path="url(#clip2)" />
|
| + </mask>
|
| +
|
| + <mask id="mask2" x="0" y="0" width="1" height="1" maskContentUnits="objectBoundingBox">
|
| + <rect x="0" y="0" width="1" height="1" fill="white" mask="url(#mask1a)"/>
|
| + </mask>
|
| +
|
| + <mask id="mask3" x="0" y="0" width="1" height="1" maskContentUnits="objectBoundingBox">
|
| + <rect x="0" y="0" width="1" height="1" fill="white" mask="url(#mask1b)"/>
|
| + </mask>
|
| +</defs>
|
| +
|
| +<text x="125" y="225" text-anchor="middle">Both shapes should look identical</text>
|
| +
|
| +<!-- The mask on the <g> causes nothing to be renderer with Opera, clearly a bug -->
|
| +<g mask="url(#mask1a)">
|
| + <circle cx="50" cy="50" r="50" fill="black" mask="url(#mask1b)"/>
|
| +</g>
|
| +
|
| +<!-- The mask on the <g> causes nothing to be renderer with Opera, clearly a bug -->
|
| +<g mask="url(#mask3)">
|
| + <circle cx="150" cy="150" r="50" fill="black" mask="url(#mask2)"/>
|
| +</g>
|
| +
|
| +</svg>
|
|
|