gecko/layout/reftests/scoped-style/scoped-style-024.html

12 lines
228 B
HTML

<!DOCTYPE html>
<body>
<style scoped>
p[data-test] { color: green; }
</style>
<p>Hello.</p>
<script>
document.body.offsetHeight;
document.querySelector("p").setAttribute("data-test", "");
</script>
</body>