flex-grow-valid.html (842B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Flexible Box Layout Module Level 1: parsing flex-grow with valid values</title> 6 <link rel="author" title="Eric Willigers" href="mailto:ericwilligers@chromium.org"> 7 <link rel="help" href="https://drafts.csswg.org/css-flexbox/#propdef-flex-grow"> 8 <meta name="assert" content="flex-grow supports the full grammar '<number>'."> 9 <script src="/resources/testharness.js"></script> 10 <script src="/resources/testharnessreport.js"></script> 11 <script src="/css/support/parsing-testcommon.js"></script> 12 </head> 13 <body> 14 <script> 15 test_valid_value("flex-grow", "1"); 16 test_valid_value("flex-grow", "23.4e5", ["2.34e+06", "2.34e+006", "2340000"]); 17 test_valid_value("flex-grow", "+.678E9", ["6.78e+08", "6.78e+008", "678000000"]); 18 test_valid_value("flex-grow", ".0", "0"); 19 </script> 20 </body> 21 </html>