mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 09:05:45 +00:00
22 lines
521 B
HTML
22 lines
521 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<head>
|
|
<style id="s">
|
|
span { display: table-cell ! important }
|
|
</style>
|
|
<script>
|
|
function doTest() {
|
|
var s = document.getElementById("s");
|
|
s.disabled = true;
|
|
document.body.offsetWidth;
|
|
s.disabled = false;
|
|
document.documentElement.className = "";
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="doTest()">
|
|
<span style="display: block">a b</span>
|
|
<span style="display: block">c d</span>
|
|
</body>
|
|
</html>
|