mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 18:02:44 +00:00 
			
		
		
		
	 2753075830
			
		
	
	
		2753075830
		
	
	
	
	
		
			
			Currently `calculate_mask()` fails to create bitmap when `maskContentUnits="objectBoundingBox"` is present. Fixes https://github.com/SerenityOS/serenity/issues/22316
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			327 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			327 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html>
 | |
| <svg width="200" height="200">
 | |
|     <mask id="myMask" maskContentUnits="objectBoundingBox">
 | |
|         <rect x="0" y="0" width="1" height="1" fill="white"/>
 | |
|         <circle cx="0.5" cy="0.5" r="0.4" fill="black"/>
 | |
|     </mask>
 | |
|     <rect x="0" y="0" width="200" height="200" fill="green" mask="url(#myMask)"/>
 | |
| </svg>
 |