| Index: LayoutTests/svg/custom/viewport-clippath-invalidation.html
|
| diff --git a/LayoutTests/svg/custom/viewport-clippath-invalidation.html b/LayoutTests/svg/custom/viewport-clippath-invalidation.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6f126cf9873fc035e3f131bb01decd902cb5e614
|
| --- /dev/null
|
| +++ b/LayoutTests/svg/custom/viewport-clippath-invalidation.html
|
| @@ -0,0 +1,17 @@
|
| +<!DOCTYPE html>
|
| +<script src=../../resources/run-after-display.js></script>
|
| +<svg width="100" height="100">
|
| + <clipPath id="clip">
|
| + <rect width="50%" height="50%"/>
|
| + <text y="25%" font-size="1px">Sabotage!</text>
|
| + </clipPath>
|
| +
|
| + <rect width="50%" height="50%" fill="red"/>
|
| + <rect width="800" height="800" fill="green" clip-path="url(#clip)"/>
|
| +</svg>
|
| +<script>
|
| +runAfterDisplay(function() {
|
| + document.querySelector('svg').setAttribute('width', '200');
|
| + document.querySelector('svg').setAttribute('height', '200');
|
| +}, true);
|
| +</script>
|
|
|