LibWeb/SVG: Implement SVGTransformList.length

This commit is contained in:
Jamie Mansfield 2024-06-02 12:46:15 +01:00 committed by Andreas Kling
commit 4a1d02e7d8
Notes: sideshowbarker 2024-07-17 03:03:15 +09:00
3 changed files with 10 additions and 1 deletions

View file

@ -22,6 +22,8 @@ public:
[[nodiscard]] static JS::NonnullGCPtr<SVGTransformList> create(JS::Realm& realm);
virtual ~SVGTransformList() override;
WebIDL::UnsignedLong length();
WebIDL::ExceptionOr<JS::NonnullGCPtr<SVGTransform>> get_item(WebIDL::UnsignedLong index);
JS::NonnullGCPtr<SVGTransform> append_item(JS::NonnullGCPtr<SVGTransform> new_item);