contain-size-grid-001-ref.html (492B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Containment Test: Reference file</title> 4 <link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com"> 5 <style> 6 div { 7 display: inline-grid; 8 border: 5px solid green; 9 color: transparent; 10 width: 0; 11 height: 0; 12 font-size: 2em; 13 } 14 </style> 15 16 <p>This test passes if it has the same output as the reference. You see the word "before", a 10px green square at the top, and then the word "after".</p> 17 before<div>g</div>after