mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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>
|