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