mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 12:02:43 +00:00 
			
		
		
		
	 c7c3043aa2
			
		
	
	
		c7c3043aa2
		
	
	
	
	
		
			
			The SVG <use> element is used to be able to reuse other SVG graphics without having to re-write the svg element. We now support this feature! :^)
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			645 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			645 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <SVG/SVGAnimatedLength.idl>
 | |
| #import <SVG/SVGElement.idl>
 | |
| #import <SVG/SVGGraphicsElement.idl>
 | |
| 
 | |
| // https://svgwg.org/svg2-draft/struct.html#InterfaceSVGUseElement
 | |
| [Exposed=Window]
 | |
| interface SVGUseElement : SVGGraphicsElement {
 | |
|   [SameObject] readonly attribute SVGAnimatedLength x;
 | |
|   [SameObject] readonly attribute SVGAnimatedLength y;
 | |
|   [SameObject] readonly attribute SVGAnimatedLength width;
 | |
|   [SameObject] readonly attribute SVGAnimatedLength height;
 | |
|   [SameObject] readonly attribute SVGElement? instanceRoot;
 | |
|   [SameObject] readonly attribute SVGElement? animatedInstanceRoot;
 | |
| };
 | |
| 
 | |
| // FIXME: SVGUseElement includes SVGURIReference;
 |