1
0
Fork 0
firefox/layout/reftests/cssom/inline-style-null.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

13 lines
508 B
HTML

<!DOCTYPE html>
<style>
div { color: green; }
div#reverse { color: red; }
</style>
<div id="null" style="color: red">This text should be green</div>
<div id="emptystring"style="color: red">This text should be green</div>
<div id="reverse" style="color: green">This text should be green</div>
<script>
document.getElementById("null").style.color = null;
document.getElementById("emptystring").style.color = "";
document.getElementById("reverse").style.color = "some invalid color string";
</script>