Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- Manifest: layout/reftests/bugs/reftest.list
<!DOCTYPE html>
<html>
<head>
<style>
.green { color: green; }
</style>
</head>
<body>
<div>
This should be green
</div>
<script>
document.body.firstElementChild.classList.add("green");
</script>
</body>
</html>