tor-browser

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

fallback.html (885B)


      1 <!DOCTYPE html>
      2 <link rel="help" href="https://drafts.csswg.org/css-counter-styles-3/#counter-style-fallback">
      3 <link rel="author" href="mailto:xiaochengh@chromium.org">
      4 <script src="/resources/testharness.js"></script>
      5 <script src="/resources/testharnessreport.js"></script>
      6 <script src="support/counter-style-testcommon.js"></script>
      7 <script>
      8 function test_valid_fallback(value) {
      9  test_valid_counter_style_descriptor('fallback', value);
     10 }
     11 
     12 function test_invalid_fallback(value) {
     13  test_invalid_counter_style_descriptor('fallback', value);
     14 }
     15 
     16 // <counter-style-name>
     17 
     18 test_valid_fallback('bar');
     19 
     20 // Counter style names are custom identifiers, not strings
     21 test_invalid_fallback('"bar"');
     22 
     23 // The following are not valid counter style names
     24 test_invalid_fallback('none');
     25 test_invalid_fallback('initial');
     26 test_invalid_fallback('inherit');
     27 test_invalid_fallback('unset');
     28 
     29 </script>