LibWeb/CSS: Parse the CSS <syntax> type into a tree

`<syntax>` is a limited subset of the "value definition syntax" used in
CSS specs. It's used for `@property`'s `syntax` descriptor, and for the
`type()` function in `attr()`.
This commit is contained in:
Sam Atkins 2025-07-10 12:59:44 +01:00 committed by Tim Ledbetter
commit ded2207762
Notes: github-actions[bot] 2025-07-16 13:49:11 +00:00
8 changed files with 684 additions and 0 deletions

View file

@ -146,6 +146,8 @@ set(SOURCES
CSS/Parser/RuleContext.cpp
CSS/Parser/RuleParsing.cpp
CSS/Parser/SelectorParsing.cpp
CSS/Parser/Syntax.cpp
CSS/Parser/SyntaxParsing.cpp
CSS/Parser/Token.cpp
CSS/Parser/Tokenizer.cpp
CSS/Parser/Types.cpp