white-space-intrinsic-size-001-ref.html (428B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>test reference</title> 4 <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/"> 5 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 6 <style> 7 div { 8 font-family: Ahem; 9 color: transparent; 10 font-size: 50px; 11 background: green; 12 width: 2em; 13 } 14 </style> 15 16 <p>Test passes if there is a green rectangle below and no red. 17 <div>XS<br>S<br>XS<br>S</div>