mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-10-05 04:55:33 +00:00
23 lines
449 B
XML
23 lines
449 B
XML
<svg xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
|
onload="setTimeout(boom, 30);"
|
|
class="reftest-wait">
|
|
|
|
<html:script>
|
|
|
|
function boom()
|
|
{
|
|
try {
|
|
document.getElementById("defs").getBBox();
|
|
} catch(e) {
|
|
// getBBox is expected to throw, because defs is not displayed.
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
}
|
|
|
|
</html:script>
|
|
|
|
<defs id="defs" />
|
|
|
|
</svg>
|