flex-grow-invalid.html (788B)
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 invalid 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 only the 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_invalid_value("flex-grow", "2e3.4"); 16 test_invalid_value("flex-grow", "-+5"); 17 test_invalid_value("flex-grow", "6 7"); 18 19 test_invalid_value("flex-grow", "1."); // Accepted by Edge. 20 </script> 21 </body> 22 </html>