summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-mediaqueries/scoped-mq-update-helper.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-mediaqueries/scoped-mq-update-helper.html')
-rw-r--r--layout/reftests/css-mediaqueries/scoped-mq-update-helper.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layout/reftests/css-mediaqueries/scoped-mq-update-helper.html b/layout/reftests/css-mediaqueries/scoped-mq-update-helper.html
new file mode 100644
index 000000000..f374a8f13
--- /dev/null
+++ b/layout/reftests/css-mediaqueries/scoped-mq-update-helper.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<body>
+<style>
+body { width: 100%; height: 100%; background-color: red; }
+</style>
+<style scoped>
+@media (max-width: 200px) {
+ body { background-color: green; }
+}
+</style>