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

Unified Diff: LayoutTests/fast/text/international/lang-glyph-cache-separation.html

Issue 24622002: Workaround font preference in CJK DOM locales (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Test Created 7 years, 3 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
« no previous file with comments | « no previous file | LayoutTests/fast/text/international/lang-glyph-cache-separation-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/text/international/lang-glyph-cache-separation.html
diff --git a/LayoutTests/fast/text/international/lang-glyph-cache-separation.html b/LayoutTests/fast/text/international/lang-glyph-cache-separation.html
new file mode 100644
index 0000000000000000000000000000000000000000..924eeb23c6ffbe7101e880fe841e6cab561d9a54
--- /dev/null
+++ b/LayoutTests/fast/text/international/lang-glyph-cache-separation.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<style>
+#ja {
+ position: absolute;
+ top: 100px;
+ left: 0px;
+}
+#zh {
+ position: absolute;
+ top: 200px;
+ left: 0px;
+}
+</style>
+Tests if glyph caches of different languages interfere.<br>
+On systems that ja and zh have different font preferences, the following two divs should be displayed in corresponding preferred fonts respectively.
+<!-- The sequence of the following divs is difference between the test and the ref. -->
+<div id="ja" lang="ja">Japanese: &#x4E00;&#x4E01;</div>
+<div id="zh" lang="zh">Chinese: &#x4E00;&#x4E01;</div>
jungshik at Google 2013/09/27 23:37:05 For a human inspection, I'd use glyphs that are ac
Xianzhu 2013/09/28 00:35:21 Sure. Thanks for the suggestion.
« no previous file with comments | « no previous file | LayoutTests/fast/text/international/lang-glyph-cache-separation-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698