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

Unified Diff: third_party/WebKit/LayoutTests/fast/text/hyphens/hyphens-locale.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-locale.html
diff --git a/third_party/WebKit/LayoutTests/fast/text/hyphens/hyphens-locale.html b/third_party/WebKit/LayoutTests/fast/text/hyphens/hyphens-locale.html
new file mode 100644
index 0000000000000000000000000000000000000000..8ad04423394d6befb59d884e1a3ec710969327bb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/text/hyphens/hyphens-locale.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<style>
+div {
+ font-family: 'Courier New';
+ -webkit-hyphens: auto;
+ hyphens: auto;
+}
+
+span {
+ border: thin solid black;
+ display: block;
+ width: 8ch;
+}
+</style>
+<script>
+if (window.internals)
+ internals.setMockHyphenation('en-us');
+</script>
+<div lang="en-us">
+ <span>a hyphenation a</span>
+</div>
+<div lang="ja-jp">
+ <span>a hyphenation a</span>
+</div>

Powered by Google App Engine
This is Rietveld 408576698