<!-- Quirks on purpose -->
<head>
<style>
body { color: green; }
.Foo { color: red; }
</style>
<body onload="document.body.className = 'abc bar'" class="fOo">
This should be green
</body>
</head>