tor-browser

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

text-wrap-pretty.html (1374B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Text Module Test: text-wrap: pretty parsing</title>
      6 <link rel="author" title="Tim Nguyen" href="https://github.com/nt1m">
      7 <link rel="help" href="https://drafts.csswg.org/css-text-4/#text-wrap">
      8 <meta name="assert" content="text-wrap: pretty parsing">
      9 <script src="/resources/testharness.js"></script>
     10 <script src="/resources/testharnessreport.js"></script>
     11 <script src="/css/support/parsing-testcommon.js"></script>
     12 <script src="/css/support/computed-testcommon.js"></script>
     13 </head>
     14 <body>
     15 <div id="target"></div>
     16 <script>
     17 test_valid_value("text-wrap", "pretty");
     18 test_valid_value("text-wrap", "wrap pretty", "pretty");
     19 test_valid_value("text-wrap", "pretty wrap", "pretty");
     20 test_valid_value("text-wrap", "stable wrap", "stable");
     21 test_valid_value("text-wrap", "nowrap pretty");
     22 test_valid_value("text-wrap", "pretty nowrap", "nowrap pretty");
     23 test_valid_value("text-wrap-style", "pretty");
     24 
     25 test_computed_value("text-wrap", "pretty");
     26 test_computed_value("text-wrap", "wrap pretty", "pretty");
     27 test_computed_value("text-wrap", "pretty wrap", "pretty");
     28 test_computed_value("text-wrap", "stable wrap", "stable");
     29 test_computed_value("text-wrap", "nowrap pretty");
     30 test_computed_value("text-wrap", "pretty nowrap", "nowrap pretty");
     31 test_computed_value("text-wrap-style", "pretty");
     32 </script>
     33 </body>
     34 </html>