mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
This commit is contained in:
parent
fb4f421c8b
commit
296fa2512b
21852 changed files with 2080936 additions and 892894 deletions
|
@ -1,37 +1,67 @@
|
|||
<!DOCTYPE html>
|
||||
<html><head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Writing Modes: text-combine-upright on full-width characters</title>
|
||||
<title>CSS Writing Modes: 'text-combine-upright: digits 2' applied on 2 full-width characters</title>
|
||||
<link href="http://google.com/+MasatakaYakura" rel="author" title="Masataka Yakura">
|
||||
<link href="http://www.w3.org/TR/css-writing-modes-3/#text-combine-fullwidth" rel="help">
|
||||
<link href="http://www.w3.org/TR/css-text-3/#full-width" rel="help">
|
||||
<link href="reference/full-width-ref.htm" rel="match">
|
||||
<link href="reference/full-width-notcu-notref.htm" rel="mismatch">
|
||||
<link href="reference/full-width-horizontal-notref.htm" rel="mismatch">
|
||||
<link href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" rel="author" title="Gérard Talbot">
|
||||
<link href="http://www.w3.org/TR/css-writing-modes-3/#text-combine-fullwidth" rel="help" title="9.1.3.1. Full-width Characters">
|
||||
<link href="https://www.w3.org/TR/css-text-3/#text-transform-property" rel="help" title="2.1. Case Transforms: the 'text-transform' property">
|
||||
<link href="reference/full-width-002-notcu-notref.htm" rel="mismatch">
|
||||
<link href="reference/full-width-002-horizontal-notref.htm" rel="mismatch">
|
||||
<meta content="asis should" name="flags">
|
||||
<meta content="When two or more full-width characters are combined, they are first converted to non-full-width characters." name="assert">
|
||||
|
||||
<!--
|
||||
This test is the equivalent of the "23" day in the
|
||||
<date>2010年2月23日</date> example of example 17 in
|
||||
section 9.1.3.1 of the specification
|
||||
-->
|
||||
|
||||
<style>
|
||||
.test {
|
||||
writing-mode: vertical-rl;
|
||||
}
|
||||
.tcy {
|
||||
text-combine-upright: digits 2;
|
||||
text-transform: full-width;
|
||||
}
|
||||
div
|
||||
{
|
||||
font-size: 64px;
|
||||
writing-mode: vertical-rl;
|
||||
}
|
||||
|
||||
.tcu-all {
|
||||
text-combine-upright: all;
|
||||
}
|
||||
div > p
|
||||
{
|
||||
border: black solid 1px;
|
||||
}
|
||||
|
||||
span.tcu-digits2
|
||||
{
|
||||
text-combine-upright: digits 2;
|
||||
}
|
||||
|
||||
span.full-width
|
||||
{
|
||||
text-transform: full-width;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>Test passes if the following paragraphs are identical:</p>
|
||||
<p>Test passes if the glyphs in the 3 rectangles have the <strong>same order</strong>, the <strong>same orientation</strong> and the <strong>same layout</strong>; a different inter-character spacing is considered as PASS.</p>
|
||||
|
||||
<div>
|
||||
|
||||
<p id="test1"><span class="full-width tcu-digits2">28</span>日</p>
|
||||
|
||||
<!-- 2 is the ISO-Latin1 digit 2 -->
|
||||
|
||||
<!-- 8 is the ISO-Latin1 digit 8 -->
|
||||
|
||||
<p id="test2"><span class="tcu-digits2">28</span>日</p>
|
||||
|
||||
<!-- 2 is the FULLWIDTH DIGIT 2 (≈ <wide> 0032 2)-->
|
||||
|
||||
<!-- 8 is the FULLWIDTH DIGIT 8 (≈ <wide> 0038 8)-->
|
||||
|
||||
<p id="reference"><span class="tcu-digits2">28</span>日</p>
|
||||
|
||||
<div class="test">
|
||||
<p><span class="tcy">6</span>月<span class="tcy">19</span>日</p>
|
||||
<p>6月<span class="tcu-all">19</span>日</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue