mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
LibWeb: Move FlexBasis enum to ComputedValues.h
This may not be the ideal place for this, but it definitely doesn't belong in StyleValue.h
This commit is contained in:
parent
53a4a31af2
commit
c4afa79fed
Notes:
sideshowbarker
2024-07-17 10:08:28 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/c4afa79fed Pull-request: https://github.com/SerenityOS/serenity/pull/18104
2 changed files with 6 additions and 6 deletions
|
@ -117,6 +117,12 @@ struct TransformOrigin {
|
|||
CSS::LengthPercentage y { Percentage(50) };
|
||||
};
|
||||
|
||||
enum class FlexBasis {
|
||||
Content,
|
||||
LengthPercentage,
|
||||
Auto,
|
||||
};
|
||||
|
||||
struct FlexBasisData {
|
||||
CSS::FlexBasis type { CSS::FlexBasis::Auto };
|
||||
Optional<CSS::LengthPercentage> length_percentage;
|
||||
|
|
|
@ -42,12 +42,6 @@ enum class BackgroundSize {
|
|||
LengthPercentage,
|
||||
};
|
||||
|
||||
enum class FlexBasis {
|
||||
Content,
|
||||
LengthPercentage,
|
||||
Auto,
|
||||
};
|
||||
|
||||
// FIXME: Named PositionValue to avoid conflicts with enums, but this represents a <position>
|
||||
struct PositionValue {
|
||||
enum class HorizontalPreset {
|
||||
|
|
Loading…
Reference in a new issue