| Index: third_party/WebKit/LayoutTests/fast/alignment/resources/alignment-parsing-utils.js
|
| diff --git a/third_party/WebKit/LayoutTests/fast/alignment/resources/alignment-parsing-utils.js b/third_party/WebKit/LayoutTests/fast/alignment/resources/alignment-parsing-utils.js
|
| index 446a0f93d0e026d65fdb888949434ee1bb30fe37..d019691b1399954708c5f04eeeffe9729924de5b 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/alignment/resources/alignment-parsing-utils.js
|
| +++ b/third_party/WebKit/LayoutTests/fast/alignment/resources/alignment-parsing-utils.js
|
| @@ -8,8 +8,10 @@ function checkValues(element, property, propertyID, value, computedValue)
|
|
|
| function checkBadValues(element, property, propertyID, value)
|
| {
|
| + var elementID = element.id || "element";
|
| + var initialValue = eval("window.getComputedStyle(" + elementID + " , '').getPropertyValue('" + propertyID + "')");
|
| element.style[property] = value;
|
| - checkValues(element, property, propertyID, "", "start");
|
| + checkValues(element, property, propertyID, "", initialValue);
|
| }
|
|
|
| function checkInitialValues(element, property, propertyID, value, initial)
|
|
|