зеркало из https://github.com/mozilla/pjs.git
bug 668758 - reftest for user font families clashing with prefs. r=jdaggett
This commit is contained in:
Родитель
d51ca51088
Коммит
7f79ee097c
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Bug 668758 - @font-face disrupts font preferences</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
|
||||
<style type="text/css">
|
||||
|
||||
body {
|
||||
margin: 50px;
|
||||
font-family: serif;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<p>
|
||||
This should be rendered using the default serif font.
|
||||
</p>
|
||||
|
||||
<pre>
|
||||
And this is preformatted text that ought to be monospaced.
|
||||
</pre>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,65 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Bug 668758 - @font-face disrupts font preferences</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
|
||||
<style type="text/css">
|
||||
|
||||
/* none of these @font-face declarations should affect the rendering! */
|
||||
@font-face {
|
||||
font-family: Times;
|
||||
src: url(../fonts/mplus/mplus-1p-black.ttf);
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Times New Roman;
|
||||
src: url(../fonts/mplus/mplus-1p-black.ttf);
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Tms Rmn;
|
||||
src: url(../fonts/mplus/mplus-1p-black.ttf);
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Droid Serif;
|
||||
src: url(../fonts/mplus/mplus-1p-black.ttf);
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Courier;
|
||||
src: url(../fonts/mplus/mplus-1p-black.ttf);
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Courier New;
|
||||
src: url(../fonts/mplus/mplus-1p-black.ttf);
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Droid Sans Mono;
|
||||
src: url(../fonts/mplus/mplus-1p-black.ttf);
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 50px;
|
||||
font-family: serif;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<p>
|
||||
This should be rendered using the default serif font.
|
||||
</p>
|
||||
|
||||
<pre>
|
||||
And this is preformatted text that ought to be monospaced.
|
||||
</pre>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -99,6 +99,8 @@ HTTP(..) == load-badchecksum.html load-badchecksum-ref.html
|
|||
HTTP(..) == name-collision.html name-collision-ref.html
|
||||
HTTP(..) == name-collision-bad-url.html name-collision-bad-url-ref.html
|
||||
|
||||
HTTP(..) == name-collision-with-prefs-font.html name-collision-with-prefs-font-ref.html # bug 668758
|
||||
|
||||
# t2embed lib on windows is picky about fullname
|
||||
HTTP(..) == load-badfullname.html load-badfullname-ref.html
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче