Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/svg/clip-path/nested-clip-path-as-use-element.html |
| diff --git a/third_party/WebKit/LayoutTests/svg/clip-path/nested-clip-path-as-use-element.html b/third_party/WebKit/LayoutTests/svg/clip-path/nested-clip-path-as-use-element.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e6a4d7b5b1d9990c7d39cc1428a09abc427a0e9c |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/svg/clip-path/nested-clip-path-as-use-element.html |
| @@ -0,0 +1,13 @@ |
| +<!DOCTYPE HTML> |
|
fs
2016/04/27 14:14:39
You should probably include "hidden" and/or "visib
hyunjunekim2
2016/04/29 12:59:09
Done. Changed file name.
|
| +<svg> |
| + <defs visibility="hidden"> |
|
fs
2016/04/27 14:14:39
To avoid all the visibility=... you could have two
hyunjunekim2
2016/04/29 12:59:09
Done.
|
| + <rect id="rect" x="0" y="0" width="100" height="100" visibility="visible"></rect> |
|
fs
2016/04/27 14:14:39
x="0" y="0" is the default, so drop.
hyunjunekim2
2016/04/29 12:59:09
Done.
|
| + <clipPath id="clipClip1"> |
| + <rect x="0" y="0" width="100" height="100" visibility="visible"/> |
|
fs
2016/04/27 14:14:39
Ditto.
hyunjunekim2
2016/04/29 12:59:09
Done.
|
| + </clipPath> |
| + <clipPath id="clip0" clip-path="url(#clipClip1)"> |
| + <use visibility="hidden" xlink:href="#rect"/> |
| + </clipPath> |
| + </defs> |
| + <rect y="0" x="0" height="100" width="100" fill="green" clip-path="url(#clip0)"/> |
|
fs
2016/04/27 14:14:39
Ditto.
Also, make this <rect> larger than the cli
hyunjunekim2
2016/04/29 12:59:09
Done.
|
| +</svg> |