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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/layout-fonts/ogham.html

Issue 1521993008: Teach Chromium on Windows where to find Ogham glyphs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adapted tests after Tifinagh feedback Created 5 years 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: third_party/WebKit/LayoutTests/inspector-protocol/layout-fonts/ogham.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/layout-fonts/ogham.html b/third_party/WebKit/LayoutTests/inspector-protocol/layout-fonts/ogham.html
new file mode 100644
index 0000000000000000000000000000000000000000..82d47e09c1db8741a64ef0f996cae5ea5fb9e394
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/layout-fonts/ogham.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<meta charset="UTF-8">
+<head>
+ <script type="text/javascript" src="../../http/tests/inspector-protocol/inspector-protocol-test.js"></script>
+ <script type="text/javascript" src="../../http/tests/inspector-protocol/css-protocol-test.js"></script>
+ <script type="text/javascript" src="../../http/tests/inspector-protocol/dom-protocol-test.js"></script>
+ <script type="text/javascript" src="resources/layout-font-test.js"></script>
+</head>
+<body>
+ <!-- All ogham glyps in two font families. -->
+ <div class="test">
+ <div id=oghammonofont></div>
+ <div id=oghamdefaultfont></div>
+ <script>
+ function makeCharHtml(charCode) {
+ return "&#x" + charCode.toString(16) + ";";
+ }
+ function makeCharHtmlSequence(first, last) {
+ var result = "";
+ for (var i = first; i <= last; i++)
+ result += makeCharHtml(i);
+ return result;
+ }
+ charSequenceHtml = makeCharHtmlSequence(0x1680, 0x169c);
+ document.getElementById("oghammonofont").innerHTML = charSequenceHtml;
+ document.getElementById("oghamdefaultfont").innerHTML = charSequenceHtml;
+ </script>
+ </div>
+ There should be two lines of
+ <a href="https://en.wikipedia.org/wiki/Ogham">Ogham</a> above.
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698