Add reftest for bug 764354.

This commit is contained in:
L. David Baron 2012-06-21 11:44:34 -07:00
parent bb79330db3
commit a1930157ee
3 changed files with 41 additions and 0 deletions

View File

@ -97,3 +97,5 @@ test-pref(font.size.inflation.emPerLine,15) test-pref(font.size.inflation.lineTh
test-pref(font.size.inflation.emPerLine,15) test-pref(font.size.inflation.lineThreshold,0) == relevant-width-overflow-1.html relevant-width-overflow-1-ref.html
pref(font.size.inflation.emPerLine,15) pref(font.size.inflation.lineThreshold,0) == min-width-passes-1.html min-width-passes-1-ref.html
pref(font.size.inflation.emPerLine,15) == xul-reflow-1.html xul-reflow-1-ref.html

View File

@ -0,0 +1,18 @@
<!DOCTYPE HTML>
<title>Testcase, bug 764354</title>
<style>
#outer {
width: 300px;
height: 100px;
background: yellow; color: black;
}
.inner {
background: aqua; color: black;
text-align: center;
}
</style>
<div id="outer">
<div class="inner">Text</div>
<div class="inner">Text</div>
</div>

View File

@ -0,0 +1,21 @@
<!DOCTYPE HTML>
<title>Testcase, bug 764354</title>
<style>
#outer {
display: -moz-box;
overflow: hidden;
-moz-box-orient: vertical;
width: 300px;
height: 100px;
background: yellow; color: black;
}
.inner {
background: aqua; color: black;
text-align: center;
}
</style>
<div id="outer">
<div class="inner">Text</div>
<div class="inner">Text</div>
</div>