This may not be the ideal place for this, but it definitely doesn't belong in StyleValue.h
@@ -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 {