ladybird/Userland/Libraries/LibWeb/CSS/Parser
Sam Atkins 988a8ed3d8 LibWeb: Parse CSS background-position property
This is done a bit differently from other properties: using a
TokenStream instead of just a Vector of ComponentValues. The reason for
this is, we can then use call the same function when parsing the
`background` shorthand. Otherwise, we would have to know in advance how
many values to pass down, which basically would involve duplicating the
`background-position` parsing code inside `background`.

The StyleValue is PositionStyleValue, since it represents a
`<position>`: https://www.w3.org/TR/css-values-4/#typedef-position
Unfortunately, background-position's parsing is a bit different from
`<position>`'s, (background-position allows 3-value syntax and
`<position>` doesn't) so we'll need to come back and write a different
parsing function for that later.
2021-11-10 14:38:49 +01:00
..
DeclarationOrAtRule.h LibWeb: Add accessors to CSS::DeclarationOrAtRule 2021-07-11 23:19:56 +02:00
Parser.cpp LibWeb: Parse CSS background-position property 2021-11-10 14:38:49 +01:00
Parser.h LibWeb: Parse CSS background-position property 2021-11-10 14:38:49 +01:00
StyleBlockRule.h Everywhere: Use my shiny new serenityos.org email :^) 2021-09-03 12:22:36 +02:00
StyleComponentValueRule.h Everywhere: Use my shiny new serenityos.org email :^) 2021-09-03 12:22:36 +02:00
StyleDeclarationRule.h Everywhere: Use "the SerenityOS developers." in copyright headers 2021-04-29 00:59:26 +02:00
StyleFunctionRule.h LibWeb: Add missing headers 2021-10-06 23:52:40 +01:00
StyleRule.h Everywhere: Use my shiny new serenityos.org email :^) 2021-09-03 12:22:36 +02:00
StyleRules.cpp Everywhere: Use my shiny new serenityos.org email :^) 2021-09-03 12:22:36 +02:00
Token.cpp LibWeb: Make CSS 'An+B' parsing spec-compliant 2021-07-31 00:18:11 +02:00
Token.h LibWeb: Convert NumberType::Integer to i64 instead of i32 2021-11-04 23:45:07 +01:00
Tokenizer.cpp LibWeb: Record position information in CSS Tokens 2021-10-23 19:07:44 +02:00
Tokenizer.h LibWeb: Record position information in CSS Tokens 2021-10-23 19:07:44 +02:00