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

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: New Approach, splitting hb-clusters into grapheme clusters, comment cleanup, rebaseline 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
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>

Powered by Google App Engine
This is Rietveld 408576698