1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:57:43 +00:00

LibWeb: Add stop-color as a CSS property

(This is to set the color of a stop for an SVG gradient)
This commit is contained in:
MacDue 2023-04-19 18:51:00 +01:00 committed by Andreas Kling
parent f099ee3d47
commit 297d8eebcd
7 changed files with 86 additions and 2 deletions

View file

@ -98,6 +98,8 @@ public:
Vector<CSS::Transformation> transformations() const;
CSS::TransformOrigin transform_origin() const;
Color stop_color() const;
Gfx::Font const& computed_font() const
{
VERIFY(m_font);