white-space-pre-wrap-trailing-spaces-012-ref.html (475B)
1 <!doctype html> 2 <meta charset=utf-8> 3 <title>CSS test Reference</title> 4 <link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" /> 5 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 6 <style> 7 div { 8 font: 20px/1 Ahem; 9 white-space: pre; 10 } 11 span { background: blue; } 12 </style> 13 14 <p>This test passes if the line is broken after the 2nd white space, which hangs (blue). 15 <div>XX X<span> <br>X</span></div>