hyphenate-limit-chars-computed.html (1055B)
1 <!DOCTYPE html> 2 <title>CSS Text: hyphenate-limit-chars with computed values</title> 3 <link rel="help" href="https://drafts.csswg.org/css-text-4/#propdef-hyphenate-limit-chars"> 4 <script src="/resources/testharness.js"></script> 5 <script src="/resources/testharnessreport.js"></script> 6 <script src="/css/support/computed-testcommon.js"></script> 7 <div id="target"></div> 8 <script> 9 test_computed_value("hyphenate-limit-chars", "auto"); 10 test_computed_value("hyphenate-limit-chars", "auto auto", "auto"); 11 test_computed_value("hyphenate-limit-chars", "auto auto auto", "auto"); 12 test_computed_value("hyphenate-limit-chars", "5"); 13 test_computed_value("hyphenate-limit-chars", "5 2"); 14 test_computed_value("hyphenate-limit-chars", "5 2 3"); 15 test_computed_value("hyphenate-limit-chars", "5 2 calc(3.1)", "5 2 3"); 16 test_computed_value("hyphenate-limit-chars", "auto 2"); 17 test_computed_value("hyphenate-limit-chars", "auto 2 2", "auto 2"); 18 test_computed_value("hyphenate-limit-chars", "auto 2 auto"); 19 test_computed_value("hyphenate-limit-chars", "auto auto 2"); 20 </script>