aboutsummaryrefslogtreecommitdiffstats
path: root/test/layout
diff options
context:
space:
mode:
Diffstat (limited to 'test/layout')
-rw-r--r--test/layout/selector-case-insensitive.color.expected6
-rw-r--r--test/layout/selector-case-insensitive.html15
2 files changed, 21 insertions, 0 deletions
diff --git a/test/layout/selector-case-insensitive.color.expected b/test/layout/selector-case-insensitive.color.expected
new file mode 100644
index 00000000..c4cdc3d2
--- /dev/null
+++ b/test/layout/selector-case-insensitive.color.expected
@@ -0,0 +1,6 @@
+id html upper, css lower
+class html upper, css lower
+id html lower, css upper
+class html lower, css upper
+attr html upper, css lower
+attr html lower, css upper
diff --git a/test/layout/selector-case-insensitive.html b/test/layout/selector-case-insensitive.html
new file mode 100644
index 00000000..8cfbad1e
--- /dev/null
+++ b/test/layout/selector-case-insensitive.html
@@ -0,0 +1,15 @@
+<style>
+div { color: red }
+#test1 { color: green }
+.test2 { color: green }
+#TEST3 { color: green }
+.TEST4 { color: green }
+[test5] { color: green }
+[TEST6] { color: green }
+</style>
+<div id=TEST1>id html upper, css lower</div>
+<div class=TEST2>class html upper, css lower</div>
+<div id=test3>id html lower, css upper</div>
+<div class=test4>class html lower, css upper</div>
+<div TEST5>attr html upper, css lower</div>
+<div test6>attr html lower, css upper</div>