mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-02 17:28:48 +00:00
Refactor various classes in the GridTrackSize file for the incoming named_tracks feature. Previously the ExplicitTrackSizing had mixed responsiblities with the newly-named GridRepeat class. This made it so it was not possible to have multiple repeats within a single 'GridTrackSizeList' definition. The MetaGridTrackSize class had both the responsibilities of being a container for minmax values as well as for simple GridSizes. By uniting the different possible values (repeat, minmax, default) into the ExplicitGridTrack class are able to be more expressive as to the different grid size modalities. The GridTrackSizeList will be useful as compared to a Vector<ExplicitGridTrack> since this way can keep track of the declared line names. These same line names are able to be declared within the values of a repeat function, hence the presence of a GridTrackSizeList inside the GridRepeat class. |
||
---|---|---|
.. | ||
Block.cpp | ||
Block.h | ||
ComponentValue.cpp | ||
ComponentValue.h | ||
Declaration.cpp | ||
Declaration.h | ||
DeclarationOrAtRule.cpp | ||
DeclarationOrAtRule.h | ||
Function.cpp | ||
Function.h | ||
Parser.cpp | ||
Parser.h | ||
Rule.cpp | ||
Rule.h | ||
Token.cpp | ||
Token.h | ||
Tokenizer.cpp | ||
Tokenizer.h | ||
TokenStream.h |