tor-browser

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

line-breaking-020.html (871B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Text Test: Simple line breaking test</title>
      4 <link rel="author" title="Koji Ishii" href="mailto:kojiishi@gmail.com">
      5 <link rel="help" href="https://crbug.com/1002442">
      6 <script src="/resources/testharness.js"></script>
      7 <script src="/resources/testharnessreport.js"></script>
      8 <style>
      9 body {
     10  font-family: Arial, Helvetica, sans-serif;
     11  font-size: 12px;
     12 }
     13 p {
     14  width: 460px;
     15 }
     16 </style>
     17 <body>
     18 <p>
     19 abschließend geklärt. Allerdings scheint eine gewisse <b>genetische Veranlagung</b> eine
     20 Zahl der Typ-1-Diabetiker gerade unter Kleinkindern stetig wächst. Daher rücken auch <b>Virusinfektionen</b> in den Fokus
     21 </p>
     22 <script>
     23 test(() => {
     24  for (let e of document.getElementsByTagName('b')) {
     25    let bounds = e.getBoundingClientRect();
     26    assert_less_than_equal(bounds.x + bounds.width, 460);
     27  }
     28 });
     29 </script>
     30 </body>