mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 08:32:43 +00:00 
			
		
		
		
	 b12541b286
			
		
	
	
		b12541b286
		
	
	
	
	
		
			
			This attribute has some compatbility issues... - The spec says it should be an SVGAnimatedRect which contains a DOMRect and a DOMReadOnlyRect. - Blink gives you an SVGAnimatedRect with 2x SVGRect - Gecko gives you an SVGAnimatedRect with 2x SVGRect? (nullable) I ended up with something similar to Gecko, an SVGAnimatedRect with 2x DOMRect? (nullable) With this fixed, we can now load https://polar.sh/ :^)
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			494 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			494 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <Geometry/DOMRect.idl>
 | |
| 
 | |
| // https://svgwg.org/svg2-draft/types.html#InterfaceSVGAnimatedRect
 | |
| [Exposed=Window]
 | |
| interface SVGAnimatedRect {
 | |
|     // NOTE: The spec says that baseVal and animVal are not nullable, but they are nullable in some other engines.
 | |
|     [SameObject] readonly attribute DOMRect? baseVal;
 | |
| 
 | |
|     // NOTE: animVal is a DOMRectReadOnly in the spec, but other engines expose a DOMRect (sometimes aliased as SVGRect).
 | |
|     [SameObject] readonly attribute DOMRect? animVal;
 | |
| };
 |