Commit Graph

190314 Commits

Author SHA1 Message Date
Mats Palmgren
fcc16b8213 Bug 716408 - Assert that a prev-in-flow is null or of the same frame type. No need to null out mCellMap, the ctor does that and re-Init of frames isn't allowed. r=bernd 2012-01-17 00:38:10 +01:00
Mats Palmgren
5ef72d38e7 Bug 716408 - No need to null-check for delete, no need to null out members in dtor. r=bernd 2012-01-17 00:38:10 +01:00
Mats Palmgren
e123cb15b5 Bug 716408 - Initialize all bits of mBits to zero. r=bernd 2012-01-17 00:38:10 +01:00
Mats Palmgren
4928751209 Bug 716408 - Make nsTableFrame::GetTableFrame abort if the given frame isn't a table frame descendant, thus guaranteeing a non-null result. r=bernd 2012-01-17 00:38:10 +01:00
Mats Palmgren
fb9059334e Bug 716408 - Remove unnecessary nsTableFrame::GetFirstInFlow() calls to get IsBorderCollapse() bit. r=bernd 2012-01-17 00:38:10 +01:00
Mats Palmgren
c06bb838db Bug 716408 - Remove null-checks of GetFirstInFlow() result. r=bernd 2012-01-17 00:38:10 +01:00
Mats Palmgren
e03040685c Bug 665597 - Test that child overflow that overlaps the parent's padding doesn't trigger a scrollbar. 2012-01-17 00:38:10 +01:00
Mats Palmgren
88d4452f45 Bug 665597 - Fix some reftests assumptions about margins and scrollable overflow. part=5/5 r=dbaron,roc 2012-01-17 00:38:10 +01:00
Mats Palmgren
9294488b2f Bug 665597 - Use saturating calculations when adding the margin to the scrollable overflow rect. part=4/5 r=roc 2012-01-17 00:38:10 +01:00
Mats Palmgren
cfe108300e Bug 665597 - Do not include margins in scrollable overflow for popup frames. part=3/5 r=roc 2012-01-17 00:38:10 +01:00
Mats Palmgren
13bbc0239b Bug 665597 - Only include margins in scrollable overflow on the sides where it applies. part=2/5 r=roc 2012-01-17 00:38:10 +01:00
Benjamin Stover
79f944693c Bug 665597 - Include margin calculations in FinishAndStoreOverflow. part=1/5 r=roc 2011-06-20 10:03:09 -07:00
Robert O'Callahan
bdd5a1b56d Bug 665597. Don't check overflow rects include border-box if the overflow rects are saturated. r=mats 2012-01-03 11:55:35 +13:00
Robert O'Callahan
4635d15f3d Bug 665597. Add nsRect::SaturatingUnion(Rect)(Edges). r=mats 2012-01-03 11:55:30 +13:00