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

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

Issue 1909233002: Spec-compliant parsing and initial values for 'orphans' and 'widows'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some unit tests had non-conformant widphans assumptions too. Created 4 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
« 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 fc8f273a93ea7d4ef8eb34219d6937b922e0b68b..ac7768964872515170b705c3beb1bf7e2457a509 100644
--- a/third_party/WebKit/Source/web/tests/WebViewTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
@@ -2166,16 +2166,16 @@ TEST_F(WebViewTest, SmartClipData)
"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; "
+ "normal; line-height: normal; orphans: 2; text-align: start; "
"text-indent: 0px; text-transform: none; white-space: normal; widows: "
- "1; word-spacing: 0px; -webkit-text-stroke-width: 0px;\">Air "
+ "2; word-spacing: 0px; -webkit-text-stroke-width: 0px;\">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: 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; "
+ "orphans: 2; text-align: start; text-indent: 0px; text-transform: "
+ "none; white-space: normal; widows: 2; word-spacing: 0px; "
"-webkit-text-stroke-width: 0px;\">Price 10,000,000won</div>";
WebString clipText;
WebString clipHtml;
@@ -2199,16 +2199,16 @@ TEST_F(WebViewTest, SmartClipDataWithPinchZoom)
"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; "
+ "normal; line-height: normal; orphans: 2; text-align: start; "
"text-indent: 0px; text-transform: none; white-space: normal; widows: "
- "1; word-spacing: 0px; -webkit-text-stroke-width: 0px;\">Air "
+ "2; word-spacing: 0px; -webkit-text-stroke-width: 0px;\">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: 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; "
+ "orphans: 2; text-align: start; text-indent: 0px; text-transform: "
+ "none; white-space: normal; widows: 2; word-spacing: 0px; "
"-webkit-text-stroke-width: 0px;\">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