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