Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/svg/clip-path/invisible-clip-path-as-use-element.html |
| diff --git a/third_party/WebKit/LayoutTests/svg/clip-path/invisible-clip-path-as-use-element.html b/third_party/WebKit/LayoutTests/svg/clip-path/invisible-clip-path-as-use-element.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..0c21cdcb3b1a39c1080fa64a16e6adddd53f7d10 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/svg/clip-path/invisible-clip-path-as-use-element.html |
| @@ -0,0 +1,10 @@ |
| +<!DOCTYPE HTML> |
| +<svg> |
| + <defs visibility="hidden"> |
|
fs
2016/04/27 14:14:39
I think it'd be more obvious to just specify this
hyunjunekim2
2016/04/29 12:59:09
Done.
|
| + <rect id="rect" x="0" y="0" width="400" height="300" visibility="visible"></rect> |
|
fs
2016/04/27 14:14:39
Drop x=0 and y=0.
hyunjunekim2
2016/04/29 12:59:09
Done.
|
| + <clipPath id="clip"> |
| + <use xlink:href="#rect"/> |
| + </clipPath> |
| + </defs> |
| + <rect x="0" y="0" width="100" height="100" fill="green" visibility="visible" clip-path="url(#clip)"></rect> |
|
fs
2016/04/27 14:14:39
No need for the 'visibility' here. Also, drop x=0
hyunjunekim2
2016/04/29 12:59:09
Done.
|
| +</svg> |