ladybird/Userland/Libraries/LibWeb/CSS/Parser
martinfalisse f7af190de0 LibWeb: Add parent classes for managing GridTrackSizes
Add classes ExplicitTrackSizing and MetaGridTrackSize which will allow
for managing properties like auto-fill and minmax.

In the following CSS example there are 3 classes that will be used:
grid-template-column: repeat(auto-fill, minmax(50px, 1fr) 75px);

ExplicitTrackSizing - will contain the entire value. e.g.
repeat(auto-fill, minmax(50px, 1fr) 75px)

With a flag if it's a repeat, as well as references to the
MetaGridTrackSizes which is the next step down.

MetaGridTrackSize:
Contain the individual grid track sizes. Here there are two:
minmax(50px, 1fr) as well as 75px.

This way can keep track if it's a minmax function or not, and the
references to both GridTrackSizes in the case it is, or in just the one
if it is not.

GridTrackSize:
Is the most basic element, in this case there are three in total; two of
which are held by the first MetaGridTrackSize, and the third is held by
the second MetaGridTrackSize.
Examples: 50px, 1fr and 75px.
2022-10-15 16:04:01 +02:00
..
Block.cpp Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
Block.h LibWeb: Break friendship between CSS Block and Parser 2022-04-12 23:03:46 +02:00
ComponentValue.cpp LibWeb: Print correct value types in ComponentValue debug string 2022-06-10 22:32:29 +01:00
ComponentValue.h LibWeb: Break inclusion cycle through forward-declaration 2022-09-17 04:00:54 +00:00
Declaration.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Declaration.h LibWeb: Break friendship between CSS Declaration and Parser 2022-04-12 23:03:46 +02:00
DeclarationOrAtRule.cpp LibWeb: Break inclusion cycle through forward-declaration 2022-09-17 04:00:54 +00:00
DeclarationOrAtRule.h LibWeb: Rename StyleRule -> Rule 2022-04-12 23:03:46 +02:00
Function.cpp Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
Function.h LibWeb: Break friendship between CSS Function and Parser 2022-04-12 23:03:46 +02:00
Parser.cpp LibWeb: Add parent classes for managing GridTrackSizes 2022-10-15 16:04:01 +02:00
Parser.h LibWeb: Remove unecessary dependence on Window from CSS classes 2022-10-01 21:05:32 +01:00
Rule.cpp Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
Rule.h LibWeb: Rename StyleRule -> Rule 2022-04-12 23:03:46 +02:00
Token.cpp LibWeb: Include sign in token debug info, if the type has explicit sign 2022-05-08 16:29:06 +02:00
Token.h LibWeb: Move Token and Tokenizer into Parser namespace 2022-04-12 23:03:46 +02:00
Tokenizer.cpp LibWeb: Bring CSS tokenization preprocessing closer to spec 2022-10-03 17:09:41 +01:00
Tokenizer.h LibWeb: Use the term "ident sequence" instead of "name" 2022-10-03 17:09:41 +01:00
TokenStream.h LibWeb: Expose token counts from CSS TokenStream 2022-09-27 19:36:31 +02:00