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

Unified Diff: third_party/WebKit/LayoutTests/fast/text/hyphens/hyphens-none.html

Issue 1978683002: Enable hyphens: auto and none in BreakingContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comments for heuristic, adjust widths of hyphens-auto-mock test Created 4 years, 7 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/hyphens/hyphens-none.html
diff --git a/third_party/WebKit/LayoutTests/fast/text/hyphens/hyphens-none.html b/third_party/WebKit/LayoutTests/fast/text/hyphens/hyphens-none.html
new file mode 100644
index 0000000000000000000000000000000000000000..914fc9c80b7bb9e16b3b3225314d449802831bab
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/text/hyphens/hyphens-none.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<style>
+div {
+ font-family: 'Courier New';
+}
+
+.no-hyphens {
+ -webkit-hyphens: none;
+ hyphens: none;
+}
+
+span {
+ border: thin solid black;
+ display: block;
+ width: 5ch;
+}
+</style>
+<div lang="en-us">
+ <div>
+ <span>hy&shy;phen&shy;ation</span>
+ </div>
+ <div class="no-hyphens">
+ <span>hy&shy;phen&shy;ation</span>
+ </div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698