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

Unified Diff: LayoutTests/fast/text/shaping/same-script-different-lang.html

Issue 276573010: Adding Locale (language attribute) information to font and using the (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updating Test Expectation file due to recent commits Created 6 years, 7 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/shaping/same-script-different-lang.html
diff --git a/LayoutTests/fast/text/shaping/same-script-different-lang.html b/LayoutTests/fast/text/shaping/same-script-different-lang.html
new file mode 100644
index 0000000000000000000000000000000000000000..49203b3b65dba43f30ff0bcf693f62d4d2d09174
--- /dev/null
+++ b/LayoutTests/fast/text/shaping/same-script-different-lang.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
+<title>Language Attribute Test</title>
+<style type="text/css">
+@font-face {
+ font-family: NotoX;
+ src: url("../../../third_party/NotoSans/NotoSansDevanagari-Regular-uni091D.ttf") format("truetype");
+}
+</style>
+</head>
+<body>
+ <h3>The glyph for JHA should look different for Nepali and Hindi, depending on the lang attribute.</h3>
+ <p lang="hi" style="font-family: NotoX">Hindi:JHA &#x091D; </p><br>
+ <p lang="ne" style="font-family: NotoX">Nepali:JHA &#x091D; </p><br>
+</body>
+</html>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/platform/linux/fast/text/shaping/same-script-different-lang-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698