Bug 384682 - add reftest for escaped font family names. r=simonsapin

This commit is contained in:
John Daggett 2014-07-01 11:24:37 +09:00
Родитель 32c35cc519
Коммит 5fb1ff11f8
3 изменённых файлов: 36 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,16 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Escaped family names test</title>
<meta charset="UTF-8">
<style>
body { margin: 20px; }
#test, #test2 { font-family: serif; }
</style>
</head>
<body>
<p id=test>Should be serif</p>
<p id=test2>Should be serif</p>
</body>
</html>

Просмотреть файл

@ -0,0 +1,17 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Escaped family names test</title>
<meta charset="UTF-8">
<style>
body { margin: 20px; }
#test { font-family: \20 Arial, \20 Verdana, \20 Deja Vu Sans, \20 Fira Sans, \20 Fira Sans OT, serif; }
#test2 { font-family: Arial\20 , Verdana\20 , Deja Vu Sans\20 , Fira Sans\20 , Fira Sans OT\20 , serif; }
</style>
</head>
<body>
<p id=test>Should be serif</p>
<p id=test2>Should be serif</p>
</body>
</html>

Просмотреть файл

@ -49,6 +49,9 @@ random-if(cocoaWidget) != impact-bold.html impact.html # bug 539418
== localized-family-names-003.html localized-family-names-003-ref.html
== localized-family-names-004.html localized-family-names-004-ref.html
# family names with escaped spaces shouldn't match the names without the spaces
== familyname-escapedidents.html familyname-escapedidents-ref.html
# weight mapping tests
skip-if(B2G) HTTP(..) == normalmedium.html normalmedium-ref.html # bug 773482
skip-if(B2G) HTTP(..) != normalmedium.html normalmedium-notref.html # bug 773482