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
Block.h
ComponentValue.cpp
ComponentValue.h LibWeb: Introduce and use ComponentValue::is_delim() helper 2023-06-09 20:37:51 +02:00
Declaration.cpp
Declaration.h
DeclarationOrAtRule.cpp
DeclarationOrAtRule.h
Function.cpp
Function.h
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
Rule.h
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