summaryrefslogtreecommitdiffstats
path: root/layout/reftests/scoped-style/scoped-style-document.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/scoped-style/scoped-style-document.html')
-rw-r--r--layout/reftests/scoped-style/scoped-style-document.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/layout/reftests/scoped-style/scoped-style-document.html b/layout/reftests/scoped-style/scoped-style-document.html
new file mode 100644
index 000000000..cb02becd6
--- /dev/null
+++ b/layout/reftests/scoped-style/scoped-style-document.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<body>
+ <p>First</p>
+ <p>
+ <style scoped>
+ @-moz-document regexp("^.*scoped-style-document\\.html$") {
+ p { color: blue }
+ }
+ </style>
+ Second
+ </p>
+ <p>Third</p>
+</body>