tor-browser

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

text-autospace-computed.html (3269B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Text: getComputedStyle().textAutospace</title>
      6 <link rel="help" href="https://drafts.csswg.org/css-text-4/#propdef-text-autospace">
      7 <script src="/resources/testharness.js"></script>
      8 <script src="/resources/testharnessreport.js"></script>
      9 <script src="/css/support/computed-testcommon.js"></script>
     10 </head>
     11 <body>
     12 <div id="target"></div>
     13 <script>
     14 test_computed_value("text-autospace", "initial", "normal");
     15 
     16 test_computed_value("text-autospace", "normal");
     17 test_computed_value("text-autospace", "no-autospace");
     18 
     19 test_computed_value("text-autospace", "auto");
     20 
     21 test_computed_value("text-autospace", "ideograph-alpha");
     22 test_computed_value("text-autospace", "ideograph-numeric");
     23 test_computed_value("text-autospace", "ideograph-alpha ideograph-numeric");
     24 
     25 test_computed_value("text-autospace", "punctuation");
     26 test_computed_value("text-autospace", "punctuation ideograph-alpha", "ideograph-alpha punctuation");
     27 test_computed_value("text-autospace", "punctuation ideograph-alpha ideograph-numeric", "ideograph-alpha ideograph-numeric punctuation");
     28 
     29 test_computed_value("text-autospace", "ideograph-alpha insert");
     30 test_computed_value("text-autospace", "ideograph-numeric insert");
     31 test_computed_value("text-autospace", "ideograph-alpha ideograph-numeric insert");
     32 
     33 test_computed_value("text-autospace", "punctuation insert");
     34 test_computed_value("text-autospace", "punctuation ideograph-alpha insert", "ideograph-alpha punctuation insert");
     35 
     36 test_computed_value("text-autospace", "insert ideograph-alpha", "ideograph-alpha insert");
     37 test_computed_value("text-autospace", "insert ideograph-numeric", "ideograph-numeric insert");
     38 test_computed_value("text-autospace", "insert ideograph-alpha ideograph-numeric", "ideograph-alpha ideograph-numeric insert");
     39 
     40 test_computed_value("text-autospace", "insert punctuation", "punctuation insert");
     41 test_computed_value("text-autospace", "insert punctuation ideograph-alpha", "ideograph-alpha punctuation insert");
     42 test_computed_value("text-autospace", "insert punctuation ideograph-alpha ideograph-numeric", "ideograph-alpha ideograph-numeric punctuation insert");
     43 
     44 test_computed_value("text-autospace", "ideograph-alpha replace");
     45 test_computed_value("text-autospace", "ideograph-numeric replace");
     46 test_computed_value("text-autospace", "ideograph-alpha ideograph-numeric replace");
     47 
     48 test_computed_value("text-autospace", "punctuation replace");
     49 test_computed_value("text-autospace", "punctuation ideograph-alpha replace", "ideograph-alpha punctuation replace");
     50 
     51 test_computed_value("text-autospace", "replace ideograph-alpha", "ideograph-alpha replace");
     52 test_computed_value("text-autospace", "replace ideograph-numeric", "ideograph-numeric replace");
     53 test_computed_value("text-autospace", "replace ideograph-alpha ideograph-numeric", "ideograph-alpha ideograph-numeric replace");
     54 
     55 test_computed_value("text-autospace", "replace punctuation", "punctuation replace");
     56 test_computed_value("text-autospace", "replace punctuation ideograph-alpha", "ideograph-alpha punctuation replace");
     57 test_computed_value("text-autospace", "replace punctuation ideograph-alpha ideograph-numeric", "ideograph-alpha ideograph-numeric punctuation replace");
     58 </script>
     59 </body>
     60 </html>