| Index: third_party/WebKit/LayoutTests/svg/text/selection-style-within-mask-crash.html
|
| diff --git a/third_party/WebKit/LayoutTests/svg/text/selection-style-within-mask-crash.html b/third_party/WebKit/LayoutTests/svg/text/selection-style-within-mask-crash.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b4ef3214f04581898db9876d132084370b46346d
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/svg/text/selection-style-within-mask-crash.html
|
| @@ -0,0 +1,21 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| +text::selection { color: blue; }
|
| +</style>
|
| +<script>
|
| +if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| +
|
| +window.onload = function () {
|
| + var range = document.createRange();
|
| + range.setEnd(id1, id1.childNodes.length);
|
| + document.getSelection().addRange(range);
|
| + document.getElementById("masktext").setAttribute("display", "inherit");
|
| +};
|
| +</script>
|
| +<svg>
|
| + <mask id="m1">
|
| + <text id="masktext" y="100" fill="white" font-size="100">PASS</text>
|
| + </mask>
|
| + <rect width="100%" height="100" id="id1" mask="url(#m1)"/>
|
| +</svg>
|
|
|