mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 18:27:39 +00:00
LibWeb: Implement SVGLinearGradientElement (<linearGradient>)
This represents the SVG <linearGradient>. The actual gradient is converted to a Gfx::PaintStyle for use in SVG fills... There is a little guesswork in the implementation, but it seems to match Chrome/Firefox. Note: Still not hooked up to actual painting in this commit.
This commit is contained in:
parent
89d3c6d718
commit
aa3464466e
6 changed files with 243 additions and 0 deletions
|
@ -203,6 +203,7 @@ libweb_js_bindings(SVG/SVGEllipseElement)
|
|||
libweb_js_bindings(SVG/SVGForeignObjectElement)
|
||||
libweb_js_bindings(SVG/SVGLength)
|
||||
libweb_js_bindings(SVG/SVGLineElement)
|
||||
libweb_js_bindings(SVG/SVGLinearGradientElement)
|
||||
libweb_js_bindings(SVG/SVGPathElement)
|
||||
libweb_js_bindings(SVG/SVGPolygonElement)
|
||||
libweb_js_bindings(SVG/SVGPolylineElement)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue