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-006.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 4 Test: turn on word-space-transform on wbr and inlines</title>
<link rel="match" href="reference/word-space-transform-002-ref.html">
<meta name="assert" content="word-space-transform applies to inlines, including wbr">
<style>
div {
font-size: 2em;
}
wbr, span {
word-space-transform: space;
}
</style>
<p>Test passes if the two lines below are identical.
<div id=test>a<wbr>b<span>​c</span></div>
<div id=ref>a b c</div>