bug 615121 - reftests for direction of vertical glyph offsets. r=karlt a=test-only
authorJonathan Kew <jfkthame@gmail.com>
Tue, 30 Nov 2010 15:44:36 +0000
changeset 58372 a5aafda069f700ef87e2b04b7055a0e2d281506f
parent 58371 3e3726fc8083971b223952a29cf2289ed0915867
child 58373 ff3d2362e3f2c86921a7f3d5f7907785726d59b1
push id17271
push userjkew@mozilla.com
push dateTue, 30 Nov 2010 15:49:31 +0000
treeherdermozilla-central@ff3d2362e3f2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskarlt, test-only
bugs615121
milestone2.0b8pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 615121 - reftests for direction of vertical glyph offsets. r=karlt a=test-only
layout/reftests/bugs/615121-1-ref.html
layout/reftests/bugs/615121-1.html
layout/reftests/bugs/615121-2-notref.html
layout/reftests/bugs/615121-2.html
layout/reftests/bugs/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/615121-1-ref.html
@@ -0,0 +1,22 @@
+<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>
+<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;
+</div>
+</body>
+</html>
new file mode 100644
--- /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>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/615121-2-notref.html
@@ -0,0 +1,22 @@
+<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>
+<div>
+<p>Diacritics should stack above the black box:<br>
+<span style="background:black;padding:0 .5em;margin-right:-1em;">
+</span>&nbsp;
+</div>
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/615121-2.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: diacritics should stack to project above the em-height;
+     sign error will make them overprint the base letter instead -->
+<div>
+<p>Diacritics should stack above the black box:<br>
+<span style="background:black;padding:0 .5em;margin-right:-1em;">
+</span>&nbsp;&#x679;&#x651;&#x64c;&#x610;&nbsp;
+</div>
+</body>
+</html>
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -1546,8 +1546,10 @@ fails-if(!haveTestPlugin) == 599476.html
 == 613433-1.html 613433-2-ref.html
 == 613433-1.html 613433-3-ref.html
 == 613433-2.html 613433-1-ref.html
 == 613433-2.html 613433-2-ref.html
 == 613433-2.html 613433-3-ref.html
 == 613433-3.html 613433-1-ref.html
 == 613433-3.html 613433-2-ref.html
 == 613433-3.html 613433-3-ref.html
+HTTP(..) == 615121-1.html 615121-1-ref.html
+HTTP(..) != 615121-2.html 615121-2-notref.html