tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

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