LibWeb: Add a barebones SVGTextContentElement with getNumberOfChars()

This commit is contained in:
Andreas Kling 2022-03-20 11:20:06 +01:00
commit 5d672717aa
Notes: sideshowbarker 2024-07-17 17:03:44 +09:00
9 changed files with 69 additions and 1 deletions

View file

@ -278,6 +278,8 @@
#include <LibWeb/Bindings/SVGRectElementPrototype.h>
#include <LibWeb/Bindings/SVGSVGElementConstructor.h>
#include <LibWeb/Bindings/SVGSVGElementPrototype.h>
#include <LibWeb/Bindings/SVGTextContentElementConstructor.h>
#include <LibWeb/Bindings/SVGTextContentElementPrototype.h>
#include <LibWeb/Bindings/ScreenConstructor.h>
#include <LibWeb/Bindings/ScreenPrototype.h>
#include <LibWeb/Bindings/SelectionConstructor.h>
@ -476,6 +478,7 @@
ADD_WINDOW_OBJECT_INTERFACE(SVGPolylineElement) \
ADD_WINDOW_OBJECT_INTERFACE(SVGRectElement) \
ADD_WINDOW_OBJECT_INTERFACE(SVGSVGElement) \
ADD_WINDOW_OBJECT_INTERFACE(SVGTextContentElement) \
ADD_WINDOW_OBJECT_INTERFACE(Text) \
ADD_WINDOW_OBJECT_INTERFACE(TextDecoder) \
ADD_WINDOW_OBJECT_INTERFACE(TextEncoder) \