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-025.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 4 Test: word-space-transform auto-phrase forbidden</title>
<link rel="match" href="reference/word-space-transform-025-ref.html">
<meta name="assert" content="The UA must not insert a virtual word boundary between a typographic letter unit and an adjacent typographic character unit from the [UAX14] WJ line breaking class">
<style>
div {
font-size: 2em;
border: solid black;
margin: 5px;
width: 30ch;
}
#test {
word-space-transform: ideographic-space auto-phrase;
}
</style>
<p>Test passes if the two boxes below are identical.
<div id=test lang=ja>東京⁠へ⁠行きましょう。</div>
<div id=ref lang=ja>東京⁠へ⁠行きましょう。</div>