Bug 512566. Font data url reftests. r=jfkthame

This commit is contained in:
John Daggett 2012-03-16 12:31:01 +09:00
parent 498718a3eb
commit a068d45dbb
9 changed files with 170 additions and 0 deletions

View File

@ -31,6 +31,15 @@ fails-if(Android) == src-list-local-full.html src-list-local-full-ref.html
fails-if(Android) == src-list-local-full-quotes.html src-list-local-full-ref.html
HTTP(..) == src-list-local-fallback.html src-list-local-fallback-ref.html
# data url tests (these don't need the HTTP server)
== src-list-data-1.html src-list-data-ref.html
== src-list-data-2.html src-list-data-ref.html
== src-list-data-3.html src-list-data-ref.html
== src-list-data-4.html src-list-data-ref.html
# load with data url vs. font data load
HTTP(..) == src-list-actual-font-ref.html src-list-data-1.html
# localized full fontnames should *not* match, only English ones (need locale-invariant key)
skip HTTP(..) == src-list-local-localized.html src-list-local-localized-ref.html # 486787, 486497

View File

@ -0,0 +1,21 @@
<!DOCTYPE HTML>
<html>
<head>
<style type="text/css">
@font-face {
font-family: test;
src: url(../fonts/loadtest.ttf);
}
body {
margin: 20px;
font-size: 100px;
font-family: test;
}
p { margin: 0; padding: 0; }
</style>
</head>
<body>
<p>FAIL</p>
</body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,7 @@
loadtest is based on League Gothic, from League of Moveable Type. All fonts
from The League of Moveable Type are subject to the Open Font License.
http://www.theleagueofmoveabletype.com/league-gothic
http://scripts.sil.org/OFL

Binary file not shown.