| Index: LayoutTests/fast/alignment/resources/alignment-parsing-utils.js
|
| diff --git a/LayoutTests/fast/alignment/resources/alignment-parsing-utils.js b/LayoutTests/fast/alignment/resources/alignment-parsing-utils.js
|
| index 4670fc8fd6795d728370861b7459f9820bdcd057..7d88793ec77e297df8798706def49a47215c48bd 100644
|
| --- a/LayoutTests/fast/alignment/resources/alignment-parsing-utils.js
|
| +++ b/LayoutTests/fast/alignment/resources/alignment-parsing-utils.js
|
| @@ -8,7 +8,7 @@ function checkValues(element, property, propertyID, value, computedValue)
|
|
|
| function checkBadValues(element, property, propertyID, value)
|
| {
|
| - element.style.justifyItems = value;
|
| + element.style[property] = value;
|
| checkValues(element, property, propertyID, "", "start");
|
| }
|
|
|
| @@ -20,9 +20,9 @@ function checkInitialValues(element, property, propertyID, display, value)
|
| initial = "stretch";
|
| }
|
|
|
| - element.style.justifyItems = value;
|
| + element.style[property] = value;
|
| checkValues(element, property, propertyID, value, value);
|
| - element.style.justifyItems = "initial";
|
| + element.style[property] = "initial";
|
| checkValues(element, property, propertyID, "initial", initial);
|
| }
|
|
|
| @@ -30,19 +30,19 @@ function checkInheritValues(element, property, propertyID, value)
|
| {
|
| parentElement = document.createElement("div");
|
| document.body.appendChild(parentElement);
|
| - parentElement.style.justifyItems = value;
|
| + parentElement.style[property] = value;
|
| checkValues(parentElement, property, propertyID, value, value);
|
|
|
| element = document.createElement("div");
|
| parentElement.appendChild(element);
|
| - element.style.justifyItems = "inherit";
|
| + element.style[property] = "inherit";
|
| checkValues(element, property, propertyID, "inherit", value);
|
| }
|
|
|
| function checkLegacyValues(element, property, propertyID, value)
|
| {
|
| document.body.appendChild(parentElement);
|
| - parentElement.style.justifyItems = value;
|
| + parentElement.style[property] = value;
|
| checkValues(parentElement, property, propertyID, value, value);
|
|
|
| element = document.createElement("div");
|
|
|