summaryrefslogtreecommitdiffstats
path: root/layout/reftests/scoped-style/scoped-style-018.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/scoped-style/scoped-style-018.html')
-rw-r--r--layout/reftests/scoped-style/scoped-style-018.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/reftests/scoped-style/scoped-style-018.html b/layout/reftests/scoped-style/scoped-style-018.html
new file mode 100644
index 000000000..f51d3b30c
--- /dev/null
+++ b/layout/reftests/scoped-style/scoped-style-018.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<body>
+ <div>
+ <div>
+ <p>This should be green.</p>
+ <style scoped>
+ p { color: green }
+ </style>
+ </div>
+ <style scoped>
+ p { color: red }
+ </style>
+ </div>
+</body>