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

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

Issue 2520873002: [css-ui] Add support for caret-color property (Closed)
Patch Set: Patch for landing applying suggested changes Created 4 years 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 | « third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3cb8d703df557a0d9e11c8eb3c091be0f6efc834..a36fbcdb1d91c57c867c624c526d33729b1e5202 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;
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698