mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 906704 - reftest for rotated synthetic bold. r=jrmuizel
This commit is contained in:
parent
cc0a077126
commit
f9dc3bb961
@ -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
|
||||
|
35
layout/reftests/font-matching/syntheticbold-rotated-ref.html
Normal file
35
layout/reftests/font-matching/syntheticbold-rotated-ref.html
Normal 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>
|
36
layout/reftests/font-matching/syntheticbold-rotated.html
Normal file
36
layout/reftests/font-matching/syntheticbold-rotated.html
Normal 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>
|
Loading…
Reference in New Issue
Block a user