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/word-break-normal-002.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 4 Test: word-break:normal mistagged</title>
<link rel="mismatch" href="reference/word-break-normal-002-ref.html">
<meta name="assert" content="word-break:normal turns on detection of word boundaries in south east asian scripts, even if the language tagging is incorrect">
<style>
#wrap, #ref {
font-size: 2em;
border: solid orange;
margin: 5px;
width: 30ch;
}
#test {
width: 0;
word-break: normal;
}
</style>
<p>Test passes if the two boxes below are <em>different</em>.
<div id=wrap lang=de>
<div id=test>กรุงเทพคือสวยงาม</div>
</div>
<div id=ref lang=de>กรุงเทพคือสวยงาม</div>