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

Unified Diff: Source/web/tests/WebViewTest.cpp

Issue 1232593004: Don't resolve extended color keywords during parsing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Test expectations fixups. Created 5 years, 5 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
« Source/core/dom/TextLinkColors.cpp ('K') | « Source/platform/graphics/Color.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/WebViewTest.cpp
diff --git a/Source/web/tests/WebViewTest.cpp b/Source/web/tests/WebViewTest.cpp
index b814580bb16867ed84393150151c9af2645b5c22..57f1518362aead8102f356cf26af1845aa0e1af0 100644
--- a/Source/web/tests/WebViewTest.cpp
+++ b/Source/web/tests/WebViewTest.cpp
@@ -1988,14 +1988,14 @@ TEST_F(WebViewTest, SmartClipData)
static const char* kExpectedClipText = "\nPrice 10,000,000won";
static const char* kExpectedClipHtml =
"<div id=\"div4\" style=\"padding: 10px; margin: 10px; border: 2px "
- "solid rgb(135, 206, 235); float: left; width: 190px; height: 30px; "
+ "solid skyblue; float: left; width: 190px; height: 30px; "
"color: rgb(0, 0, 0); font-family: myahem; font-size: 8px; font-style: "
"normal; font-variant: normal; font-weight: normal; letter-spacing: "
"normal; line-height: normal; orphans: auto; text-align: start; "
"text-indent: 0px; text-transform: none; white-space: normal; widows: "
"1; word-spacing: 0px; -webkit-text-stroke-width: 0px;\">Air "
"conditioner</div><div id=\"div5\" style=\"padding: 10px; margin: "
- "10px; border: 2px solid rgb(135, 206, 235); float: left; width: "
+ "10px; border: 2px solid skyblue; float: left; width: "
"190px; height: 30px; color: rgb(0, 0, 0); font-family: myahem; "
"font-size: 8px; font-style: normal; font-variant: normal; "
"font-weight: normal; letter-spacing: normal; line-height: normal; "
@@ -2021,14 +2021,14 @@ TEST_F(WebViewTest, SmartClipDataWithPinchZoom)
static const char* kExpectedClipText = "\nPrice 10,000,000won";
static const char* kExpectedClipHtml =
"<div id=\"div4\" style=\"padding: 10px; margin: 10px; border: 2px "
- "solid rgb(135, 206, 235); float: left; width: 190px; height: 30px; "
+ "solid skyblue; float: left; width: 190px; height: 30px; "
"color: rgb(0, 0, 0); font-family: myahem; font-size: 8px; font-style: "
"normal; font-variant: normal; font-weight: normal; letter-spacing: "
"normal; line-height: normal; orphans: auto; text-align: start; "
"text-indent: 0px; text-transform: none; white-space: normal; widows: "
"1; word-spacing: 0px; -webkit-text-stroke-width: 0px;\">Air "
"conditioner</div><div id=\"div5\" style=\"padding: 10px; margin: "
- "10px; border: 2px solid rgb(135, 206, 235); float: left; width: "
+ "10px; border: 2px solid skyblue; float: left; width: "
"190px; height: 30px; color: rgb(0, 0, 0); font-family: myahem; "
"font-size: 8px; font-style: normal; font-variant: normal; "
"font-weight: normal; letter-spacing: normal; line-height: normal; "
« Source/core/dom/TextLinkColors.cpp ('K') | « Source/platform/graphics/Color.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698