Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-text/word-space-transform/word-space-transform-002.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 4 Test: word-space-transform:space</title>
<link rel="match" href="reference/word-space-transform-002-ref.html">
<meta name="assert" content="Both zero-width-spaces and <wbr> are expanded by word-space-transform: space">
<style>
div {
font-size: 2em;
}
#test {
word-space-transform: space;
}
</style>
<p>Test passes if the two lines below are identical.
<div id=test>a<wbr>b​c</div>
<div id=ref>a b c</div>