<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 4 Test: word-space-transform space non collapsing</title>
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-space-transform">
<link rel="help" href="https://www.w3.org/TR/css-text-3/#white-space-phase-1">
<link rel="match" href="reference/word-space-transform-008-ref.html">
<meta name="assert" content="word-space-transform happens between phase 1 and 2 of white space processing, so inserted spaces are preserved, and become non-wrappable with white-space:pre">
<style>
div {
font-size: 2em;
white-space: pre;
}
#test {
word-space-transform: space;
width: 0;
}
</style>
<p>Test passes if the two lines below are identical.
<div id=test>a<wbr> b <wbr>c ​d​ e<wbr><wbr>f​​g<wbr>​h​<wbr>i <wbr> ​ j</div>
<div id=ref>a b c d e f g h i j</div>