mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
32 lines
403 B
HTML
32 lines
403 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
|
|
<style>
|
|
|
|
body {
|
|
width: 5em;
|
|
font-family: monospace;
|
|
border: 1px solid yellow;
|
|
}
|
|
|
|
body:first-letter {
|
|
color: blue;
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<span><span><span id="sss">Aaa </span></span>Bbbbbbbbbbbbbb<span></span></span>
|
|
|
|
<script>
|
|
document.body.offsetWidth;
|
|
sss = document.getElementById("sss");
|
|
sss.parentNode.removeChild(sss);
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|