path: root/util
diff options
authorAllan Sandfeld Jensen <>2016-07-27 18:04:21 +0200
committerAllan Sandfeld Jensen <>2016-07-27 20:18:02 +0000
commit997fa05d90e9e1bc02615044fd4f042cb212be65 (patch)
tree8ac2f6d732cc484788897c82b573d5c31de432a2 /util
parentf2922c80a41c5358f49dabe2325356c51fd787be (diff)
Handle indirect sibling selector
Adds parsing and handling of the indirect sibling selector, this should mean we can at least parse all CSS3 selectors even if we do not yet support all of them. Also adds tests for previously added CSS3 selectors. Change-Id: I1ce9afb9466044a38bdec167affc21a87837e4a4 Reviewed-by: Simon Hausmann <>
Diffstat (limited to 'util')
-rw-r--r--util/lexgen/css3-simplified.lexgen (renamed from util/lexgen/css2-simplified.lexgen)1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/lexgen/css2-simplified.lexgen b/util/lexgen/css3-simplified.lexgen
index 01052a1615..99463d524e 100644
--- a/util/lexgen/css2-simplified.lexgen
+++ b/util/lexgen/css3-simplified.lexgen
@@ -44,6 +44,7 @@ LBRACE = {w}"{"
PLUS = {w}"+"
GREATER = {w}">"
COMMA = {w}","
+TILDE= {w}"~"
STRING = {string}
INVALID = {invalid}