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-009.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-009-ref.html">
<meta name="assert" content="auto-phrase's must give up on suppressing wrapping opportunities when that would lead to overflow.">
<style>
div {
border: solid black;
margin: 5px;
width: 1em;
}
#test {
word-break: auto-phrase;
overflow-wrap: normal;
}
</style>
<p>Test passes if the two boxes below are identical.
<div id=test lang=ja>一生懸命働きます</div>
<div id=ref lang=ja>一生懸命働きます</div>