servo/tests/wpt/css-tests/css-text-3_dev/html/css3-text-line-break-jazh-414.htm

43 lines
No EOL
1.3 KiB
HTML

<!DOCTYPE html>
<html lang="en"><head>
<meta charset="utf-8">
<title>CSS3 Text, linebreaks: 2048 QUESTION EXCLAMATION MARK (normal,zh)</title>
<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida">
<link href="https://drafts.csswg.org/css-text-3/#line-break" rel="help">
<link href="reference/css3-text-line-break-jazh-414-ref.htm" rel="match">
<meta content="font" name="flags">
<meta content="The browser will NOT allow 2048 QUESTION EXCLAMATION MARK at the beginning of a line." name="assert">
<style type="text/css">
@font-face {
font-family: 'mplus-1p-regular';
src: url('support/mplus-1p-regular.woff') format('woff');
/* filesize: 803K */
}
.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
.name { font-size: 10px; }
.test { line-break: normal; }
</style>
</head>
<body>
<p class="instructions">Test passes if the two orange boxes are identical.</p>
<div lang="zh" class="test">中中中⁈文</div>
<div class="ref">中中<br>中⁈文</div>
<!--Notes:
<p class='notes'>For more information about expected line break behavior and line break classes, see <a href='http://www.unicode.org/reports/tr14/'>Unicode Standard Annex #14 Line Breaking Properties</a>.
-->
</body></html>