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

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

Issue 2520873002: [css-ui] Add support for caret-color property (Closed)
Patch Set: Add new baselines for Mac and Windows Created 4 years, 1 month 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: third_party/WebKit/Source/web/tests/WebViewTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebViewTest.cpp b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
index e00f06aa70a6649aab0bb09558f254099b4e8df7..a32829a7e4fe2aa75199841a3be78c7f7a5689b3 100644
--- a/third_party/WebKit/Source/web/tests/WebViewTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
@@ -3091,9 +3091,9 @@ TEST_P(WebViewTest, SmartClipData) {
"font-weight: normal; letter-spacing: "
"normal; orphans: 2; text-align: start; "
"text-indent: 0px; text-transform: none; white-space: normal; widows: "
- "2; word-spacing: 0px; -webkit-text-stroke-width: 0px; "
- "text-decoration-style: initial; text-decoration-color: initial;\">Air "
- "conditioner</div><div id=\"div5\" style=\"padding: 10px; margin: "
+ "2; word-spacing: 0px; -webkit-text-stroke-width: 0px; caret-color: "
+ "auto; text-decoration-style: initial; text-decoration-color: initial;"
+ "\">Air conditioner</div><div id=\"div5\" style=\"padding: 10px; margin: "
"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-ligatures: normal; "
@@ -3101,8 +3101,9 @@ TEST_P(WebViewTest, SmartClipData) {
"letter-spacing: normal; orphans: 2; "
"text-align: start; text-indent: 0px; text-transform: "
"none; white-space: normal; widows: 2; word-spacing: 0px; "
- "-webkit-text-stroke-width: 0px; text-decoration-style: initial; "
- "text-decoration-color: initial;\">Price 10,000,000won</div>";
+ "-webkit-text-stroke-width: 0px; caret-color: auto; "
+ "text-decoration-style: initial; text-decoration-color: initial;\">"
+ "Price 10,000,000won</div>";
WebString clipText;
WebString clipHtml;
WebRect clipRect;
@@ -3131,17 +3132,17 @@ TEST_P(WebViewTest, SmartClipDataWithPinchZoom) {
"font-weight: normal; letter-spacing: "
"normal; orphans: 2; text-align: start; "
"text-indent: 0px; text-transform: none; white-space: normal; widows: "
- "2; word-spacing: 0px; -webkit-text-stroke-width: 0px; "
- "text-decoration-style: initial; text-decoration-color: initial;\">Air "
- "conditioner</div><div id=\"div5\" style=\"padding: 10px; margin: "
+ "2; word-spacing: 0px; -webkit-text-stroke-width: 0px; caret-color: "
+ "auto; text-decoration-style: initial; text-decoration-color: initial;"
+ "\">Air conditioner</div><div id=\"div5\" style=\"padding: 10px; margin: "
"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-ligatures: normal; "
"font-variant-caps: normal; font-weight: normal; letter-spacing: normal; "
"orphans: 2; text-align: start; text-indent: 0px; "
"text-transform: none; white-space: normal; widows: 2; "
- "word-spacing: 0px; -webkit-text-stroke-width: 0px;"
- " text-decoration-style: initial; text-decoration-color: initial;\">"
+ "word-spacing: 0px; -webkit-text-stroke-width: 0px; caret-color: auto; "
+ "text-decoration-style: initial; text-decoration-color: initial;\">"
"Price 10,000,000won</div>";
WebString clipText;
WebString clipHtml;

Powered by Google App Engine
This is Rietveld 408576698