servo/tests/wpt/css-tests/css-text-3_dev/xhtml1print/word-break-break-all-009.xht

68 lines
No EOL
2.3 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja">
<head>
<title>CSS Test: word-break - break-all - basic cases</title>
<style type="text/css">
@page { font: italic 8pt sans-serif; color: gray;
margin: 7%;
counter-increment: page;
@top-left { content: "CSS Text Module Level 3 CR Test Suite"; }
@top-right { content: "Test word-break-break-all-009"; }
@bottom-right { content: counter(page); }
}
</style>
<link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp"/>
<link rel="help" title="CSS Text Level 3: 5.2. Word Breaking Rules: the word-break property" href="http://www.w3.org/TR/css-text-3/#word-break"/>
<link rel="match" href="reference/word-break-break-all-009-ref.xht"/>
<meta name="flags" content="font"/>
<meta name="assert" content="Lines may break between any two grapheme clusters within words."/>
<style type="text/css">
<![CDATA[
.test span {
word-break: break-all;
}
/* the CSS below is not part of the test */
p.test, p.control {
border: 1px solid gray;
color: blue;
font-family: "IPAMincho", "IPAGothic", "IPA明朝", "IPAゴシック";
width: 10em;
}
span.attention {
color: red;
}
]]>
</style>
</head>
<body>
<p>
Test passes if each pair of upper and lower text in the square box is identical.
</p>
<hr/>
<p class="test">
<span>Filler Text Filler Text Filler Text</span>
</p>
<p class="control">
<span>Filler Text Filler T<br/>ext Filler Text</span>
</p>
<hr/>
<p class="test">
<span>満たすための文字 Filler Text</span>
</p>
<p class="control">
<span>満たすための文字 Fil<br/>ler Text</span>
</p>
<hr/>
<p class="test">
<span>満たすための文字満たすための文字</span>
</p>
<p class="control">
<span>満たすための文字満た<br/>すための文字</span>
</p>
<hr/>
<p>
<span class="attention">* You will need a Japanese font.</span><br/>
If you are unable to see font glyphs for certain characters using the browsers default font, install the <a href="http://ossipedia.ipa.go.jp/ipafont/">IPA Font(http://ossipedia.ipa.go.jp/ipafont/)</a> and reload this page.
</p>
</body>
</html>