Bug 778695 - fix 328829-2.xhtml intermittent orange by using reftest-wait; r=dholbert

This commit is contained in:
Nathan Froyd 2012-10-27 12:35:24 -04:00
parent 96ec016078
commit 78e4da7d64

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" xml:lang="en"
<html lang="en" xml:lang="en" class="reftest-wait"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:svg="http://www.w3.org/2000/svg">
<head>
@ -13,12 +13,14 @@
<script type="application/javascript">
function run() {
setTimeout("document.getElementById('fonted').style.fontSize = '24px'", 0);
document.getElementById('fonted').style.fontSize = '24px';
document.documentElement.removeAttribute('class');
}
document.addEventListener("MozReftestInvalidate", run, false);
</script>
</head>
<body onload="run()" id="fonted" style="font-size: 12px">
<body id="fonted" style="font-size: 12px">
<svg:svg width="100%" height="100%">
<svg:g>