Bug 539356 - Part 33 - Change test-overflow/single-value reftest to use MozReftestInvalidate. r=roc

This commit is contained in:
Matt Woodrow 2012-08-13 22:11:16 +12:00
parent 7f18c01d05
commit 383f47e35e
2 changed files with 4 additions and 2 deletions

View File

@ -58,9 +58,10 @@ function scrolldivs() {
}
document.documentElement.removeAttribute('class');
}
window.addEventListener("MozReftestInvalidate", scrolldivs, false);
</script>
</head>
<body onload="scrolldivs()">
<body>
<div class="ltr start p hidden">A long line that does not break (overflow:hidden)</div>
<div class="ltr start p auto">A long line that does not break (overflow:auto)</div>

View File

@ -51,9 +51,10 @@ function scrolldivs() {
}
document.documentElement.removeAttribute('class');
}
window.addEventListener("MozReftestInvalidate", scrolldivs, false);
</script>
</head>
<body onload="scrolldivs()">
<body>
<div class="ltr start p hidden">A long line that does not break (overflow:hidden)</div>
<div class="ltr start p auto">A long line that does not break (overflow:auto)</div>