mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:47:44 +00:00
LibWeb: Parse repeating-linear-gradient()
Including `-webkit-repeating-linear-gradient()`
This commit is contained in:
parent
b123309b0d
commit
f9a685437f
3 changed files with 35 additions and 7 deletions
|
@ -1491,6 +1491,8 @@ String LinearGradientStyleValue::to_string() const
|
|||
|
||||
if (m_gradient_type == GradientType::WebKit)
|
||||
builder.append("-webkit-"sv);
|
||||
if (m_repeating == Repeating::Yes)
|
||||
builder.append("repeating-"sv);
|
||||
builder.append("linear-gradient("sv);
|
||||
m_direction.visit(
|
||||
[&](SideOrCorner side_or_corner) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue