Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!-- 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>