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

Unified Diff: LayoutTests/fast/css/quotes-parsing.html

Issue 1155983003: 'quotes' property is serialized wrongly on inline styles (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added test case Created 5 years, 7 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
« no previous file with comments | « no previous file | Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/quotes-parsing.html
diff --git a/LayoutTests/fast/css/quotes-parsing.html b/LayoutTests/fast/css/quotes-parsing.html
index 837068de045546aa4c23cae0434616d3c0ef8379..84cfdeedb01a84a29d1b3bfbda3134a936b405ab 100644
--- a/LayoutTests/fast/css/quotes-parsing.html
+++ b/LayoutTests/fast/css/quotes-parsing.html
@@ -9,5 +9,7 @@ test(function(){
assert_equals(div.style.quotes, "");
div.style.quotes = '"a" "b" cake';
assert_equals(div.style.quotes, "");
-}, "Invalid strings for quotes property do not parse");
+ div.style.quotes = '"a" "b"';
+ assert_equals(div.style.quotes, "\"a\" \"b\"");
Timothy Loh 2015/05/27 09:11:37 If you use a single-quoted string, you don't need
ramya.v 2015/05/27 09:22:15 Done.
+}, "Invalid strings for quotes property do not parse and valid strings should be serialized by space separator");
Timothy Loh 2015/05/27 09:11:37 Can you pull out the added test into a separate te
ramya.v 2015/05/27 09:22:15 Done.
</script>
« no previous file with comments | « no previous file | Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698