| Index: LayoutTests/fast/css-grid-layout/resources/grid-definitions-parsing-utils.js
|
| diff --git a/LayoutTests/fast/css-grid-layout/resources/grid-definitions-parsing-utils.js b/LayoutTests/fast/css-grid-layout/resources/grid-definitions-parsing-utils.js
|
| index edbcd7c8a331102046623de503cb824b4579d0d0..f0876da142bad0d8bd229102690c110b37254e81 100644
|
| --- a/LayoutTests/fast/css-grid-layout/resources/grid-definitions-parsing-utils.js
|
| +++ b/LayoutTests/fast/css-grid-layout/resources/grid-definitions-parsing-utils.js
|
| @@ -61,3 +61,11 @@ function checkGridAutoFlowSetJSValue(newValue, expectedStyleValue, expectedCompu
|
| shouldBe("window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow')", "'" + expectedComputedStyleValue + "'");
|
| document.body.removeChild(element);
|
| }
|
| +
|
| +function testGridAutoDefinitionsValues(element, computedRowValue, computedColumnValue)
|
| +{
|
| + window.element = element;
|
| + var elementID = element.id || "element";
|
| + shouldBeEqualToString("window.getComputedStyle(" + elementID + ", '').getPropertyValue('grid-auto-rows')", computedRowValue);
|
| + shouldBeEqualToString("window.getComputedStyle(" + elementID + ", '').getPropertyValue('grid-auto-columns')", computedColumnValue);
|
| +}
|
|
|