diff options
Diffstat (limited to 'layout/reftests/scoped-style/scoped-style-024.html')
-rw-r--r-- | layout/reftests/scoped-style/scoped-style-024.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/layout/reftests/scoped-style/scoped-style-024.html b/layout/reftests/scoped-style/scoped-style-024.html new file mode 100644 index 000000000..c193958e6 --- /dev/null +++ b/layout/reftests/scoped-style/scoped-style-024.html @@ -0,0 +1,11 @@ +<!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> |