mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 512566. Font data url reftests. r=jfkthame
This commit is contained in:
parent
498718a3eb
commit
a068d45dbb
@ -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
|
||||
|
||||
|
21
layout/reftests/font-face/src-list-actual-font-ref.html
Normal file
21
layout/reftests/font-face/src-list-actual-font-ref.html
Normal 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>
|
21
layout/reftests/font-face/src-list-data-1.html
Normal file
21
layout/reftests/font-face/src-list-data-1.html
Normal file
File diff suppressed because one or more lines are too long
21
layout/reftests/font-face/src-list-data-2.html
Normal file
21
layout/reftests/font-face/src-list-data-2.html
Normal file
File diff suppressed because one or more lines are too long
35
layout/reftests/font-face/src-list-data-3.html
Normal file
35
layout/reftests/font-face/src-list-data-3.html
Normal file
File diff suppressed because one or more lines are too long
35
layout/reftests/font-face/src-list-data-4.html
Normal file
35
layout/reftests/font-face/src-list-data-4.html
Normal file
File diff suppressed because one or more lines are too long
21
layout/reftests/font-face/src-list-data-ref.html
Normal file
21
layout/reftests/font-face/src-list-data-ref.html
Normal file
File diff suppressed because one or more lines are too long
7
layout/reftests/fonts/loadtest-license.txt
Normal file
7
layout/reftests/fonts/loadtest-license.txt
Normal 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
|
||||
|
BIN
layout/reftests/fonts/loadtest.ttf
Normal file
BIN
layout/reftests/fonts/loadtest.ttf
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user