LibWeb: Add FIXMEs for missing SVGGeometryElement attributes

This commit is contained in:
Jamie Mansfield 2024-07-10 00:33:48 +01:00 committed by Andreas Kling
parent c9f3a7ddbf
commit 772d64aca2
Notes: sideshowbarker 2024-07-17 06:29:49 +09:00

View File

@ -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);
};