aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/layout/id-selector-hash-token-type-flag.color.expected3
-rw-r--r--test/layout/id-selector-hash-token-type-flag.html9
2 files changed, 12 insertions, 0 deletions
diff --git a/test/layout/id-selector-hash-token-type-flag.color.expected b/test/layout/id-selector-hash-token-type-flag.color.expected
new file mode 100644
index 00000000..c2feb85e
--- /dev/null
+++ b/test/layout/id-selector-hash-token-type-flag.color.expected
@@ -0,0 +1,3 @@
+test
+test
+test
diff --git a/test/layout/id-selector-hash-token-type-flag.html b/test/layout/id-selector-hash-token-type-flag.html
new file mode 100644
index 00000000..55ba1568
--- /dev/null
+++ b/test/layout/id-selector-hash-token-type-flag.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<style>
+#99 { color: red } /* wrong */
+#-- { color: blue } /* valid */
+#- { color: green } /* wrong */
+</style>
+<div id=99>test</div>
+<div id=-->test</div>
+<div id=->test</div>