Craig Topper
62fbc28b95
Bug 585616 - Merge nsIDOMNSCSS2Properties and nsIDOMSVGCSS2Properties into nsIDOMCSS2Properties. r=bz
2010-08-05 22:32:01 -07:00
L. David Baron
7afdbd9a59
Rename float continuations to pushed floats. (Bug 563584, patch 33) r=roc
...
This patch was generated with the following sed commands on layout/generic/*.{h,cpp}: 's/FLOAT_CONTINUATION/PUSHED_FLOAT/g;s/FloatContinuation/PushedFloat/g;s/float continuation/pushed float/g' plus whitespace fixup where the frame state bits are defined.
2010-08-05 21:59:20 -07:00
L. David Baron
051d2eec64
Don't force availableHeight to be nonnegative, because doing so means that we'll place zero height blocks (including their non-zero-height contents) at the bottom of a page when there's not room (see nsHTMLReflowState::SetTruncated). (Bug 563584, patch 32) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
3060358b0c
Add reftests for bug 563584. (Bug 563584, patch 31) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
0e4d5cd3d9
Set incomplete status when we have continuations that we shouldn't destroy. Fixes assertion on layout/generic/crashtests/469859-1.xhtml . (Bug 563584, patch 30) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
8b2e645003
Don't switch a constrained height to an unconstrained one due to infinite clearance. Fixes layout/reftests/bugs/563584-10b.html . (Bug 563584, patch 29) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
0cf99c197d
Add comment describing mIsTopOfPage better. (Bug 563584, patch 28) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
bef2939650
Add testcase to check that mIsTopOfPage is false when reflowing blocks that have clearance. (There was originally a patch here, but it seems not to be needed, so now it's just tests.) (Bug 563584, patch 27)
2010-08-05 21:59:20 -07:00
L. David Baron
b479bd2afc
Don't split floats when we're not paginating. (Bug 563584, patch 26) Fixes assertion on layout/generic/crashtests/461294-1.html . r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
0d14c6f6b1
In a constrained height situation, we need to reflow anything with floats. (Bug 563584, patch 25) Fixes assertion on layout/generic/crashtests/408883-1.html . r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
e8ca3f4e21
Add bit to lines indicating that they may have a placeholder for a float that was pushed to the next line (and bump the child count up to 32 bits). (Bug 563584, patch 24) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
7e4d1acd95
Adjust reftest assertion manifests for churn in nscoord_MAX-related assertions (which includes 'computed overflow area' assertion, because of width wraparound in UnionRect making overflow area empty). (Bug 563584, patch 23) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
aebe67cb51
Pass correct *remaining* height to float manager, rather than the whole height of the content area. (Bug 563584, patch 22) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
509ea21148
Add checks to VerifyList that previous siblings match next siblings. (Bug 563584, patch 21) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
729eb4ac32
Remove aReflowStatus parameters made unnecessary by previous patch. (Bug 563584, patch 20) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
5d647fbf31
Rename PushTruncatedPlaceholderLine since the remaining reasons for lines being truncated are related to being next to floats, not having truncated floats. (Bug 563584, patch 19) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
a918ee7979
Do the same for PlaceBelowCurrentLineFloats: don't propagate the truncation of a float into the line's reflow status. (Bug 563584, patch 18) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
f5631fb91d
Don't propagate the float's reflow status through places that expect an inline's reflow status, to avoid the assertion for which bug 563584 was filed. This separates pushing of floats from pushing of lines, and allows first-in-flow floats to be pushed to the next page without their associated line. (Bug 563584, patch 17) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
87e57de265
Save float's next sibling since reflowing it could change the next sibling. (Bug 563584, patch 16) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
7811dafa89
Steal float back before reflowing it, in order to allow first continuation of a float to be pushed to the next page. (Bug 563584, patch 15) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
5e7f097aa8
nsBlockFrame::ReflowFloatContinuations doesn't need anything in AddFloat other than FlowAndPlaceFloat. (Bug 563584, patch 14) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
83f95abb0c
Manage float continuations to-be-pulled by the next-in-flow better by keeping them in a separate frame list until they're actually pulled. (Bug 563584, patch 13) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
e24a4a847e
Track which frames were float continuations that need to be pulled to the next block rather than figuring it out again when it's time to pull them. (This allows first-in-flows to be float continuations.) (Bug 563584, patch 12) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
1ac95d9fa8
Make nsFrameList::RemoveFramesAfter(nsnull) remove the whole list. (Bug 563584, patch 11.5) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
62189e853d
Don't try to clear pushed floats when computing the final size of blocks. Fixes scrollbar on layout/reftests/bugs/563584-6-columns.html . (Bug 563584, patch 11) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
771fb25729
Add the optimization mentioned in the previous patch, so we don't have to iterate all floats to determine if one was split. (Bug 563584, patch 10) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
c804c1c09e
Allow the float manager to record that a float has been pushed past a break. (Bug 563584, patch 9) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
f6db316887
Remove initialization to value that doesn't make much sense and never matters. (Bug 563584, patch 8) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
87bff25504
Use an AutoRestore to restore mY in nsBlockReflowState::FlowAndPlaceFloat. (Bug 563584, patch 7) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
8b608af7e0
When we're in columns (and therefore not splitting floats), push floats that don't fit to the next column. (Bug 563584, patch 6) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
5dbb4fc493
Replace force-fit with setting mIsTopOfPage correctly. (Bug 563584, patch 5) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
91606392a2
Make nsBlockReflowState::FlowAndPlaceFloat reflow the float after computing its vertical position, so we know how much height is actually available. (Bug 563584, patch 4) r=roc
...
Test coverage for this is in the future patch "Add reftests for bug 563584.".
2010-08-05 21:59:18 -07:00
L. David Baron
4af0ee515d
Most of CanPlaceFloat is unnecessary given the float placement rules (in particular, that the top of a float cannot be higher than the top of any prior left or right float) and the fact that we now split floats. (Bug 563584, patch 3) r=roc
2010-08-05 21:59:18 -07:00
L. David Baron
bf246f7401
Remove aForceFit/aRelaxHeightConstraint concept from float reflow, since we now split floats rather than push them to the next page (and correct propagation of nsHTMLReflowState::mFlags::mIsTopOfPage will force fitting when we need to). (Bug 563584, patch 2) r=roc
2010-08-05 21:59:18 -07:00
L. David Baron
367e34d52e
Fix assertion about float manager state by restoring old float manager state when we place a float and then cancel that placement. (Bug 563584, patch 1) r=roc
2010-08-05 21:59:18 -07:00
L. David Baron
2f98d4b94d
Fix processing of matrix() transform functions to handle calc() rather than asserting. (Bug 584569) r=bzbarsky
2010-08-05 21:59:18 -07:00
L. David Baron
fdbe24a04c
Remove the MOZ_WIDGET_TOOLKIT backwards-compatibility definition in the reftest condition sandbox. (Bug 570329) r=roc
2010-08-05 21:59:18 -07:00
L. David Baron
77df3d8a8d
Make nsIDOMSVGCSS2Properties use the specialized shorter quickstubs. (Bug 584301) r=bzbarsky
2010-08-05 21:59:18 -07:00
Boris Zbarsky
4d49ef4260
Backed out changeset ea50ac5c3d1f, which was a failed bustage fix, from CLOSED TREE
...
--HG--
extra : rebase_source : f1c225ff6d0151d9f91505198f57124bbfb3c167
2010-08-05 22:19:34 -04:00
Kyle Huey
4b46ff090e
Bustage fix on a CLOSED TREE. r=bz
2010-08-05 19:15:11 -07:00
Kyle Huey
3ad7993dfd
Fixing Microsoft defines stupidity
2010-08-05 17:26:42 -07:00
Kyle Huey
2570b42441
Backing out Bug 583542
2010-08-05 17:24:57 -07:00
Kyle Huey
d0e189daff
Backed out changeset af956e9c02e3
2010-08-05 17:24:31 -07:00
Kyle Huey
7efd163d38
Backed out changeset 86b0c51d199c
2010-08-05 17:23:46 -07:00
Matt Brubeck
a06d344c6b
Bug 583542 - [e10s] nsExternalHelperAppService fails when called from content process (build fix)
2010-08-05 16:35:44 -07:00
Brad Lassey
23ab097d3f
Bug 583542 - [e10s] nsExternalHelperAppService fails when called from content process [r=bsmedberg]
...
--HG--
extra : rebase_source : 7a5e07531470daaeba2b40687fb1a914e435c762
2010-08-01 02:38:56 -04:00
Brad Lassey
c16705fa01
Bug 575750 - Implement support for OS protocol handlers on Android [r=mwu,bzbarsky]
...
--HG--
extra : rebase_source : 00c00eff847686211b07798f8d837e7bde02b89d
2010-06-29 22:22:08 -04:00
Brad Lassey
881f9ee16e
bug 581535 - remote android ime bridge functions r=cjones,mwu
...
--HG--
extra : rebase_source : d3ee044a61b614f874f1e5425a58eaf7c7108af1
2010-08-05 13:11:32 -05:00
Brad Lassey
32e4e008b6
bug 581066 - Android debug builds crash when content loaded r=mwu
...
--HG--
extra : rebase_source : 843ec93d458afffc87ce2c27ba1c3581d465984d
2010-08-05 11:17:51 -05:00
Nochum Sossonko
f4ef86a116
Bug 565458 - Attempt to fix intermittent browser_privatebrowsing_beforeunload[enter|exit].js test part 2, r=ehsan a=NPOTB
2010-08-05 18:50:25 -04:00