mirror of
https://github.com/servo/servo.git
synced 2025-06-24 17:14:33 +01:00
43 lines
1.3 KiB
HTML
43 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en" >
|
|
<head>
|
|
<meta charset="utf-8"/>
|
|
<title>CSS3 Text, linebreaks: 00B0 DEGREE SIGN (strict,ja)</title>
|
|
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
|
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-break'>
|
|
<link rel="match" href="reference/css3-text-line-break-jazh-052-ref.html">
|
|
<meta name='flags' content='font'>
|
|
<meta name="assert" content="The browser will NOT allow 00B0 DEGREE SIGN at the beginning of a line.">
|
|
<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: strict; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p class='instructions'>Test passes if the two orange boxes are identical.</p>
|
|
|
|
|
|
<div class='test' lang='ja'>中中中°文</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class='ref'>中中<br/>中°文</div></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>
|