зеркало из https://github.com/mozilla/gecko-dev.git
Bug 483459. Add bad head checksum reftest.
This commit is contained in:
Родитель
2f903c77aa
Коммит
096d01e389
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче