tor-browser

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

text-overflow-valid.html (764B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Overflow: parsing text-overflow with valid values</title>
      6 <link rel="help" href="https://drafts.csswg.org/css-overflow/#propdef-text-overflow">
      7 <meta name="assert" content="text-overflow supports the full grammar 'clip | ellipsis | <string>'.">
      8 <script src="/resources/testharness.js"></script>
      9 <script src="/resources/testharnessreport.js"></script>
     10 <script src="/css/support/parsing-testcommon.js"></script>
     11 </head>
     12 <body>
     13 <script>
     14 test_valid_value("text-overflow", 'clip');
     15 test_valid_value("text-overflow", 'ellipsis');
     16 
     17 // <string>
     18 test_valid_value("text-overflow", `""`);
     19 test_valid_value("text-overflow", `"-"`);
     20 test_valid_value("text-overflow", `"marker string"`);
     21 </script>
     22 </body>
     23 </html>