tor-browser

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

overflow-wrap-break-word-span-002.html (714B)


      1 <!DOCTYPE html>
      2 <title>CSS Text Test: overflow-wrap: break-word</title>
      3 <link rel="author" title="Koji Ishii" href="kojii@chromium.org">
      4 <link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-overflow-wrap-break-word">
      5 <meta name="assert" content="Test when the `break-word` value is applied to an inline element.">
      6 <script src="/resources/testharness.js"></script>
      7 <script src="/resources/testharnessreport.js"></script>
      8 <script src="/resources/check-layout-th.js"></script><style>
      9 div {
     10  font-size: 10px;
     11  line-height: 1;
     12  width: 5ch;
     13 }
     14 span {
     15  word-wrap: break-word;
     16 }
     17 </style>
     18 <div id=container data-expected-height=20>12345678<span>90</span></div>
     19 
     20 <script>
     21 checkLayout('#container')
     22 </script>