mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
3bc6a3921f
commit
16009115b3
@ -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
|
||||
|
2
layout/reftests/bugs/466395-1-ref.html
Normal file
2
layout/reftests/bugs/466395-1-ref.html
Normal file
@ -0,0 +1,2 @@
|
||||
<title>Testcase, bug 466395</title>
|
||||
hello
|
8
layout/reftests/bugs/466395-1.html
Normal file
8
layout/reftests/bugs/466395-1.html
Normal 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>
|
3
layout/reftests/bugs/466395-2-ref.html
Normal file
3
layout/reftests/bugs/466395-2-ref.html
Normal file
@ -0,0 +1,3 @@
|
||||
<!DOCTYPE HTML>
|
||||
<title>Testcase, bug 466395</title>
|
||||
hello
|
9
layout/reftests/bugs/466395-2.html
Normal file
9
layout/reftests/bugs/466395-2.html
Normal 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>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user