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

Unified Diff: LayoutTests/fast/css/script-tests/transform-origin-parsing.js

Issue 1274643002: CSSStyleDeclaraction returns empty string (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed changes from imported/csswg-test Created 5 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: LayoutTests/fast/css/script-tests/transform-origin-parsing.js
diff --git a/LayoutTests/fast/css/script-tests/transform-origin-parsing.js b/LayoutTests/fast/css/script-tests/transform-origin-parsing.js
index da82b4c5c85765983a533d809515b54c1a0e7e4f..43759c889cc8342b1a3b59e30d42af2fe4bd2155 100644
--- a/LayoutTests/fast/css/script-tests/transform-origin-parsing.js
+++ b/LayoutTests/fast/css/script-tests/transform-origin-parsing.js
@@ -12,10 +12,10 @@ function test(declaration, property)
return result;
}
-shouldBe('test("-webkit-transform-origin: 10% 10% 10%", "-webkit-transform-origin")', 'null');
+shouldBeEqualToString('test("-webkit-transform-origin: 10% 10% 10%", "-webkit-transform-origin")', '');
shouldBe('test("-webkit-transform-origin: 10% 10% 10px", "-webkit-transform-origin")', '"10% 10% 10px"');
-shouldBe('test("-webkit-transform-origin: 10px 10px 10%", "-webkit-transform-origin")', 'null');
+shouldBeEqualToString('test("-webkit-transform-origin: 10px 10px 10%", "-webkit-transform-origin")', '');
shouldBe('test("-webkit-transform-origin: 10px 10px 10px", "-webkit-transform-origin")', '"10px 10px 10px"');
-shouldBe('test("-webkit-transform-origin: left top 10%", "-webkit-transform-origin")', 'null');
+shouldBeEqualToString('test("-webkit-transform-origin: left top 10%", "-webkit-transform-origin")', '');
shouldBe('test("-webkit-transform-origin: left top 10px", "-webkit-transform-origin")', '"left top 10px"');
-shouldBe('test("-webkit-transform-origin: left top left", "-webkit-transform-origin")', 'null');
+shouldBeEqualToString('test("-webkit-transform-origin: left top left", "-webkit-transform-origin")', '');

Powered by Google App Engine
This is Rietveld 408576698