reftest for bug 502795, Core Text rendering fails with downloaded font and letter-spacing, r=roc

This commit is contained in:
Jonathan Kew 2009-07-16 10:59:07 +01:00
parent 06e7309221
commit eba6d70ef1
3 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,18 @@
<html>
<head>
<title>bug 502795 - letterspace with downloaded font</title>
</head>
<style type="text/css">
@font-face {
font-family: test;
src: url(../fonts/MarkA.ttf);
}
p {
font-family: test;
font-size: 24pt;
}
</style>
<body>
<p>A</p>
</body>
</html>

View File

@ -0,0 +1,21 @@
<html>
<head>
<title>bug 502795 - letterspace with downloaded font</title>
</head>
<style type="text/css">
@font-face {
font-family: test;
src: url(../fonts/MarkA.ttf);
}
p {
font-family: test;
font-size: 24pt;
letter-spacing: 10px;
}
</style>
<!-- with letterspacing, the downloaded font will fail to render
via coretext due to bug 502795 -->
<body>
<p>A</p>
</body>
</html>

View File

@ -1275,5 +1275,6 @@ fails-if(MOZ_WIDGET_TOOLKIT!="cocoa") == 488692-1.html 488692-1-ref.html # needs
== 495385-5.html 495385-5-ref.html
== 498228-1.xul 498228-1-ref.xul
== 496032-1.html 496032-1-ref.html
== 502795-1.html 502795-1-ref.html
== 503364-1a.html 503364-1-ref.html
== 503364-1b.html 503364-1-ref.html