mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
18 lines
582 B
HTML
18 lines
582 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<style>
|
||
|
#x:after { content: " cd"; display: table-cell; }
|
||
|
</style>
|
||
|
<script>
|
||
|
function doTest() {
|
||
|
var f = document.getElementById("f");
|
||
|
f.parentNode.removeChild(f);
|
||
|
}
|
||
|
</script>
|
||
|
</head>
|
||
|
<body onload="doTest()">
|
||
|
<div style="font-family: monospace; width: 10em; white-space: pre-wrap"><span id="f" style="float: left; width: 80%; height: 0.5em"></span><span id="x">a <script>document.body.offsetWidth; dump('aa');</script> <span style="display: table-cell">b</span></span></div>
|
||
|
</body>
|
||
|
</html>
|