forked from mirrors/gecko-dev
		
	 d7205b6d3d
			
		
	
	
		d7205b6d3d
		
	
	
	
	
		
			
			Automatic update from web-platform-tests ViewTransitions: Update WICG links to CSSWG drafts R=khushalsagar@chromium.org, bokan@chromium.org Change-Id: Ia287188844b885ace1c3a4544fc2e1f0b6b32fc9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5394194 Reviewed-by: Rakina Zata Amni <rakina@chromium.org> Auto-Submit: Vladimir Levin <vmpstr@chromium.org> Reviewed-by: David Bokan <bokan@chromium.org> Commit-Queue: Vladimir Levin <vmpstr@chromium.org> Reviewed-by: Joe Mason <joenotcharles@google.com> Cr-Commit-Position: refs/heads/main@{#1278480} -- wpt-commits: 8c53b2ec0e6ff7171a601c1259b19577b246ec38 wpt-pr: 45336
		
			
				
	
	
		
			22 lines
		
	
	
	
		
			518 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
	
		
			518 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html>
 | |
| <title>View transitions: capture clip-path elements (ref)</title>
 | |
| <link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
 | |
| <link rel="author" href="mailto:vmpstr@chromium.org">
 | |
| <style>
 | |
| .box {
 | |
|   color: red;
 | |
|   background: lightblue;
 | |
|   width: 100px;
 | |
|   height: 100px;
 | |
|   contain: paint;
 | |
|   position: absolute;
 | |
|   font-size: 30pt;
 | |
| }
 | |
| #e1 {
 | |
|   clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
 | |
|   top: 20px;
 | |
|   left: 20px;
 | |
| }
 | |
| body { background: lightpink; }
 | |
| </style>
 | |
| <div id=e1 class=box></div>
 |