diff options
Diffstat (limited to 'layout/reftests/bugs/1380224-1.html')
-rw-r--r-- | layout/reftests/bugs/1380224-1.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1380224-1.html b/layout/reftests/bugs/1380224-1.html new file mode 100644 index 0000000000..3257137906 --- /dev/null +++ b/layout/reftests/bugs/1380224-1.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<style> +p { color: var(--color); } +</style> +<body style="--color: red" onload="run()"> +<p>This text should be green.</p> +<script> +function run() { + document.body.style.setProperty("--color", "green"); +} +</script> |