forked from mirrors/gecko-dev
		
	 3afe00c6e2
			
		
	
	
		3afe00c6e2
		
	
	
	
	
		
			
			Automatic update from web-platform-tests Fix painting of composited overflow controls with visibility:hidden We can have a composited scroller with visibility:hidden if it has visibility:visible descendants. We should skip painting of overflow controls in the case. Ideally we should not create composited overflow control layers, but I would not touch the pre-CompositeAfterPaint code for the rare case. Bug: 1187818, 1185968 Change-Id: If59049a685fa153b6538f8ca2424792904096000 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2761470 Reviewed-by: Philip Rogers <pdr@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#863011} -- wpt-commits: 5cea71062775976e86ec38818fc9709ea5fa451d wpt-pr: 28090
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			415 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			415 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html>
 | |
| <style>
 | |
| .scroller {
 | |
|   width: 100px;
 | |
|   height: 100px;
 | |
|   overflow: scroll;
 | |
|   /* to make the scroller a white mask over the content */
 | |
|   filter: brightness(0) invert(1);
 | |
|   position: relative;
 | |
|   top: -200px;
 | |
| }
 | |
| .content {
 | |
|   width: 100px;
 | |
|   height: 100px;
 | |
|   background: green;
 | |
| }
 | |
| </style>
 | |
| <div class="content"></div>
 | |
| <div class="content"></div>
 | |
| <div class="scroller"></div>
 | |
| <div class="scroller"></div>
 |