ruby-box-generation-001.html (2020B)
1 <!DOCTYPE html> 2 <meta charset="UTF-8"> 3 <title>Test for pseudo ruby box generation</title> 4 <link rel="author" title="Xidorn Quan" href="https://www.upsuper.org"> 5 <link rel="author" title="Mozilla" href="https://www.mozilla.org"> 6 <link rel="help" href="https://drafts.csswg.org/css-ruby-1/#box-fixup"> 7 <link rel="stylesheet" href="support/ruby-common.css"> 8 <link rel="match" href="ruby-box-generation-001-ref.html"> 9 <body class="large"> 10 11 <!-- 12 The tests are written in this way: 13 there are five different elements may appear in a ruby container: rb, rt, 14 rbc, rtc, and inline content. 15 16 In each test file, there are two parts: all elements are wrapped inside a 17 <ruby> in one part, they are directly contained by a <p> in the other part. 18 19 In each part, all permutations of pairs of two adjacent elements are 20 presented, so there are 5*5+1=26 elements. 21 22 The five test files share the same structure, but with different element 23 type order. 24 --> 25 26 <p>|<ruby> 27 <rb>a</rb> <rb>b</rb> 28 <rt>c</rt> <rt>d</rt> 29 <rb>e</rb> <rbc><rb>f</rb></rbc> 30 <rb>g</rb> <rtc><rt>h</rt></rtc> 31 <rb>i</rb> <span>j</span> 32 <rt>k</rt> <span>l</span> 33 <rbc><rb>m</rb></rbc> <rbc><rb>n</rb></rbc> 34 <rtc><rt>o</rt></rtc> <rtc><rt>p</rt></rtc> 35 <rbc><rb>q</rb></rbc> <rt>r</rt> 36 <rtc><rt>s</rt></rtc> <rt>t</rt> 37 <rbc><rb>u</rb></rbc> <span>v</span> 38 <span>w</span> <rtc><rt>x</rt></rtc> 39 <span>y</span> <rb>z</rb> 40 </ruby>|</p> 41 42 <p>| <rb>a</rb> <rb>b</rb> 43 <rt>c</rt> <rt>d</rt> 44 <rb>e</rb> <rbc><rb>f</rb></rbc> 45 <rb>g</rb> <rtc><rt>h</rt></rtc> 46 <rb>i</rb> <span>j</span> 47 <rt>k</rt> <span>l</span> 48 <rbc><rb>m</rb></rbc> <rbc><rb>n</rb></rbc> 49 <rtc><rt>o</rt></rtc> <rtc><rt>p</rt></rtc> 50 <rbc><rb>q</rb></rbc> <rt>r</rt> 51 <rtc><rt>s</rt></rtc> <rt>t</rt> 52 <rbc><rb>u</rb></rbc> <span>v</span> 53 <span>w</span> <rtc><rt>x</rt></rtc> 54 <span>y</span> <rb>z</rb> |</p> 55 56 </body>