зеркало из https://github.com/mozilla/pjs.git
Bug 701262. Set up reftest for redirection on font load. r=joedrew
This commit is contained in:
Родитель
4eb59457c9
Коммит
edbbc4cc51
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
||||
"http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<title></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<style type="text/css">
|
||||
|
||||
@font-face {
|
||||
font-family: "MarkA";
|
||||
src: url(../fonts/markA-redirect.ttf);
|
||||
}
|
||||
|
||||
body { font-family: "MarkA"; }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>ABC</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -138,3 +138,6 @@ HTTP(..) == missing-names.html missing-names-ref.html
|
|||
HTTP(..) == font-error-404-1.html font-error-404-1-ref.html # HTTP status 404, don't load
|
||||
HTTP(..) == font-error-404-2.html font-error-404-2-ref.html # HTTP status 200, load
|
||||
HTTP(..) != font-error-404-1.html font-error-404-2.html # sanity-check that the results differ
|
||||
|
||||
# Font load redirection
|
||||
HTTP(..) == font-redirect.html order-1-ref.html
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
This is not a font!
|
|
@ -0,0 +1,2 @@
|
|||
HTTP 301 Moved Permanently
|
||||
Location: markA.ttf
|
Загрузка…
Ссылка в новой задаче