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

Unified Diff: ManualTests/zh-font-fallback-android.html

Issue 729573003: Pass script-based locale names to Skia (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add a manual test Created 6 years, 1 month 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 | « ManualTests/resources/zh-hant.png ('k') | Source/platform/fonts/android/FontCacheAndroid.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ManualTests/zh-font-fallback-android.html
diff --git a/ManualTests/zh-font-fallback-android.html b/ManualTests/zh-font-fallback-android.html
new file mode 100644
index 0000000000000000000000000000000000000000..fdd7d0162001534beb74c5b1f95d3bfb7a82c36d
--- /dev/null
+++ b/ManualTests/zh-font-fallback-android.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<meta name="viewport" content="width=device-width,initial-scale=1">
+<style>
+.test { font-size: 30px; }
+</style>
+<div lang="zh-CN">lang=zh-CN: <span class="test">&#x8AA4;&#x904E;&#x9AA8;</span></div>
+<div lang="zh-TW">lang=zh-TW: <span class="test">&#x8AA4;&#x904E;&#x9AA8;</span></div>
+<div lang="en">lang=en: <span class="test">&#x8AA4;&#x904E;&#x9AA8;</span></div>
+<div>no lang: <span class="test">&#x8AA4;&#x904E;&#x9AA8;</span></div>
+<h2>Expected results:</h2>
+<div>On Android Lollipop when system locale is not zh-TW or zh-HK,<br>
+or on previous Android releases regardless of system locale:</div>
+<img src="resources/zh-hans.png">
+<div>On Android Lollipop when system locale is zh-TW or zh-HK:</div>
+<img src="resources/zh-hant.png">
+
« no previous file with comments | « ManualTests/resources/zh-hant.png ('k') | Source/platform/fonts/android/FontCacheAndroid.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698