forked from mirrors/gecko-dev
		
	 fd8ee0dee1
			
		
	
	
		fd8ee0dee1
		
	
	
	
	
		
			
			Automatic update from web-platform-tests [css-overflow] Update/add padding overflow tests. As per: https://github.com/w3c/csswg-drafts/issues/129 https://crbug.com/1245722 We've sucessfully shipped the logic to include padding in the scrollable overflow of elements. This patch updates the tests, and adds some new ones. Fixed: 1245722 Change-Id: I5f0fa14429da2d8f99efd95b071c6fc2e2c59855 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3561758 Reviewed-by: David Grogan <dgrogan@chromium.org> Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/main@{#996995} -- wpt-commits: c207c7528927fb4c7b2644588614dbac4ecb12f2 wpt-pr: 33833
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			773 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			773 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html>
 | |
| <title>Scrollable container with orthogonal writing-mode child with inline-end margin</title>
 | |
| <link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
 | |
| <link rel="help" href="https://www.w3.org/TR/CSS22/visufx.html#propdef-overflow">
 | |
| <script src="/resources/testharness.js"></script>
 | |
| <script src="/resources/testharnessreport.js"></script>
 | |
| <div id="container" style="writing-mode:vertical-rl; overflow:auto; width:100px; height:100px;">
 | |
|   <div style="writing-mode:horizontal-tb; width:100px; height:100px; margin-bottom:200px;"></div>
 | |
| </div>
 | |
| <script>
 | |
|   test(function() {
 | |
|     var container = document.getElementById("container");
 | |
|     assert_equals(container.scrollWidth, 100);
 | |
|     assert_equals(container.scrollHeight, 300);
 | |
|   });
 | |
| </script>
 |