Bug 1116480 - Reftest for textRun bounding box with fake italics. r=roc

This commit is contained in:
Jonathan Kew 2014-12-31 22:35:44 +00:00
parent 4fa5c65360
commit 2ec8f432d2
3 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,32 @@
<!doctype html>
<html>
<head>
<meta charset='utf-8'/>
<meta name='viewport' content='initial-scale=1' />
<style>
@font-face {
font-family: test;
src: url(../fonts/dejavu-sans/DejaVuSans.ttf);
}
body {
font-family: test;
}
.container {
padding: 1rem 0 0.3rem;
}
.placeholder {
font-style: italic;
position: absolute;
font-size: 8em;
}
</style>
</head>
<body>
<div class='container'>
<div class='placeholder'>aI&#x301;z
</div>
</body>
</html>

View File

@ -0,0 +1,32 @@
<!doctype html>
<html>
<head>
<meta charset='utf-8'/>
<meta name='viewport' content='initial-scale=1' />
<style>
@font-face {
font-family: test;
src: url(../fonts/dejavu-sans/DejaVuSans.ttf);
}
body {
font-family: test;
}
.container {
padding: 1rem 0 0.3rem;
}
.placeholder {
font-style: italic;
position: absolute;
font-size: 8em;
}
</style>
</head>
<body>
<div class='container'>
<div class='placeholder'>a&#x202e;I&#x301;&#x202c;z
</div>
</body>
</html>

View File

@ -1850,3 +1850,4 @@ test-pref(layout.testing.overlay-scrollbars.always-visible,false) == 1081072-1.h
fuzzy-if(winWidget&&!layersGPUAccelerated,1,31) == 1081185-1.html 1081185-1-ref.html
== 1097437-1.html 1097437-1-ref.html
== 1105137-1.html 1105137-1-ref.html
fuzzy-if(d2d,36,304) HTTP(..) == 1116480-1-fakeitalic-overflow.html 1116480-1-fakeitalic-overflow-ref.html