blob: 90a568a8c9d49154db4157fde3b93ed50cdefb76 [file] [log] [blame]
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 3 Test: sequence of spaces and other space separators at the end of line, white-space:nowrap</title>
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
<link rel="match" href="reference/trailing-other-space-separators-001-ref.html">
<meta name="assert" content="An sequence of regular spaces and other space separators at the end of the line must be removed, with white-space:nowrap.">
<style>
div { font-family: monospace; width: 2ch; white-space: nowrap; }
span { background: red; } /* If the space hangs instead of being removed, there will be red */
</style>
<p>Test passes if there are two columns of "x" characters below and no red.
<div>xx<span>&#x1680;&#x2000; &#x2001;&#x2002;&#x2003; &#x2004;&#x2005;&#x2006; &#x2007;&#x2008;&#x2009;&#x200A; &#x202F;&#x205F; &#x3000;</span><br>xx</div>
<div>xx<span>&#x1680;</span><br>xx</div>
<div>xx<span>&#x2000;</span><br>xx</div>
<div>xx<span>&#x2001;</span><br>xx</div>
<div>xx<span>&#x2002;</span><br>xx</div>
<div>xx<span>&#x2003;</span><br>xx</div>
<div>xx<span>&#x2004;</span><br>xx</div>
<div>xx<span>&#x2005;</span><br>xx</div>
<div>xx<span>&#x2006;</span><br>xx</div>
<div>xx<span>&#x2007;</span><br>xx</div>
<div>xx<span>&#x2008;</span><br>xx</div>
<div>xx<span>&#x2009;</span><br>xx</div>
<div>xx<span>&#x200A;</span><br>xx</div>
<div>xx<span>&#x202F;</span><br>xx</div>
<div>xx<span>&#x205F;</span><br>xx</div>
<div>xx<span>&#x3000;</span><br>xx</div>