about summary refs log tree commit diff stats
path: root/test/layout
diff options
context:
space:
mode:
Diffstat (limited to 'test/layout')
-rw-r--r--test/layout/media-query.color.expected1
-rw-r--r--test/layout/media-query.html9
2 files changed, 10 insertions, 0 deletions
diff --git a/test/layout/media-query.color.expected b/test/layout/media-query.color.expected
new file mode 100644
index 00000000..edb263b3
--- /dev/null
+++ b/test/layout/media-query.color.expected
@@ -0,0 +1 @@
+red
diff --git a/test/layout/media-query.html b/test/layout/media-query.html
new file mode 100644
index 00000000..1d09e25f
--- /dev/null
+++ b/test/layout/media-query.html
@@ -0,0 +1,9 @@
+<style>
+@media (WiDtH >= 1px) and (HeiGhT < 10000px) {
+	#red { color: red }
+}
+@media (width >= 1px 2px) {
+	#red { color: blue }
+}
+</style>
+<div id=red>red</div>