mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 07:05:24 +00:00
29 lines
482 B
HTML
29 lines
482 B
HTML
<!DOCTYPE HTML>
|
|
<html class="reftest-wait">
|
|
<head>
|
|
<style>
|
|
body {
|
|
display: -moz-box;
|
|
-moz-box-orient: horizontal;
|
|
width: 400px;
|
|
}
|
|
canvas {
|
|
-moz-box-flex: 1;
|
|
height: 100px;
|
|
opacity: 0.5;
|
|
border: 1px solid black;
|
|
}
|
|
</style>
|
|
<script>
|
|
function doTest() {
|
|
document.body.style.width = "500px";
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
window.addEventListener("MozReftestInvalidate", doTest, false);
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<canvas></canvas>
|
|
</body>
|
|
</html>
|