blob: 234f0ecd4c8283650a27b633f69da42f5b06f4b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<html class="reftest-wait">
<head>
<style>
div::first-letter { color: red; font-size: 200%; background-color: blue; }
</style>
<script>
function boom() {
document.documentElement.offsetWidth;
var s = document.getElementById("s");
s.remove();
document.documentElement.offsetWidth;
document.documentElement.removeAttribute("class");
}
</script>
</head>
<body onload="boom();">
<div>
<span id="s" style="position: absolute;">abcdefh</span>T
</div>
</body>
|