mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:47:34 +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
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue