Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- Manifest: layout/reftests/svg/text/reftest.list
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
-->
<html class="reftest-wait">
<iframe style="width: 400px; height: 400px; border: 0" src="multiple-x-percentages-3-iframe.svg"></iframe>
<script>
var iframe = document.querySelector("iframe");
function doTest() {
window.removeEventListener("MozReftestInvalidate", doTest);
iframe.style.width = "200px";
iframe.style.height = "200px";
var text = iframe.contentDocument.querySelectorAll("text");
text[0].firstChild.nodeValue += "!";
text[1].firstChild.nodeValue += "!";
document.documentElement.removeAttribute("class");
}
window.addEventListener("MozReftestInvalidate", doTest);
</script>