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

Unified Diff: LayoutTests/fast/text/emphasis-complex.html

Issue 130433006: Implement CSS Emphasis Marks for complex text (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: countGraphemesInCluster based on m_normalizedBuffer (win build fix) 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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/platform/fonts/harfbuzz/FontHarfBuzz.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/text/emphasis-complex.html
diff --git a/LayoutTests/fast/text/emphasis-complex.html b/LayoutTests/fast/text/emphasis-complex.html
new file mode 100644
index 0000000000000000000000000000000000000000..5afdfa0944eedec46fb286f8dc892a5ba3edfa78
--- /dev/null
+++ b/LayoutTests/fast/text/emphasis-complex.html
@@ -0,0 +1,32 @@
+<meta charset="utf-8">
+<title>Emphasis Marks on Complex Text</title>
+<style>
+@font-face
+{
+font-family: libertine;
+src: url("../../third_party/Libertine/LinLibertine_R.woff");
+}
+
+body {
+font-size: 30px;
+}
+
+p {
+ -webkit-text-emphasis-color: red;
+ -webkit-text-emphasis-style: open;
+}
+
+.lib {
+ font-family: libertine;
+}
+
+</style>
+</head>
+<body>
+<!-- Emphasis circles are supposed to appear above all grapheme clusters, not just all glyphs. -->
+<p>كتاب ألف ليلة وليلة</p>
+<p>ភាសាខ្មែរ ភាសាខ្មែរ អត្ថបទ​គំរូ</p>
+<p>MixedदेवनागरीMixed</p>
+<p class="lib">AffiZ Af̀fiZ Libertine</p>
+<p >Af̀fiZ Default Font</p>
+</body></html>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/platform/fonts/harfbuzz/FontHarfBuzz.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698