зеркало из https://github.com/mozilla/pjs.git
Bug 718516: Replace call of FinishReflowWithAbsoluteFrames() with FinishAndStoreOverflow() for nsColumnSetFrame to prevent crash. [r=ehsan]
This commit is contained in:
Родитель
c261252ccd
Коммит
1b8bb9d1c1
|
@ -1083,7 +1083,11 @@ nsColumnSetFrame::Reflow(nsPresContext* aPresContext,
|
|||
|
||||
CheckInvalidateSizeChange(aDesiredSize);
|
||||
|
||||
FinishReflowWithAbsoluteFrames(aPresContext, aDesiredSize, aReflowState, aStatus);
|
||||
// XXXjwir3: This call should be replaced with FinishWithAbsoluteFrames
|
||||
// when bug 724978 is fixed and nsColumnSetFrame is a full absolute
|
||||
// container.
|
||||
FinishAndStoreOverflow(&aDesiredSize);
|
||||
|
||||
aDesiredSize.mCarriedOutBottomMargin = carriedOutBottomMargin;
|
||||
|
||||
NS_FRAME_SET_TRUNCATION(aStatus, aReflowState, aDesiredSize);
|
||||
|
|
|
@ -13,6 +13,8 @@ fails-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)&&!layersGPUAccelerated) == au
|
|||
== select-1-dynamic.html select-1-ref.html
|
||||
== select-2.html select-2-ref.html
|
||||
== select-3.html select-3-ref.html
|
||||
== multi-column-1.html multi-column-1-ref.html
|
||||
|
||||
# Fails due to bug 724978. Should be re-enabled once this is fixed.
|
||||
fails == multi-column-1.html multi-column-1-ref.html
|
||||
== button-1.html button-1-ref.html
|
||||
== button-2.html button-2-ref.html
|
||||
|
|
|
@ -683,11 +683,13 @@ fails-if(Android) != 376532-3.html 376532-3-ref.html
|
|||
== 379316-1.html 379316-1-ref.html
|
||||
fails-if(Android) random-if(cocoaWidget) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == 379316-2.html 379316-2-ref.html # bug 379786
|
||||
== 379328-1.html 379328-1-ref.html
|
||||
== 379349-1a.xhtml 379349-1-ref.xhtml
|
||||
== 379349-1b.xhtml 379349-1-ref.xhtml
|
||||
== 379349-1c.xhtml 379349-1-ref.xhtml
|
||||
== 379349-2a.xhtml 379349-2-ref.xhtml
|
||||
== 379349-2b.xhtml 379349-2-ref.xhtml
|
||||
# The next set of reftests all fail until bug 724978 has been fixed, and the
|
||||
# overflow container ability of nsColumnSetFrame is restored.
|
||||
fails == 379349-1a.xhtml 379349-1-ref.xhtml
|
||||
fails == 379349-1b.xhtml 379349-1-ref.xhtml
|
||||
fails == 379349-1c.xhtml 379349-1-ref.xhtml
|
||||
fails == 379349-2a.xhtml 379349-2-ref.xhtml
|
||||
fails == 379349-2b.xhtml 379349-2-ref.xhtml
|
||||
== 379349-3a.xhtml 379349-3-ref.xhtml
|
||||
== 379349-3b.xhtml 379349-3-ref.xhtml
|
||||
== 379361-1.html 379361-1-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче