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:
parent
e9eba66361
commit
0555684682
7 changed files with 139 additions and 0 deletions
11
Userland/Libraries/LibWeb/SVG/SVGForeignObjectElement.idl
Normal file
11
Userland/Libraries/LibWeb/SVG/SVGForeignObjectElement.idl
Normal 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;
|
||||
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue