mirror of
https://github.com/servo/servo.git
synced 2025-06-23 08:34:42 +01:00
22 lines
No EOL
969 B
HTML
22 lines
No EOL
969 B
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="utf-8" />
|
|
<title>CSS Text Test: word-break - normal keyword value - Chinese words break</title>
|
|
<link href="http://www.intel.com" rel="author" title="Intel" />
|
|
<link href="mailto:shiyoux.tan@intel.com" rel="author" title="Shiyou Tan" />
|
|
<link href="http://www.w3.org/TR/css-text-3/#word-break" rel="help" />
|
|
<meta content="" name="flags" />
|
|
<meta content="Check that 'word-break' with 'normal' keyword value implies to words break after word, including Chinese words." name="assert" />
|
|
<style>
|
|
div {
|
|
border: 2px black solid;
|
|
color: blue;
|
|
width: 100px;
|
|
word-break: normal;
|
|
}
|
|
</style>
|
|
</head><body>
|
|
<p>Test passes if all the Chinese words below are inside the box and break normally.</p>
|
|
<div>这些文字会自动换行,但不会超出黑色框。</div>
|
|
|
|
|
|
</body></html> |