contain-layout-baseline-004-ref.html (590B)
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 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 6 <style> 7 div { 8 display: inline-block; 9 font: 100px/1 Ahem; 10 width: 100px; 11 height: 100px; 12 } 13 #first { 14 color: blue; 15 position: relative; 16 top: 20px; 17 } 18 #second { 19 color: green; 20 } 21 </style> 22 <p>Test passes if there is not a rectangle as the two boxes ("blue" and "green") are not baseline aligned.</p> 23 <div id="first">X</div><div id="second">X</div>