Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: third_party/WebKit/LayoutTests/fast/alignment/resources/alignment-parsing-utils-th.js

Issue 1709963002: [css-align] New CSS Value 'normal' for Self Alignment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Getting back the FullScreen fix, missed during the rebase. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698