| <!DOCTYPE html> |
| <meta charset="utf-8"> |
| <title>CSS Text level 4 Test: word-boundary-detection:auto(th) untagged</title> |
| <link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> |
| <link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> |
| <link rel="match" href="reference/word-boundary-106-ref.html"> |
| <meta name="assert" content="word-boundary-detection:auto(th), if supported, does the same as normal (insert soft wraps for south east asian) on content not language tagged."> |
| <style> |
| #wrap, #ref { |
| font-size: 2em; |
| border: solid blue; |
| margin: 5px; |
| width: 30ch; |
| } |
| @supports (word-boundary-detection: auto(th)) { |
| #test { |
| word-boundary-detection: manual; |
| } |
| } |
| #test { |
| width: 0; |
| word-boundary-detection: auto(th); |
| } |
| </style> |
| |
| <p>Test passes if the two boxes below are identical. |
| |
| <div id=wrap> |
| <div id=test>กรุงเทพคือสวยงาม</div> |
| </div> |
| <div id=ref>กรุงเทพคือสวยงาม</div> |