summaryrefslogtreecommitdiffstats
path: root/layout/reftests/scoped-style/scoped-style-pseudo-002.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/scoped-style/scoped-style-pseudo-002.html')
-rw-r--r--layout/reftests/scoped-style/scoped-style-pseudo-002.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/layout/reftests/scoped-style/scoped-style-pseudo-002.html b/layout/reftests/scoped-style/scoped-style-pseudo-002.html
new file mode 100644
index 000000000..409d792ce
--- /dev/null
+++ b/layout/reftests/scoped-style/scoped-style-pseudo-002.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<body>
+ <p>First</p>
+ <p>
+ <style scoped>
+ :scope { color: green }
+ </style>
+ <div>
+ <style scoped>
+ :scope { border: 2px solid black }
+ </style>
+ Second
+ </div>
+ </p>
+ <p>Third</p>
+</body>