tor-browser

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

text-box-shorthand.html (782B)


      1 <!DOCTYPE html>
      2 <title>text-box shorthand defaults omitted values per spec</title>
      3 <link rel="help" href="https://drafts.csswg.org/css-inline-3/#propdef-text-box">
      4 <script src="/resources/testharness.js"></script>
      5 <script src="/resources/testharnessreport.js"></script>
      6 <script src="/css/support/shorthand-testcommon.js"></script>
      7 <script>
      8 test_shorthand_value('text-box', 'normal', {
      9  'text-box-trim': 'none',
     10  'text-box-edge': 'auto',
     11 });
     12 
     13 test_shorthand_value('text-box', 'none', {
     14  'text-box-trim': 'none',
     15  'text-box-edge': 'auto',
     16 });
     17 
     18 test_shorthand_value('text-box', 'trim-start', {
     19  'text-box-trim': 'trim-start',
     20  'text-box-edge': 'auto',
     21 });
     22 
     23 test_shorthand_value('text-box', 'ex text', {
     24  'text-box-trim': 'trim-both',
     25  'text-box-edge': 'ex text',
     26 });
     27 </script>