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

Unified Diff: LayoutTests/fast/text/international/lang-glyph-cache-separation-expected.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
Index: LayoutTests/fast/text/international/lang-glyph-cache-separation-expected.html
diff --git a/LayoutTests/fast/text/international/lang-glyph-cache-separation-expected.html b/LayoutTests/fast/text/international/lang-glyph-cache-separation-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..dd1e9eee00d1a467c2791e54d27fb2f0cae49309
--- /dev/null
+++ b/LayoutTests/fast/text/international/lang-glyph-cache-separation-expected.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="zh" lang="zh">Chinese: &#x4E00;&#x4E01;</div>
+<div id="ja" lang="ja">Japanese: &#x4E00;&#x4E01;</div>

Powered by Google App Engine
This is Rietveld 408576698