blob: fa991221e52814bc7f93b8b51a8c08766e982bee [file] [log] [blame]
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 4 Test: word-boundary-detection:auto(th) mistagged</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="mismatch" href="reference/word-boundary-105-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 tagged as the wrong language.">
<style>
#wrap, #ref {
font-size: 2em;
border: solid orange;
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 <em>different</em>.
<div id=wrap lang=ja>
<div id=test>กรุงเทพคือสวยงาม</div>
</div>
<div id=ref lang=ja>กรุงเทพคือสวยงาม</div>