Bug 906704 - reftest for rotated synthetic bold. r=jrmuizel

This commit is contained in:
John Daggett 2013-08-28 08:36:02 +09:00
parent cc0a077126
commit f9dc3bb961
3 changed files with 73 additions and 0 deletions

View File

@ -85,3 +85,5 @@ random-if(!Android) skip-if(gtk2Widget) != bold-system-fallback-2.html bold-syst
# Bug 769475 - applying 'italic' to Arabic text in Arial should NOT change family or metrics.
# Expected to pass on MacOSX and Windows; other platforms unknown, depending on font availability.
random-if(!(cocoaWidget||winWidget)) == arial-arabic.html arial-arabic-ref.html
!= syntheticbold-rotated.html syntheticbold-rotated-ref.html

View File

@ -0,0 +1,35 @@
<!DOCTYPE HTML>
<html>
<head>
<title>rotated synthetic bold</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
@font-face {
font-family: libertine;
src: url(../fonts/LinLibertine_Re-4.7.5.woff);
}
body {
margin: 150px 0px;
font-size: 800%;
}
p { margin: 0; }
.test {
font-family: libertine;
display: inline-block;
transform: rotate(90deg);
}
</style>
</head>
<body>
<p><span class="test">uh oh!</span></p>
</body>
</html>

View File

@ -0,0 +1,36 @@
<!DOCTYPE HTML>
<html>
<head>
<title>rotated synthetic bold</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
@font-face {
font-family: libertine;
src: url(../fonts/LinLibertine_Re-4.7.5.woff);
}
body {
margin: 150px 0px;
font-size: 800%;
}
p { margin: 0; }
.test {
font-family: libertine;
display: inline-block;
transform: rotate(90deg);
font-weight: bold;
}
</style>
</head>
<body>
<p><span class="test">uh oh!</span></p>
</body>
</html>