1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:07:36 +00:00

LibWeb: Sketch out basic support for SVG <foreignObject> elements

This patch adds basic DOM construction and IDL bindings for foreign
objects in SVG trees.
This commit is contained in:
Andreas Kling 2022-11-10 13:49:26 +01:00
parent e9eba66361
commit 0555684682
7 changed files with 139 additions and 0 deletions

View file

@ -0,0 +1,11 @@
#import <SVG/SVGAnimatedLength.idl>
[Exposed=Window]
interface SVGForeignObjectElement : SVGGraphicsElement {
[SameObject] readonly attribute SVGAnimatedLength x;
[SameObject] readonly attribute SVGAnimatedLength y;
[SameObject] readonly attribute SVGAnimatedLength width;
[SameObject] readonly attribute SVGAnimatedLength height;
};