ruby-box-generation-002.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-002-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 <rt>a</rt> <rt>b</rt> 28 <rbc><rb>c</rb></rbc> <rbc><rb>d</rb></rbc> 29 <rt>e</rt> <rtc><rt>f</rt></rtc> 30 <rt>g</rt> <span>h</span> 31 <rt>i</rt> <rb>j</rb> 32 <rbc><rb>k</rb></rbc> <rb>l</rb> 33 <rtc><rt>m</rt></rtc> <rtc><rt>n</rt></rtc> 34 <span>o</span> <span>p</span> 35 <rtc><rt>q</rt></rtc> <rbc><rb>r</rb></rbc> 36 <span>s</span> <rbc><rb>t</rb></rbc> 37 <rtc><rt>u</rt></rtc> <rb>v</rb> 38 <rb>w</rb> <span>x</span> 39 <rb>y</rb> <rt>z</rt> 40 </ruby>|</p> 41 42 <p>| <rt>a</rt> <rt>b</rt> 43 <rbc><rb>c</rb></rbc> <rbc><rb>d</rb></rbc> 44 <rt>e</rt> <rtc><rt>f</rt></rtc> 45 <rt>g</rt> <span>h</span> 46 <rt>i</rt> <rb>j</rb> 47 <rbc><rb>k</rb></rbc> <rb>l</rb> 48 <rtc><rt>m</rt></rtc> <rtc><rt>n</rt></rtc> 49 <span>o</span> <span>p</span> 50 <rtc><rt>q</rt></rtc> <rbc><rb>r</rb></rbc> 51 <span>s</span> <rbc><rb>t</rb></rbc> 52 <rtc><rt>u</rt></rtc> <rb>v</rb> 53 <rb>w</rb> <span>x</span> 54 <rb>y</rb> <rt>z</rt> |</p> 55 56 </body>