tor-browser

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

line-height-4-ref.html (736B)


      1 <title>Bug 1134206 - Ruby line spacing adjustment on quirks mode</title>
      2 <link rel="stylesheet" href="common.css">
      3 <script type="text/javascript" src="utils.js"></script>
      4 <body style="font: 25px/1 Ahem">
      5 <div id="base">
      6  <span id="inline">base</span>
      7  <span id="text1" style="font-size: 80%; color: transparent">text</span>
      8  <span id="text2" style="font-size: 50%; color: transparent">text</span>
      9 </div>
     10 next line
     11 <script>
     12  // Simulate the behavior of ruby layout.
     13  var base = document.getElementById('base');
     14  makeBSizeMatchInlineBox(base, document.getElementById('inline'));
     15  base.style.paddingTop = getBSize(document.getElementById('text1'));
     16  base.style.paddingBottom = getBSize(document.getElementById('text2'));
     17 </script>