OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <meta charset="utf-8"> |
| 3 <title>CSS Text Test: overflow-wrap: break-word with fit-content</title> |
| 4 <link rel="author" title="Koji Ishii" href="kojiishi@gmail.com"> |
| 5 <link rel="help" title="6.2. Overflow Wrapping: the 'word-wrap'/'overflow-wrap'
property" href="http://www.w3.org/TR/css-text-3/#overflow-wrap"> |
| 6 <meta name="flags" content=""> |
| 7 <link rel="match" href="reference/overflow-wrap-break-word-fit-content-001.html"
> |
| 8 <meta name="assert" content="The 'overflow-wrap: break-word' must not break surr
ogate pairs"> |
| 9 <style> |
| 10 .test { |
| 11 display: inline-block; |
| 12 word-wrap: break-word; |
| 13 font-size: 20px; |
| 14 line-height: 1; |
| 15 margin-bottom: .2em; |
| 16 } |
| 17 </style> |
| 18 <body> |
| 19 <div id="log"></div> |
| 20 <p class="instructions" style="display:none">Tests pass if all lines do not wrap
. |
| 21 <div><div class="test">𝜋</div></div> |
| 22 <div><div class="test">𝜋</div></div> |
| 23 </body> |
OLD | NEW |