mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
reftest for bug 502795, Core Text rendering fails with downloaded font and letter-spacing, r=roc
This commit is contained in:
parent
06e7309221
commit
eba6d70ef1
18
layout/reftests/bugs/502795-1-ref.html
Normal file
18
layout/reftests/bugs/502795-1-ref.html
Normal 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>
|
21
layout/reftests/bugs/502795-1.html
Normal file
21
layout/reftests/bugs/502795-1.html
Normal 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>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user