зеркало из https://github.com/mozilla/pjs.git
Add tests for the format() function in the 'src' descriptor that use a known-unsupported value in addition to an unknown value. a=tests
--HG-- rename : layout/reftests/font-face/src-list-format-1.html => layout/reftests/font-face/src-list-format-4.html rename : layout/reftests/font-face/src-list-format-2.html => layout/reftests/font-face/src-list-format-5.html rename : layout/reftests/font-face/src-list-format-3.html => layout/reftests/font-face/src-list-format-6.html
This commit is contained in:
Родитель
3333019ec3
Коммит
0b30eb7911
|
@ -16,6 +16,9 @@ fails-if(MOZ_WIDGET_TOOLKIT=="gtk2") random-if(MOZ_WIDGET_TOOLKIT=="cocoa") rand
|
|||
fails HTTP(..) == src-list-format-1.html src-list-format-1-ref.html
|
||||
fails HTTP(..) == src-list-format-2.html src-list-format-2-ref.html
|
||||
fails-if(MOZ_WIDGET_TOOLKIT=="gtk2") HTTP(..) == src-list-format-3.html src-list-format-3-ref.html
|
||||
fails-if(MOZ_WIDGET_TOOLKIT=="gtk2") HTTP(..) == src-list-format-4.html src-list-format-1-ref.html
|
||||
fails-if(MOZ_WIDGET_TOOLKIT=="gtk2") HTTP(..) == src-list-format-5.html src-list-format-2-ref.html
|
||||
fails HTTP(..) == src-list-format-6.html src-list-format-3-ref.html
|
||||
# FIXME: The behavior here is neither mandated nor specified by the spec, but
|
||||
# it really ought to be.
|
||||
HTTP(..) == order-1.html order-1-ref.html
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
<!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: "One";
|
||||
/* assumes we don't support embedded-opentype and thus wouldn't try to load it */
|
||||
src: url(../fonts/markA.ttf) format("embedded-opentype"), url(../fonts/mark2A.ttf);
|
||||
}
|
||||
|
||||
body { font-family: "One"; }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>ABC</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,24 @@
|
|||
<!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: "One";
|
||||
/* assumes we don't support embedded-opentype and thus wouldn't try to load it */
|
||||
src: url(../fonts/markA.ttf) format("embedded-opentype"), url(../fonts/mark2A.ttf) format("truetype");
|
||||
}
|
||||
|
||||
body { font-family: "One"; }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>ABC</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,24 @@
|
|||
<!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: "One";
|
||||
/* assumes we don't support embedded-opentype and thus wouldn't try to load it */
|
||||
src: url(../fonts/markA.ttf) format("embedded-opentype", "truetype"), url(../fonts/mark2A.ttf) format("truetype");
|
||||
}
|
||||
|
||||
body { font-family: "One"; }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>ABC</p>
|
||||
|
||||
</body>
|
||||
</html>
|
Загрузка…
Ссылка в новой задаче