4 https://bugzilla.mozilla.org/show_bug.cgi?id=886230
7 <title>Test for Bug
886230</title>
8 <meta http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8"/>
9 <script src=
"/tests/SimpleTest/SimpleTest.js"></script>
10 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css" />
11 <style type=
"text/css">
15 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=886230">Mozilla Bug
886230</a>
18 <mask id=
"m"><text id=
"t">x
</text></mask>
19 <rect width=
"600" height=
"400" mask=
"url(#m)"/>
22 <div id=
"content" style=
"display: none">
25 <script class=
"testbody" type=
"text/javascript">
26 async function runTest() {
27 var svgText = document.getElementById(
"t");
30 document.getElementById(
"display").style.width =
"700px";
31 svgText.firstChild.remove();
33 // Paint without flushing layout. If the test fails, we'll trigger
35 await SpecialPowers.snapshotWindowWithOptions(window, undefined, undefined, { DRAWWINDOW_DO_NOT_FLUSH: true });
41 window.addEventListener(
"load", runTest);
43 SimpleTest.waitForExplicitFinish();