mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-05 03:54:35 +00:00
25 lines
458 B
HTML
25 lines
458 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<script>
|
|
|
|
function z()
|
|
{
|
|
var q = document.getElementById("q");
|
|
|
|
for (var r = 0; r < 100; ++r) {
|
|
// dump(r + "\n");
|
|
q.style.width = r + "px";
|
|
document.documentElement.offsetHeight;
|
|
}
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
<body onload="z();">
|
|
|
|
<div style="font-family: monospace;" id="q"><div id="w" style="word-spacing: 1px">AAA <span style="white-space: pre-line; font-weight: 500;">BB C
|
|
</span></div></div>
|
|
|
|
</body></html>
|