gecko/layout/reftests/bugs/501257-1a.html

17 lines
262 B
HTML
Raw Normal View History

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