mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 13:55:43 +00:00
Bug 1116480 - Reftest for textRun bounding box with fake italics. r=roc
This commit is contained in:
parent
4fa5c65360
commit
2ec8f432d2
32
layout/reftests/bugs/1116480-1-fakeitalic-overflow-ref.html
Normal file
32
layout/reftests/bugs/1116480-1-fakeitalic-overflow-ref.html
Normal 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Íz
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
32
layout/reftests/bugs/1116480-1-fakeitalic-overflow.html
Normal file
32
layout/reftests/bugs/1116480-1-fakeitalic-overflow.html
Normal 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‮Í‬z
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user