pseudo-first-line.html (446B)
1 <!DOCTYPE html> 2 <link rel="help" href="https://drafts.csswg.org/css-ruby/#placement"> 3 <link rel="help" href="https://drafts.csswg.org/css-pseudo/#first-line-styling"> 4 <link rel="match" href="pseudo-first-line-ref.html"> 5 <style> 6 div::first-line { 7 ruby-position: under; 8 color: orange; 9 } 10 ruby::first-line, rt::first-line { 11 color: red; 12 } 13 </style> 14 <div>foo <ruby>base<rt>annotation</rt></ruby><br> 15 bar <ruby>base<rt>annotation</rt></ruby></div>