Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- Manifest: layout/reftests/svg/reftest.list
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
-->
systemLanguage="en">
<title>Test that changing conditional processing attributes dynamically on outer 'svg' elements while redraw is suspended is honored</title>
<script>
function f() {
var svg = document.documentElement;
svg.suspendRedraw(10000);
setTimeout(function() {
svg.setAttribute("systemLanguage", "x");
svg.unsuspendRedrawAll();
setTimeout(function() {
svg.removeAttribute("class");
}, 1);
}, 1);
}
</script>
<rect width="100%" height="100%" fill="red"/>
</svg>