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-break/auto-phrase/word-break-auto-phrase-007.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 4 Test: word-break: auto-phrase forbidden</title>
<link rel="match" href="reference/word-break-auto-phrase-007-ref.html">
<meta name="assert" content="UAs must not suppress wrapping opportunities introduced by wbr or ZWSP">
<style>
div {
border: solid black;
margin: 5px;
width: min-content;
}
#test {
word-break: auto-phrase;
}
</style>
<p>Test passes if the two boxes below are identical.
<div id=test lang=ja>東<wbr>京<wbr>へ<wbr>行<wbr>き<wbr>ま​し​ょ​う​。</div>
<div id=ref lang=ja>東<wbr>京<wbr>へ<wbr>行<wbr>き<wbr>ま​し​ょ​う​。</div>