abs-in-ruby-base.html (608B)
1 <!DOCTYPE html> 2 <meta charset="UTF-8"> 3 <title>Absolutely-positioned element in ruby base</title> 4 <link rel="author" title="Xidorn Quan" href="https://www.upsuper.org"> 5 <link rel="help" href="https://drafts.csswg.org/css-ruby-1/#formatting-context"> 6 <link rel="match" href="abs-in-ruby-base-ref.html"> 7 <link rel="stylesheet" href="/fonts/ahem.css"> 8 <link rel="stylesheet" href="support/ruby-common.css"> 9 <style> 10 .rel { position: relative; } 11 .abs { position: absolute; left: 0; top: -1em; } 12 </style> 13 <body style="font: 50px/3 Ahem"> 14 X<ruby><rbc><rb class="rel"><span class="abs">X</span></rb></rbc></ruby>