mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 18:22:45 +00:00 
			
		
		
		
	 da8692572a
			
		
	
	
		da8692572a
		
	
	
	
	
		
			
			The resolution is simply 1dppx * device pixel ratio. This makes high resolution images show up on https://apple.com/ when running on a high-DPI display. :^)
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			336 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			336 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <style>
 | |
| div { display: none; }
 | |
| @media (min-resolution: 96dpi) {
 | |
|     div.pass { display: block; }
 | |
| }
 | |
| @media (min-resolution: 97dpi) {
 | |
|     div.fail { display: block; }
 | |
| }
 | |
| </style>
 | |
| <p>NOTE: This test assumes that you're running with 1x pixels (which our test runner always does.</p>
 | |
| <div class="pass">PASS</div>
 | |
| <div class="fail">FAIL</div>
 |