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

18 lines
321 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<style>
body > div { color: green; }
.toremove { color: red; }
</style>
</head>
<body>
<div class="toremove">
This should be green
</div>
<script>
document.body.firstElementChild.classList.remove("toremove");
</script>
</body>
</html>