rt-display-001.html (711B)
1 <!DOCTYPE html> 2 3 <meta charset="UTF-8"> 4 5 <title>CSS Ruby Test: element with 'display: ruby-text' (basic)</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/#ruby-display"> 9 <link rel="help" href="https://www.w3.org/TR/css-ruby-1/#base-annotation-pairing"> 10 <link rel="match" href="reference/rb-display-001-ref.html"> 11 12 13 <style> 14 ruby 15 { 16 background-color: lightblue; 17 font-size: 60px; 18 } 19 20 span.rt 21 { 22 display: ruby-text; 23 font-size: 50%; 24 } 25 </style> 26 27 <ruby><rb>bas</rb><rb>bas</rb><span class="rt">T</span><span class="rt">T</span></ruby>