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

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

Issue 1090423007: Serialize <string> with double quotes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 5 years, 8 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 71833c7d467e18fde5f1b745bd915345e14fc8f8..6518f11c6738978ff64a0fc5d2f632d08f73c5fe 100644
--- a/LayoutTests/fast/css/getComputedStyle/computed-style-properties.html
+++ b/LayoutTests/fast/css/getComputedStyle/computed-style-properties.html
@@ -65,14 +65,14 @@ function computedStyleFor(id, pseudo, property)
shouldBe("computedStyleFor('outline', null, 'outline-offset')", "'5px'");
-shouldBe("computedStyleFor('content', 'before', 'content')", '"\'text\'"');
-shouldBe("computedStyleFor('content', 'after', 'content')", '"\'test \' url(data:image/gif;base64,R0lGODlhAQABAJAAAP8AAAAAACwAAAAAAQABAAACAgQBADs=)"');
+shouldBeEqualToString("computedStyleFor('content', 'before', 'content')", "\"text\"");
+shouldBeEqualToString("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');
shouldBe("str.indexOf('subsection 0') != -1", "true");
shouldBe("str.indexOf('anothercounter 5') != -1", "true");
shouldBe("computedStyleFor('counter1', 'before', 'counter-increment')", "'section 1'");
shouldBe("computedStyleFor('subcounter2', 'before', 'counter-increment')", "'subsection 1'");
-shouldBe("computedStyleFor('subcounter2', 'before', 'content')", '"counter(section) \'.\' counter(subsection) \'. \'"');
+shouldBeEqualToString("computedStyleFor('subcounter2', 'before', 'content')", 'counter(section) "." counter(subsection) ". "');
</script>
</html>

Powered by Google App Engine
This is Rietveld 408576698