Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-ruby/collapse-trailing-whitespace.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="stylesheet" href="/fonts/ahem.css">
<link rel="match" href="collapse-trailing-whitespace-ref.html"/>
<meta name="assert" content="A space after '|' should be preserved,
a space after 'n' should be collapsed,
and a space after 'go' should be preserved.">
<style>
p {
font: 20px/1 Ahem;
xtext-align: justify;
xtext-align-last: justify;
width: 12em;
}
ruby { color: blue; }
rt { color: orange; }
</style>
<p>nihongo | <ruby>n <rt>n</ruby><ruby>hon<rt>hon</ruby><ruby>go <rt>go</ruby>|</p>