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

Unified Diff: LayoutTests/fast/css/resources/parsing-text-rendering.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/resources/parsing-text-rendering.js
diff --git a/LayoutTests/fast/css/resources/parsing-text-rendering.js b/LayoutTests/fast/css/resources/parsing-text-rendering.js
index 351f51edddcdc0b29d551d9b060b911b284a98f5..2104e14aaa89c5288a2d17158d92cf6af370e7dd 100644
--- a/LayoutTests/fast/css/resources/parsing-text-rendering.js
+++ b/LayoutTests/fast/css/resources/parsing-text-rendering.js
@@ -5,7 +5,7 @@ function test(value)
var div = document.createElement("div");
div.setAttribute("style", value);
document.body.appendChild(div);
-
+
var result = div.style.getPropertyValue("text-rendering");
document.body.removeChild(div);
return result;
@@ -17,6 +17,6 @@ shouldBe('test("text-rendering: optimizeLegibility;")', '"optimizeLegibility"');
shouldBe('test("text-rendering: geometricPrecision;")', '"geometricPrecision"');
shouldBe('test("text-rendering: OptIMizESpEEd;")', '"optimizeSpeed"');
-shouldBeNull('test("text-rendering: auto auto;")');
-shouldBeNull('test("text-rendering: optimizeCoconuts;")');
-shouldBeNull('test("text-rendering: 15;")');
+shouldBeEqualToString('test("text-rendering: auto auto;")', '');
+shouldBeEqualToString('test("text-rendering: optimizeCoconuts;")', '');
+shouldBeEqualToString('test("text-rendering: 15;")', '');

Powered by Google App Engine
This is Rietveld 408576698