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

Unified Diff: LayoutTests/fast/css/getComputedStyle/computed-style-properties.html

Issue 973623002: Fix serialization of content property to always quote (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add another method Created 5 years, 10 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/getComputedStyle/computed-style-properties.html
diff --git a/LayoutTests/fast/css/getComputedStyle/computed-style-properties.html b/LayoutTests/fast/css/getComputedStyle/computed-style-properties.html
index 7344bb8024751f17ce359b25f0de4d236a80bd37..71833c7d467e18fde5f1b745bd915345e14fc8f8 100644
--- a/LayoutTests/fast/css/getComputedStyle/computed-style-properties.html
+++ b/LayoutTests/fast/css/getComputedStyle/computed-style-properties.html
@@ -65,7 +65,7 @@ function computedStyleFor(id, pseudo, property)
shouldBe("computedStyleFor('outline', null, 'outline-offset')", "'5px'");
-shouldBe("computedStyleFor('content', 'before', 'content')", "'text'");
+shouldBe("computedStyleFor('content', 'before', 'content')", '"\'text\'"');
shouldBe("computedStyleFor('content', 'after', 'content')", '"\'test \' url(data:image/gif;base64,R0lGODlhAQABAJAAAP8AAAAAACwAAAAAAQABAAACAgQBADs=)"');
shouldBe("computedStyleFor('counter', null, 'counter-reset')", "'section 0'");
var str = computedStyleFor('subcounter', null, 'counter-reset');

Powered by Google App Engine
This is Rietveld 408576698