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

Unified Diff: LayoutTests/fast/text/international/vertical-positioning-with-combining-marks.html

Issue 180893004: Adjust both x and y position when drawing glyphs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: w/mac fix Created 6 years, 9 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 | « no previous file | LayoutTests/fast/text/international/vertical-positioning-with-combining-marks-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/text/international/vertical-positioning-with-combining-marks.html
diff --git a/LayoutTests/fast/text/international/vertical-positioning-with-combining-marks.html b/LayoutTests/fast/text/international/vertical-positioning-with-combining-marks.html
new file mode 100644
index 0000000000000000000000000000000000000000..570e397ea89478b13bc67b091de7459a1c5f3ae3
--- /dev/null
+++ b/LayoutTests/fast/text/international/vertical-positioning-with-combining-marks.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf8">
+ <style>
+ div {
+ font-size: 24pt;
+ position: relative;
+ }
+ div > span {
+ visibility: hidden;
+ display: inline-block;
+ position: absolute;
+ top: 0px;
+ left: 0px;
+ width: 100%;
+ height: 9pt;
+ background: white;
+ }
+ </style>
+ </head>
+ <body>
+ <div>ب-بّ-ب<span id="mask">&nbsp;</span></div>
+ <p>
+ The three Arabic glyphs above should have the same baseline.
+ </p>
+ <script>
+ // Hide combining mark when running as test and try to match
+ // with the same text without the mark.
+ if (window.testRunner)
+ document.getElementById('mask').style.visibility = 'visible';
+ </script>
+ </body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/text/international/vertical-positioning-with-combining-marks-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698