File: full-width-002.html

package info (click to toggle)
thunderbird 1%3A140.3.1esr-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,608,628 kB
  • sloc: cpp: 7,671,698; javascript: 5,901,131; ansic: 3,898,955; python: 1,413,270; xml: 653,997; asm: 462,284; java: 180,948; sh: 113,489; makefile: 20,460; perl: 14,288; objc: 13,059; yacc: 4,583; pascal: 3,352; lex: 1,720; ruby: 1,222; exp: 762; sql: 715; awk: 580; php: 436; lisp: 430; sed: 70; csh: 10
file content (68 lines) | stat: -rw-r--r-- 2,193 bytes parent folder | download | duplicates (31)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Writing Modes: 'text-combine-upright: all' applied on 2 full-width characters</title>
<link rel="author" title="Masataka Yakura" href="http://google.com/+MasatakaYakura">
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<link rel="reviewer" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"> <!-- 2016-09-29 -->
<link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#text-combine-fullwidth" title="9.1.3.1. Full-width Characters">
<link rel="help" href="https://www.w3.org/TR/css-text-3/#text-transform-property" title="2.1. Case Transforms: the 'text-transform' property">
<link rel="mismatch" href="reference/full-width-002-notcu-notref.html">
<link rel="mismatch" href="reference/full-width-002-horizontal-notref.html">
<meta content="asis should" name="flags">
<meta name="assert" content="When two or more full-width characters are combined, they are first converted to non-full-width characters.">

  <!--
  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>
  div
    {
      font-size: 64px;
      writing-mode: vertical-rl;
    }

  div > p
    {
      border: black solid 1px;
    }

  span.tcu-all
    {
      text-combine-upright: all;
    }

  span.full-width
    {
      text-transform: full-width;
    }
</style>
</head>
<body>

<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-all">&#x32;&#x38;</span>日</p>

  <!-- &#x32; is the ISO-Latin1 digit 2 -->

  <!-- &#x38; is the ISO-Latin1 digit 8 -->

  <p id="test2"><span class="tcu-all">&#xFF12;&#xFF18;</span>日</p>

  <!-- &#xFF12; is the FULLWIDTH DIGIT 2 (≈ <wide> 0032 2)-->

  <!-- &#xFF18; is the FULLWIDTH DIGIT 8 (≈ <wide> 0038 8)-->

  <p id="reference"><span class="tcu-all">28</span>日</p>

</div>

</body>
</html>