Bug 983985 - Reftests for hexbox in fake-italic text. r=bas

This commit is contained in:
Jonathan Kew 2014-08-30 13:56:23 +01:00
parent 3c6462cb13
commit e022c4f6c6
5 changed files with 96 additions and 0 deletions

View File

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Bug 983985</title>
<style>
@font-face {
font-family: test;
src: url(../fonts/dejavu-sans/DejaVuSans.ttf);
}
body {
font: 36px test;
}
</style>
</head>
<body>
hello &#x530; world
</body>
</html>

View File

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Bug 983985</title>
<style>
@font-face {
font-family: test;
src: url(../fonts/dejavu-sans/DejaVuSans.ttf);
}
body {
font: 36px test;
}
</style>
</head>
<body>
hello <i>&#x530;</i> world
</body>
</html>

View File

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Bug 983985</title>
<style>
@font-face {
font-family: test;
src: url(../fonts/dejavu-sans/DejaVuSans.ttf);
}
.outer {
font: italic 36px test;
width: 2.5em; /* enough to display "hello" but not the hexbox */
overflow: hidden;
}
.inner {
width: 10em;
}
</style>
</head>
<body>
<div class="outer">
<div class="inner">
hello <em>&#x530;</em> world
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Bug 983985</title>
<style>
@font-face {
font-family: test;
src: url(../fonts/dejavu-sans/DejaVuSans.ttf);
}
.outer {
font: italic 36px test;
width: 2.5em; /* enough to display "hello" but not the hexbox */
overflow: hidden;
}
.inner {
width: 10em;
}
</style>
</head>
<body>
<div class="outer">
<div class="inner">
hello &#x530; world
</div>
</div>
</body>
</html>

View File

@ -1810,6 +1810,8 @@ skip-if(Android) == 966510-2.html 966510-2-ref.html # same as above
== 983084-2.html 983084-2-ref.html
== 983084-3.html 983084-1-ref.html
== 983691-1.html 983691-ref.html
HTTP(..) == 983985-1.html 983985-1-ref.html
HTTP(..) == 983985-2.html 983985-2-ref.html
== 985303-1a.html 985303-1-ref.html
== 985303-1b.html 985303-1-ref.html
== 987680-1.html 987680-1-ref.html