mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-11 20:16:02 +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
Notes:
sideshowbarker
2024-07-18 05:37:06 +09:00
Author: https://github.com/awesomekling
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