mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-23 10:54:33 +00:00
Add reftest for bug 764354.
This commit is contained in:
parent
bb79330db3
commit
a1930157ee
@ -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
|
||||
|
18
layout/reftests/font-inflation/xul-reflow-1-ref.html
Normal file
18
layout/reftests/font-inflation/xul-reflow-1-ref.html
Normal 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>
|
21
layout/reftests/font-inflation/xul-reflow-1.html
Normal file
21
layout/reftests/font-inflation/xul-reflow-1.html
Normal 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>
|
Loading…
x
Reference in New Issue
Block a user