Skip to content

Commit

Permalink
LibWeb: Add FIXMEs for missing SVGGeometryElement attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
jamierocks authored and awesomekling committed Jul 10, 2024
1 parent c9f3a7d commit 772d64a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Userland/Libraries/LibWeb/SVG/SVGGeometryElement.idl
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
#import <Geometry/DOMPoint.idl>
#import <SVG/SVGGraphicsElement.idl>
#import <SVG/SVGAnimatedNumber.idl>

// https://svgwg.org/svg2-draft/types.html#InterfaceSVGGeometryElement
[Exposed=Window]
interface SVGGeometryElement : SVGGraphicsElement {
[FIXME, SameObject] readonly attribute SVGAnimatedNumber pathLength;

[FIXME] boolean isPointInFill(optional DOMPointInit point = {});
[FIXME] boolean isPointInStroke(optional DOMPointInit point = {});
float getTotalLength();
DOMPoint getPointAtLength(float distance);

};

0 comments on commit 772d64a

Please sign in to comment.