mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibWeb: Misc. SVG improvements
No functional changes: added spec comments, moved some code, removed an unused member.
This commit is contained in:
parent
3553861046
commit
66925a3d80
Notes:
github-actions[bot]
2024-10-28 21:54:26 +00:00
Author: https://github.com/gmta
Commit: 66925a3d80
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2026
Reviewed-by: https://github.com/kalenikaliaksandr ✅
4 changed files with 8 additions and 7 deletions
|
@ -13,6 +13,7 @@
|
|||
|
||||
namespace Web::SVG {
|
||||
|
||||
// https://svgwg.org/svg2-draft/pservers.html#GradientStops
|
||||
class SVGStopElement final : public SVGElement {
|
||||
WEB_PLATFORM_OBJECT(SVGStopElement, SVGElement);
|
||||
JS_DECLARE_ALLOCATOR(SVGStopElement);
|
||||
|
@ -36,7 +37,6 @@ private:
|
|||
virtual void initialize(JS::Realm&) override;
|
||||
|
||||
Optional<NumberPercentage> m_offset;
|
||||
Optional<Gfx::Color> m_color;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue