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"> </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> |