mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb: Support repeating-radial-gradient()
s
This commit is contained in:
parent
f539bf467c
commit
28028be2fc
Notes:
sideshowbarker
2024-07-17 03:46:45 +09:00
Author: https://github.com/MacDue
Commit: 28028be2fc
Pull-request: https://github.com/SerenityOS/serenity/pull/16292
Reviewed-by: https://github.com/trflynn89
4 changed files with 17 additions and 5 deletions
|
@ -1984,6 +1984,8 @@ bool PositionValue::operator==(PositionValue const& other) const
|
|||
String RadialGradientStyleValue::to_string() const
|
||||
{
|
||||
StringBuilder builder;
|
||||
if (is_repeating())
|
||||
builder.append("repeating-"sv);
|
||||
builder.appendff("radial-gradient({} "sv,
|
||||
m_ending_shape == EndingShape::Circle ? "circle"sv : "ellipse"sv);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue