Use larger values for no-minimum and no-maximum so that we don't cross them. (Bug 466395) r+sr=roc a191=beltzner

This commit is contained in:
L. David Baron 2008-11-27 20:08:32 -08:00
parent 3bc6a3921f
commit 16009115b3
6 changed files with 26 additions and 2 deletions

View File

@ -1523,8 +1523,8 @@ nsLineLayout::PlaceTopBottomFrames(PerSpanData* psd,
}
}
#define VERTICAL_ALIGN_FRAMES_NO_MINIMUM 32767
#define VERTICAL_ALIGN_FRAMES_NO_MAXIMUM -32768
#define VERTICAL_ALIGN_FRAMES_NO_MINIMUM nscoord_MAX
#define VERTICAL_ALIGN_FRAMES_NO_MAXIMUM nscoord_MIN
// Vertically place frames within a given span. Note: this doesn't
// place top/bottom aligned frames as those have to wait until the

View File

@ -0,0 +1,2 @@
<title>Testcase, bug 466395</title>
hello

View File

@ -0,0 +1,8 @@
<title>Testcase, bug 466395</title>
<div style="overflow:hidden;height:500px;width:500px">
<div style="display: inline-block; height: 10px">
hello
<div style="height: 10000px"></div>
goodbye
</div>
</div>

View File

@ -0,0 +1,3 @@
<!DOCTYPE HTML>
<title>Testcase, bug 466395</title>
hello

View File

@ -0,0 +1,9 @@
<!DOCTYPE HTML>
<title>Testcase, bug 466395</title>
<div style="overflow:hidden;height:500px;width:500px">
<div style="display: inline-block; height: 10px">
hello
<div style="height: 10000px"></div>
goodbye
</div>
</div>

View File

@ -978,3 +978,5 @@ fails == 461512-1.html 461512-1-ref.html # Bug 461512
== 463217-1.xul 463217-1-ref.xul
== 463952-1.html 463952-1-ref.html
== 464811-1.html 464811-1-ref.html
== 466395-1.html 466395-1-ref.html
== 466395-2.html 466395-2-ref.html