1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 12:05:08 +00:00
serenity/Userland/Libraries/LibWeb/CSS/Parser
Sam Atkins 59501f1940 LibWeb: Implement and use FontStyleValue
After working with the code for a while, it makes more sense to put all
the parsing in Parser, instead of some of it living in StyleResolver.
That means our current ValueListStyleValue needs to be replaced with
specific StyleValue types for the properties that are shorthands or
otherwise combine several values together.

Here we implement FontStyleProperty, which represents a `font` CSS
property.

Also adjusted the fonts.html test page so that font-weights are featured
in test cases without things we do not yet support.
2021-08-14 12:45:01 +02:00
..
DeclarationOrAtRule.h LibWeb: Add accessors to CSS::DeclarationOrAtRule 2021-07-11 23:19:56 +02:00
Parser.cpp LibWeb: Implement and use FontStyleValue 2021-08-14 12:45:01 +02:00
Parser.h LibWeb: Implement and use FontStyleValue 2021-08-14 12:45:01 +02:00
StyleBlockRule.h LibWeb: Give CSS Token and StyleComponentValueRule matching is() funcs 2021-07-11 23:19:56 +02:00
StyleComponentValueRule.h LibWeb: Increase clarity with CSS token debug logging 2021-07-11 23:19:56 +02:00
StyleDeclarationRule.h Everywhere: Use "the SerenityOS developers." in copyright headers 2021-04-29 00:59:26 +02:00
StyleFunctionRule.h LibWeb: Use Selectors instead of a String for :not() selectors 2021-07-14 13:31:00 +02:00
StyleRule.h LibWeb: Merge CSS Parser's QualifiedStyleRule and AtStyleRule 2021-07-11 23:19:56 +02:00
StyleRules.cpp LibWeb: Convert StyleFunctionRule.m_values to ComponentValues 2021-07-11 23:19:56 +02:00
Token.cpp LibWeb: Make CSS 'An+B' parsing spec-compliant 2021-07-31 00:18:11 +02:00
Token.h LibWeb: Make CSS 'An+B' parsing spec-compliant 2021-07-31 00:18:11 +02:00
Tokenizer.cpp LibWeb: Fix EOF handling in CSS Tokenizer peek_{twin,triplet}() 2021-08-04 19:04:12 +04:30
Tokenizer.h LibWeb: Correct escape handling in CSS Tokenizer 2021-07-11 23:19:56 +02:00