Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/svg/clip-path/clip-path-visible-element-as-visible-shape-element.html |
| diff --git a/third_party/WebKit/LayoutTests/svg/clip-path/clip-path-visible-element-as-visible-shape-element.html b/third_party/WebKit/LayoutTests/svg/clip-path/clip-path-visible-element-as-visible-shape-element.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..814db4663dda741110414862534377c737daea37 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/svg/clip-path/clip-path-visible-element-as-visible-shape-element.html |
| @@ -0,0 +1,25 @@ |
| +<!DOCTYPE HTML> |
| +<script src=../../resources/run-after-layout-and-paint.js></script> |
| +<script> |
| +if (window.testRunner) |
| + testRunner.waitUntilDone(); |
| + |
| +window.onload = function () { |
| + runAfterLayoutAndPaint(function() { |
| + container.style.visibility = "hidden"; |
|
fs
2016/11/07 12:03:30
Does the problem still reproduce with style="visib
|
| + runAfterLayoutAndPaint(function() { |
| + container.style.visibility = "visible"; |
| + if (window.testRunner) |
| + testRunner.notifyDone(); |
| + }); |
| + }); |
| +} |
| +</script> |
| +<div id="container"> |
| + <svg> |
| + <clipPath id="clip"> |
| + <rect width="100" height="100"></rect> |
| + </clipPath> |
| + <rect width="400" height="400" fill="green" visibility="visible" clip-path="url(#clip)"></rect> |
| + </svg> |
| +</div> |