mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 05:32:44 +00:00 
			
		
		
		
	 8bb635bd33
			
		
	
	
		8bb635bd33
		
	
	
	
	
		
			
			Style computation should never fail. Instead, we just ignore the transformation that led to the invalid matrix.
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			355 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			355 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <div id="foo"></div>
 | |
| <script src="include.js"></script>
 | |
| <script>
 | |
|     asyncTest(done => {
 | |
|         document.getElementById("foo").animate(
 | |
|             { transform: ["scale(0)", "scale(0)"] },
 | |
|             { duration: 1000 },
 | |
|         );
 | |
|         requestAnimationFrame(() => {
 | |
|             println("no crash!");
 | |
|             done();
 | |
|         });
 | |
|     });
 | |
| </script>
 |