Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset="utf-8">
<title>Test reference</title>
<style>
div {
font-size: 2em;
border: solid orange;
margin: 5px;
width: min-content; /*not 0, to avoid falling into overflow fallback behavior */
word-break: normal;
}
</style>
<p>Test passes if the two boxes below are identical.
<div id=test lang=ja>กรุงเทพคือสวยงาม</div>
<!-- keeping the lang=ja because it may affects font selection-->
<div id=ref lang=ja>กรุงเทพคือสวยงาม</div>