mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-19 15:32:31 +00:00
Parsing this pattern from CSS tokens turns out to be slightly crazy, but thankfully well documented in the spec. The spec lists the cases in order of simple -> complicated, but this would cause problems in code, since `<n-dimension> <signed-.integer>` would never by reached, as `<n-dimension>` comes before. Instead, I have grouped them by their first token. Also renamed the NthChildPattern class to ANPlusBPattern, to match spec terminology. |
||
---|---|---|
.. | ||
Parser | ||
.gitignore | ||
ComputedValues.h | ||
CSSImportRule.cpp | ||
CSSImportRule.h | ||
CSSRule.cpp | ||
CSSRule.h | ||
CSSStyleDeclaration.cpp | ||
CSSStyleDeclaration.h | ||
CSSStyleDeclaration.idl | ||
CSSStyleRule.cpp | ||
CSSStyleRule.h | ||
CSSStyleSheet.cpp | ||
CSSStyleSheet.h | ||
CSSStyleSheet.idl | ||
Default.css | ||
Identifiers.json | ||
Length.cpp | ||
Length.h | ||
LengthBox.h | ||
Properties.json | ||
QuirksMode.css | ||
Screen.cpp | ||
Screen.h | ||
Screen.idl | ||
Selector.cpp | ||
Selector.h | ||
SelectorEngine.cpp | ||
SelectorEngine.h | ||
StyleInvalidator.cpp | ||
StyleInvalidator.h | ||
StyleProperties.cpp | ||
StyleProperties.h | ||
StyleResolver.cpp | ||
StyleResolver.h | ||
StyleSheet.cpp | ||
StyleSheet.h | ||
StyleSheet.idl | ||
StyleSheetList.cpp | ||
StyleSheetList.h | ||
StyleSheetList.idl | ||
StyleValue.cpp | ||
StyleValue.h |