ladybird/Userland/Libraries/LibWeb/CSS/Parser
Andreas Kling 5955a504e0 LibWeb: Allow font-family names to start with -
We achieve this by making properties that accept a custom-ident value
skip the "someone else's vendor prefix" check for values that start with
a `-` character.

This fixes an issue where e.g `font-family: Arial, -apple-system` would
be rejected by the parser completely. We now treat `-apple-system` like
an identifier in such cases.

Also add `valid-types` metadata for the `font-family` property so this
actually works. :^)
2023-07-06 14:30:06 +02:00
..
Block.cpp LibWeb: Port CSS::Parser::Block to new Strings 2023-02-15 12:48:26 -05:00
Block.h LibWeb: Port CSS::Parser::Block to new Strings 2023-02-15 12:48:26 -05:00
ComponentValue.cpp LibWeb: Port CSS::Parser::ComponentValue to new Strings 2023-02-15 12:48:26 -05:00
ComponentValue.h LibWeb: Introduce and use ComponentValue::is_delim() helper 2023-06-09 20:37:51 +02:00
Declaration.cpp LibWeb: Port CSS/Serialize.{h,cpp} to new Strings, and propagate errors 2023-02-15 12:48:26 -05:00
Declaration.h LibWeb: Port CSS::Parser::Declaration to new Strings 2023-02-15 12:48:26 -05:00
DeclarationOrAtRule.cpp LibWeb: Port CSS::Parser::Rule to new Strings 2023-02-15 12:48:26 -05:00
DeclarationOrAtRule.h LibWeb: Port CSS::Parser::Rule to new Strings 2023-02-15 12:48:26 -05:00
Function.cpp LibWeb: Port CSS/Serialize.{h,cpp} to new Strings, and propagate errors 2023-02-15 12:48:26 -05:00
Function.h LibWeb: Port CSS::Parser::Function to new Strings 2023-02-15 12:48:26 -05:00
Parser.cpp LibWeb: Allow font-family names to start with - 2023-07-06 14:30:06 +02:00
Parser.h LibWeb: Implement CSS rem() 2023-06-17 12:13:28 +01:00
Rule.cpp LibWeb: Port CSS::Parser::Rule to new Strings 2023-02-15 12:48:26 -05:00
Rule.h LibWeb: Port CSS::Parser::Rule to new Strings 2023-02-15 12:48:26 -05:00
Token.cpp Everywhere: Use _{short_,}string to create Strings from literals 2023-02-25 20:51:49 +01:00
Token.h LibWeb: Store the original representation of CSS tokens 2023-03-22 19:45:40 +01:00
Tokenizer.cpp LibWeb: Store the original representation of CSS tokens 2023-03-22 19:45:40 +01:00
Tokenizer.h LibWeb: Store the original representation of CSS tokens 2023-03-22 19:45:40 +01:00
TokenStream.h LibWeb: Add preliminary support for CSS animations 2023-05-29 05:35:41 +02:00