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-009.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 4 Test: word-space-transform and text-transform:full-width</title>
<link rel="match" href="reference/word-space-transform-009-ref.html">
<meta name="assert" content="word-space-transform:space happens at the right stage of the white space processing pipeline to interact properly with text-transform:full-width">
<style>
div {
font-size: 2em;
}
#test {
word-space-transform: space;
text-transform: full-width;
}
</style>
<p>Test passes if the two lines below are identical.
<div id=test>a b<wbr>c​d <wbr>e ​f<wbr>​g</div>
<div id=ref>a b c d e f g</div>