Index: third_party/WebKit/LayoutTests/fast/alignment/resources/alignment-parsing-utils-th.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-th.js |
similarity index 87% |
copy from third_party/WebKit/LayoutTests/fast/alignment/resources/alignment-parsing-utils.js |
copy to third_party/WebKit/LayoutTests/fast/alignment/resources/alignment-parsing-utils-th.js |
index d019691b1399954708c5f04eeeffe9729924de5b..ee35414d8c3f0e2d5531e70a08cd03f76cc9e07b 100644 |
--- a/third_party/WebKit/LayoutTests/fast/alignment/resources/alignment-parsing-utils.js |
+++ b/third_party/WebKit/LayoutTests/fast/alignment/resources/alignment-parsing-utils-th.js |
@@ -2,8 +2,8 @@ function checkValues(element, property, propertyID, value, computedValue) |
{ |
window.element = element; |
var elementID = element.id || "element"; |
- shouldBeEqualToString("element.style." + property, value); |
- shouldBeEqualToString("window.getComputedStyle(" + elementID + ", '').getPropertyValue('" + propertyID + "')", computedValue); |
+ assert_equals(eval("element.style." + property), value, property + " specified value is not what it should.."); |
+ assert_equals(eval("window.getComputedStyle(" + elementID + ", '').getPropertyValue('" + propertyID + "')"), computedValue, property + " is not what is should."); |
} |
function checkBadValues(element, property, propertyID, value) |