intra-base-white-space-001.html (1211B)
1 <!DOCTYPE html> 2 3 <meta charset="UTF-8"> 4 5 <title>CSS Ruby Test: intra-base white space (complex)</title> 6 7 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> 8 <link rel="help" href="https://www.w3.org/TR/css-ruby-1/#white-space"> 9 <link rel="match" href="reference/intra-base-white-space-001-ref.html"> 10 11 <meta content="" name="flags"> 12 <meta content="This test checks that a single intra-base white space must be used when doing unit box pairing as long as it does not begin a ruby base container box or it does not end a ruby base container box. In this test, a leading white space inside of a ruby base unit box (the 'c' one) and a trailing white space inside of a ruby base unit box (the 'd' one) are collapsible white spaces across adjacent ruby base boxes according to white space processing rules."> 13 14 <style> 15 ruby 16 { 17 background-color: lightblue; 18 font-size: 60px; 19 } 20 </style> 21 22 <ruby> 23 24 b<rb> </rb><rb> c</rb><rb>d </rb><rb> </rb><rb>e</rb> 25 26 <rt>a</rt><rt></rt><rt>a</rt><rt>a</rt><rt></rt><rt>a</rt> 27 28 </ruby> 29 30 <!-- 31 32 |[ a ]|[ ]|[ a ]| [ a ] |[]|[ a ]| 33 |[ b ]|[ws]|[ c ]|[ d ][ws]|[]|[ e ]| 34 35 -->