forked from mirrors/gecko-dev
		
	 2ddf8a2583
			
		
	
	
		2ddf8a2583
		
	
	
	
	
		
			
			Automatic update from web-platform-tests Deflake tests by adding reftest-wait Change-Id: I1d5b2804e7445f75f96e84e1d461632baee515cb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3398491 Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/main@{#960367} -- wpt-commits: 2f525e7ed22a6f9a64b2a0bc3b079f0dcf412e88 wpt-pr: 32435
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			770 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			770 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html>
 | |
| <html class="reftest-wait">
 | |
|   <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
 | |
|   <link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1285795">
 | |
|   <link rel="match" href="../reference/ref-filled-green-100px-square.xht">
 | |
|   <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
 | |
|   <div id="mc" style="columns:4; column-gap:0; column-fill:auto; width:100px; height:400px; background:red;">
 | |
|     <div style="height:400px; background:green;"></div>
 | |
|   </div>
 | |
|   <script>
 | |
|     requestAnimationFrame(()=> {
 | |
|       requestAnimationFrame(()=> {
 | |
|         mc.style.height = '100px';
 | |
|         document.documentElement.classList.remove("reftest-wait");
 | |
|       });
 | |
|     });
 | |
|   </script>
 | |
| </html>
 |