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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/text/hyphens/can-hyphenate-locale.html

Issue 2163603002: Fix hyphenation for lang="de" and other fallback on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: eae review 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../../../resources/testharness.js"></script> 2 <script src="../../../resources/testharness.js"></script>
3 <script src="../../../resources/testharnessreport.js"></script> 3 <script src="../../../resources/testharnessreport.js"></script>
4 <script> 4 <script>
5 'use strict'; 5 'use strict';
6 (function () { 6 (function () {
7 test(function () { 7 test(function () {
8 assert_exists(window, 'internals'); 8 assert_exists(window, 'internals');
9 }, 'This test requires "internals.canHyphenate"'); 9 }, 'This test requires "internals.canHyphenate"');
10 10
11 ['en-us'].forEach(function (locale) { 11 ['en-us', 'en-gu'].forEach(function (locale) {
12 test(function () { 12 test(function () {
13 assert_true(internals.canHyphenate(locale)); 13 assert_true(internals.canHyphenate(locale));
14 }, `"${locale}" can hyphenate`); 14 }, `"${locale}" can hyphenate`);
15 }); 15 });
16 16
17 ['ja-jp'].forEach(function (locale) { 17 ['ja-jp'].forEach(function (locale) {
18 test(function () { 18 test(function () {
19 assert_false(internals.canHyphenate(locale)); 19 assert_false(internals.canHyphenate(locale));
20 }, `"${locale}" cannot hyphenate`); 20 }, `"${locale}" cannot hyphenate`);
21 }); 21 });
22 })(); 22 })();
23 </script> 23 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698