forked from mirrors/gecko-dev
		
	 2497c6b128
			
		
	
	
		2497c6b128
		
	
	
	
	
		
			
			Automatic update from web-platform-tests blink: Fix computed style overrides for overflow. StyleAdjuster enforces that an element with table layout can only use overflow with values 'visible' or 'hidden'. There is no reason to disallow 'clip' in this case. See update to the spec here: https://github.com/w3c/csswg-drafts/pull/7492/files Bug: 1321217 Change-Id: I6eea2c5fd105f6b46adef590f35eafa0b3598031 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3758250 Auto-Submit: Khushal Sagar <khushalsagar@chromium.org> Reviewed-by: Vladimir Levin <vmpstr@chromium.org> Commit-Queue: Vladimir Levin <vmpstr@chromium.org> Cr-Commit-Position: refs/heads/main@{#1023858} -- wpt-commits: 3afcc8cbd5512970bbd079071872fcb3cc8df13b wpt-pr: 34826
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			590 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			590 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!doctype html>
 | |
| <meta charset="utf-8">
 | |
| <title>Verifies img elements are clipped with display:table</title>
 | |
| <link rel="help" href="https://drafts.csswg.org/css-overflow/#propdef-overflow">
 | |
| <link rel="author" title="Khushal Sagar" href="mailto:khushalsagar@chromium.org">
 | |
| <link rel="match" href="overflow-img-display-table-ref.html">
 | |
| <style>
 | |
|   .default {
 | |
|     width: 25px;
 | |
|     height: 50px;
 | |
|     object-fit: none;
 | |
|     object-position: 0% 0%;
 | |
|     border-radius: 2px;
 | |
|     display: table;
 | |
|   }
 | |
| </style>
 | |
| <body>
 | |
| <img class=default src="../css-images/support/exif-orientation-6-ru.jpg"></img>
 | |
| </body>
 |