1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:47:34 +00:00

LibWeb: Resolve border[-color,-style,-width] properties

This commit is contained in:
Sam Atkins 2023-05-27 16:32:08 +01:00 committed by Andreas Kling
parent abdd4a8733
commit af68bf862f
2 changed files with 36 additions and 0 deletions

View file

@ -136,6 +136,8 @@ public:
Color color { Color::Transparent };
CSS::LineStyle line_style { CSS::LineStyle::None };
double width { 0 };
bool operator==(BorderData const&) const = default;
};
using TransformValue = Variant<CSS::AngleOrCalculated, CSS::LengthPercentage, float>;