зеркало из https://github.com/mozilla/gecko-dev.git
bug 718513 - reftest for synthetic bolding of src:local() font. r=bas
This commit is contained in:
Родитель
1d96b60556
Коммит
f37ba5fbc2
|
@ -50,6 +50,7 @@ skip-if(!(d2d||cocoaWidget)) random-if(d2d) != subpixel-glyphs-x-2a.html subpixe
|
|||
== subpixel-lineheight-1a.html subpixel-lineheight-1b.html
|
||||
== swash-1.html swash-1-ref.html
|
||||
HTTP(..) != synthetic-bold-metrics-01.html synthetic-bold-metrics-01-notref.html
|
||||
== synthetic-bold-papyrus-01.html synthetic-bold-papyrus-01-ref.html
|
||||
# Tests for text-align-last
|
||||
== text-align-last-start.html text-align-last-start-ref.html
|
||||
== text-align-last-end.html text-align-last-end-ref.html
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
|
||||
<style type="text/css">
|
||||
body {
|
||||
margin: 50px;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
#test1 { font-family: Papyrus, serif; }
|
||||
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p id="test1">Test for Papyrus font <b>within a bold tag</b>.</p>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
|
||||
<style type="text/css">
|
||||
body {
|
||||
margin: 50px;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: test;
|
||||
src: local(Papyrus);
|
||||
}
|
||||
|
||||
#test2 { font-family: test, serif; }
|
||||
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p id="test2">Test for Papyrus font <b>within a bold tag</b>.</p>
|
||||
</body>
|
||||
|
||||
</html>
|
Загрузка…
Ссылка в новой задаче