diff options
-rw-r--r-- | src/css/selparser.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/css/selparser.nim b/src/css/selparser.nim index 67f53b42..9a953c54 100644 --- a/src/css/selparser.nim +++ b/src/css/selparser.nim @@ -203,6 +203,8 @@ proc parseSelectorToken(state: var SelectorParser, csstoken: CSSToken) = of Rune('~'): if state.selectors[^1].len > 0 or state.combinator != nil: state.query = QUERY_SUBSEQ_SIBLING_COMBINATOR + of Rune('*'): + state.addSelector(Selector(t: UNIVERSAL_SELECTOR)) else: discard of CSS_HASH_TOKEN: state.addSelector(Selector(t: ID_SELECTOR, id: $csstoken.value)) |