mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-09 20:54:40 +00:00
18 lines
284 B
HTML
18 lines
284 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
div#x::first-letter { color: blue; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="x">x</div>
|
|
<script>
|
|
document.body.offsetWidth;
|
|
var div = document.getElementById("x");
|
|
div.id = "y";
|
|
div.removeChild(div.firstChild);
|
|
</script>
|
|
</body>
|
|
</html>
|