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: LayoutTests/platform/android/fast/text/international/non-generic-font-fallback.html

Issue 184703003: Fix generic font family issue on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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: LayoutTests/platform/android/fast/text/international/non-generic-font-fallback.html
diff --git a/LayoutTests/platform/android/fast/text/international/non-generic-font-fallback.html b/LayoutTests/platform/android/fast/text/international/non-generic-font-fallback.html
new file mode 100644
index 0000000000000000000000000000000000000000..537ee2daa97010f08d99029191509ddb963c4639
--- /dev/null
+++ b/LayoutTests/platform/android/fast/text/international/non-generic-font-fallback.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<style>
+div { font-family: arial, sans-serif; }
+</style>
+Tests if non-generic font-family specified before generic font-family is respected when lang is specified.
+The characters are common Latin characters that exist in the non-locale-specific system font and should use the system font.
+<div lang="ja">A&#228;</div>
+<div lang="zh">A&#228;</div>

Powered by Google App Engine
This is Rietveld 408576698