| Index: third_party/WebKit/LayoutTests/svg/custom/shape-rendering.svg
|
| diff --git a/third_party/WebKit/LayoutTests/svg/custom/shape-rendering.svg b/third_party/WebKit/LayoutTests/svg/custom/shape-rendering.svg
|
| index 35c8cb890ce9a102ee9d3e02b057f9a3fe8c708f..db24b34d6f6b7ec9c8bc066d16ea4a100263f664 100644
|
| --- a/third_party/WebKit/LayoutTests/svg/custom/shape-rendering.svg
|
| +++ b/third_party/WebKit/LayoutTests/svg/custom/shape-rendering.svg
|
| @@ -1,10 +1,41 @@
|
| <svg xmlns="http://www.w3.org/2000/svg">
|
| - <rect transform="translate(50, 30) rotate(35, 50, 50)" fill="green" width="100" height="100"/>
|
| - <rect transform="translate(200, 30) rotate(35, 50, 50)" fill="green" width="100" height="100" shape-rendering="crispEdges"/>
|
| + <g transform="translate(50, 30)">
|
| + <g transform="rotate(35, 50, 50)">
|
| + <rect fill="green" width="100" height="100"/>
|
| + <path d="M0 107 L100 107" stroke-width="1px" stroke="black"/>
|
| + <path d="M0 115 L100 115" stroke-width="2px" stroke="black"/>
|
| + <path d="M107 0 Q118 25 107 50 T107 100Z" fill="black" />
|
| + </g>
|
| + <text x="0" y="150" font-size="16px">auto</text>
|
| + </g>
|
|
|
| - <g>
|
| - <text y="180">The rectangle on the left should be anti-aliased.</text>
|
| - <text y="200">The rectangle on the right should not be anti-aliased, as it has the property shape-rendering="crispEdges". Bug 16182.</text>
|
| + <g transform="translate(200, 30)" shape-rendering="crispEdges">
|
| + <g transform="rotate(35, 50, 50)">
|
| + <rect fill="green" width="100" height="100"/>
|
| + <path d="M0 107 L100 107" stroke-width="1px" stroke="black"/>
|
| + <path d="M0 115 L100 115" stroke-width="2px" stroke="black"/>
|
| + <path d="M107 0 Q118 25 107 50 T107 100Z" fill="black" />
|
| + </g>
|
| + <text x="0" y="150" font-size="16px">crispEdges</text>
|
| + </g>
|
| +
|
| + <g transform="translate(350, 30)" shape-rendering="optimizeSpeed">
|
| + <g transform="rotate(35, 50, 50)">
|
| + <rect fill="green" width="100" height="100"/>
|
| + <path d="M0 107 L100 107" stroke-width="1px" stroke="black"/>
|
| + <path d="M0 115 L100 115" stroke-width="2px" stroke="black"/>
|
| + <path d="M107 0 Q118 25 107 50 T107 100Z" fill="black" />
|
| + </g>
|
| + <text x="0" y="150" font-size="16px">optimizeSpeed</text>
|
| </g>
|
| -</svg>
|
|
|
| + <g transform="translate(500, 30)" shape-rendering="geometricPrecision">
|
| + <g transform="rotate(35, 50, 50)">
|
| + <rect fill="green" width="100" height="100"/>
|
| + <path d="M0 107 L100 107" stroke-width="1px" stroke="black"/>
|
| + <path d="M0 115 L100 115" stroke-width="2px" stroke="black"/>
|
| + <path d="M107 0 Q118 25 107 50 T107 100Z" fill="black" />
|
| + </g>
|
| + <text x="0" y="150" font-size="16px">geometricPrecision</text>
|
| + </g>
|
| +</svg>
|
|
|