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

Unified Diff: third_party/WebKit/LayoutTests/fast/text/soft-hyphen-overflow.html

Issue 2167093002: Soft hyphens with long suffix may add unnecessary hyphens (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Stabilize test Created 4 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
Index: third_party/WebKit/LayoutTests/fast/text/soft-hyphen-overflow.html
diff --git a/third_party/WebKit/LayoutTests/fast/text/soft-hyphen-overflow.html b/third_party/WebKit/LayoutTests/fast/text/soft-hyphen-overflow.html
new file mode 100644
index 0000000000000000000000000000000000000000..f71a24e61a9cdbdcea24e601f652efd2f6ccd333
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/text/soft-hyphen-overflow.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<style>
+div {
+ width: 10ch;
+ border: solid;
+}
+</style>
+<p>H should be followed by a hyphen, and x should not.</p>
+<div>xxxxxxxxxxxxxxxH&shy;xxxx</div>
+<div>xxxxxH&shy;xxxxxxxxxxxxxxxH&shy;xxxx</div>
+<div>xxxxxH&shy;xxxxxH&shy;xxxxxxx</div>
+<div>xxxxxH&shy;xxxxxxxxxxxxxxxx</div>
+<div>xxxxxH&shy;xxxxxxxxxxxxxxxx xxxxxxx</div>

Powered by Google App Engine
This is Rietveld 408576698