blob: b8e6938db6c466a78af1e7462324862c885d3398 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<script>
function boom()
{
document.documentElement.offsetHeight;
var emptyTail = q.firstChild.splitText(2);
document.documentElement.offsetHeight;
emptyTail.splitText(0);
}
</script>
</head>
<body onload="boom();"><div style="width: 1px; height: 1px;"><div id="q" style="writing-mode: vertical-rl;">R</div></div></body>
</html>
|