gecko-dev/layout/reftests/bugs/645491-1.html

13 строки
270 B
HTML

<!-- This test needs to be in quirks mode -->
<html>
<head>
<style>
body { color: red; }
body#foo { color: green; }
</style>
</head>
<body onload="document.body.offsetWidth; document.body.id = 'FOO'">
This should be green
</body>
</html>