gecko/layout/base/crashtests/372550-1.html

18 lines
284 B
HTML
Raw Normal View History

2007-12-15 16:53:30 -08:00
<!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>