WebKit export of https://bugs.webkit.org/show_bug.cgi?id=249601 (#37589)
diff --git a/css/css-typed-om/the-stylepropertymap/properties/grid-template-columns-rows.html b/css/css-typed-om/the-stylepropertymap/properties/grid-template-columns-rows.html
index ae53c2d..6908144 100644
--- a/css/css-typed-om/the-stylepropertymap/properties/grid-template-columns-rows.html
+++ b/css/css-typed-om/the-stylepropertymap/properties/grid-template-columns-rows.html
@@ -16,6 +16,18 @@
for (const suffix of ['columns', 'rows']) {
runPropertyTests(`grid-template-${suffix}`, [
{ syntax: 'none' },
+ {
+ syntax: '<length>',
+ specified: assert_is_equal_with_range_handling
+ },
+ {
+ syntax: '<percentage>',
+ specified: assert_is_equal_with_range_handling
+ },
+ {
+ syntax: '<flex>',
+ specified: assert_is_equal_with_range_handling
+ }
]);
runUnsupportedPropertyTests(`grid-template-${suffix}`, [
diff --git a/css/css-typed-om/the-stylepropertymap/properties/resources/testsuite.js b/css/css-typed-om/the-stylepropertymap/properties/resources/testsuite.js
index 2c0df91..9708c5c 100644
--- a/css/css-typed-om/the-stylepropertymap/properties/resources/testsuite.js
+++ b/css/css-typed-om/the-stylepropertymap/properties/resources/testsuite.js
@@ -193,12 +193,17 @@
description: "one fraction",
input: new CSSUnitValue(1, 'fr')
},
+ // TODO(https://github.com/w3c/css-houdini-drafts/issues/734):
+ // Add calc tests involving 'fr' when that is spec'd in CSS.
+ ],
+ },
+ '<negative-flex>': {
+ description: 'a flexible length',
+ examples: [
{
description: "negative fraction",
input: new CSSUnitValue(-3.14, 'fr')
},
- // TODO(https://github.com/w3c/css-houdini-drafts/issues/734):
- // Add calc tests involving 'fr' when that is spec'd in CSS.
],
},
'<number>': {