ladybird/Userland/Libraries/LibWeb/CSS/Parser
Sam Atkins b69f6097de LibWeb: Resolve type of calc() expressions at parse-time
See https://www.w3.org/TR/css-values-3/#calc-type-checking

If the sub-expressions' types are incompatible, we discard the calc() as
invalid.

Had to do some minor rearranging/renaming of the Calc structs to make
the `resolve_foo_type()` templates work too.
2022-02-04 13:52:02 +01:00
..
DeclarationOrAtRule.h LibWeb: Add accessors to CSS::DeclarationOrAtRule 2021-07-11 23:19:56 +02:00
Parser.cpp LibWeb: Resolve type of calc() expressions at parse-time 2022-02-04 13:52:02 +01:00
Parser.h LibWeb: Resolve type of calc() expressions at parse-time 2022-02-04 13:52:02 +01:00
StyleBlockRule.h LibWeb: Make StyleBlockRule more accessible to outsiders 2021-12-09 21:30:31 +01:00
StyleComponentValueRule.h LibWeb: Implement StyleComponentValueRule::to_string() 2021-11-24 22:57:46 +01:00
StyleDeclarationRule.h Everywhere: Use "the SerenityOS developers." in copyright headers 2021-04-29 00:59:26 +02:00
StyleFunctionRule.h LibWeb: Parse and resolve UnresolvedStyleValues 2021-12-09 21:30:31 +01:00
StyleRule.h Everywhere: Use my shiny new serenityos.org email :^) 2021-09-03 12:22:36 +02:00
StyleRules.cpp LibWeb: Parse and resolve UnresolvedStyleValues 2021-12-09 21:30:31 +01:00
Token.cpp LibWeb: Implement CSS::Token::to_string() 2021-11-24 22:57:46 +01:00
Token.h LibWeb: Implement CSS::Token::to_string() 2021-11-24 22:57:46 +01:00
Tokenizer.cpp LibWeb: Don't verify that a dimension unit isn't whitespace 2022-02-02 18:29:05 +01:00
Tokenizer.h LibWeb: Pass correct values to would_start_an_identifier() 2021-12-27 22:56:08 +01:00