summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/615121-1.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/bugs/615121-1.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/layout/reftests/bugs/615121-1.html b/layout/reftests/bugs/615121-1.html
new file mode 100644
index 0000000000..93e0937af6
--- /dev/null
+++ b/layout/reftests/bugs/615121-1.html
@@ -0,0 +1,24 @@
+<html>
+<head>
+<style type="text/css">
+@font-face {
+ font-family: schz;
+ src: url(../fonts/sil/ScheherazadeRegOT.ttf);
+}
+div {
+ font-family: schz;
+ font-size: 32px;
+ margin: 32px;
+}
+</style>
+</head>
+<body>
+<!-- test for bug 615121: flipped sign for diacritic y-offset
+ will make it project above the em-height box -->
+<div>
+<p>The letter and diacritic should be hidden by the black box:<br>
+<span style="background:black;padding:0 .5em;margin-right:-1em;">
+</span>&nbsp;&#x628;&#x651;&#x64c;&nbsp;
+</div>
+</body>
+</html>