MacDue
46f42d9755
LibWeb: Add support for the SVG gradient spreadMethod attribute
2023-08-20 20:04:10 +02:00
Andreas Kling
18c54d8d40
LibJS: Make Cell::initialize() return void
...
Stop worrying about tiny OOMs.
Work towards #20405
2023-08-08 07:39:11 +02:00
MacDue
439735fd35
LibWeb: Support legacy xlink:href attribute for linked gradients
...
...and rename the related functions to something more descriptive.
2023-07-30 16:06:03 +02:00
Andreas Kling
5a74486b59
LibWeb: Rename DOM::Element::parse_attribute() => attribute_changed()
...
This is a first step towards merging attribute change and removal
notifications into a single function.
2023-07-03 19:04:45 +02:00
MacDue
2826bd2b45
LibWeb: Move some common SVG gradient functions into SVGGradientElement
...
These functions will also be used by SVG radial gradients.
2023-05-04 16:50:01 +02:00
MacDue
eda429111e
LibWeb: Don't inherit SVG color stops if current gradient has stops
...
The previous behaviour was incorrect, the template's stops should only
be used if the current gradient does not have any stops.
2023-05-04 16:50:01 +02:00
MacDue
71938550fa
LibWeb: Implement SVGGradientElement
...
This is the base class for all SVG gradient types. This supports:
- The `gradientUnits` attribute
- The `gradientTransform` attribute
- And following `xlink:hrefs` for inheriting <stops>/attributes
2023-04-28 09:42:28 +02:00