Bug 483459. Add bad head checksum reftest.

This commit is contained in:
John Daggett 2009-05-21 09:22:45 +09:00
Родитель 2f903c77aa
Коммит 096d01e389
3 изменённых файлов: 67 добавлений и 0 удалений

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

@ -0,0 +1,32 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Checksums for downloadable fonts</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: VeraBadChecksum;
src: url(../fonts/VeraBd.ttf);
}
@font-face {
font-family: VeraGoodChecksum;
src: url(../fonts/VeraBd-validchecksum.ttf);
}
.verabad { font-family: VeraBadChecksum, Futura, sans-serif; }
.veragood { font-family: VeraGoodChecksum, Futura, sans-serif; }
</style>
<script type="text/javascript">
</script>
</head>
<body>
<p class="veragood">Fonts load with or without correct head table checksums</p>
</body>
</html>

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

@ -0,0 +1,32 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Checksums for downloadable fonts</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: VeraBadChecksum;
src: url(../fonts/VeraBd.ttf);
}
@font-face {
font-family: VeraGoodChecksum;
src: url(../fonts/VeraBd-validchecksum.ttf);
}
.verabad { font-family: VeraBadChecksum, Futura, sans-serif; }
.veragood { font-family: VeraGoodChecksum, Futura, sans-serif; }
</style>
<script type="text/javascript">
</script>
</head>
<body>
<p class="verabad">Fonts load with or without correct head table checksums</p>
</body>
</html>

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

@ -88,3 +88,6 @@ HTTP(..) == synthetic-weight-style.html synthetic-weight-style-ref.html
# Leak test
HTTP(..) load 486974-1.html
# compare fonts with and without bad head checksum
HTTP(..) == load-badchecksum.html load-badchecksum-ref.html