tor-browser

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

ruby-line-breaking-003.html (992B)


      1 <!DOCTYPE html>
      2 <html lang="ja">
      3 <meta charset="UTF-8">
      4 <title>Dynamic break point change in ruby</title>
      5 <link rel="author" title="Xidorn Quan" href="https://www.upsuper.org">
      6 <link rel="author" title="Mozilla" href="https://www.mozilla.org">
      7 <link rel="help" href="https://drafts.csswg.org/css-ruby-1/#break-between">
      8 <link rel="match" href="ruby-line-breaking-003-ref.html">
      9 <link rel="stylesheet" href="support/ruby-common.css">
     10 <style>
     11  #test {
     12    border: 1px solid;
     13    text-align: center;
     14  }
     15 </style>
     16 <div id="test">
     17  <p><ruby><rb><rb><rb><rb><rb><rb><rb><rb></ruby></p>
     18  <p><ruby><rbc></rbc><rbc></rbc><rbc></rbc><rbc></rbc><rbc></rbc><rbc></rbc><rbc></rbc><rbc></rbc></ruby></p>
     19 </div>
     20 <script>
     21  let div = document.getElementById("test");
     22  document.body.offsetHeight;
     23  test.style.width = "2.5em";
     24  document.body.offsetHeight;
     25  test.style.width = "4.5em";
     26  document.body.offsetHeight;
     27  test.style.width = "2.5em";
     28 </script>