mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
26 lines
433 B
HTML
26 lines
433 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<style>
|
|
|
|
body { white-space: pre-wrap; width: 1ch; font-family: monospace }
|
|
body:first-line { }
|
|
|
|
</style>
|
|
|
|
<script>
|
|
|
|
function boom()
|
|
{
|
|
document.body.textContent = "\n\u202AX ";
|
|
document.documentElement.offsetHeight;
|
|
document.body.appendChild(document.createTextNode("Y"));
|
|
document.documentElement.offsetHeight;
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
<body onload="boom();"></body>
|
|
</html>
|