Commit Graph

1175 Commits

Author SHA1 Message Date
7b94aca146 Don't allow first-letter on the block inside a mathml table cell. Bug 398510, r+sr+a=roc 2007-10-10 21:36:48 -07:00
9bf72a70e1 crash due to improper overflow container frame deletion, b=393956, r+sr=roc 2007-10-10 15:09:53 -07:00
d91eafc7e8 Bug 389583. Move an assert so it doesn't fire bogusly. r=eli,sr=mats,a=dbaron 2007-10-09 19:18:40 -07:00
a66b887e59 Take into account that |line| can be an overflow line when accessing the previous line. Patch by roc and me. b=397007 r+sr=me/roc blocking1.9=roc 2007-10-07 10:32:07 -07:00
8a5898a0ae Backed out elif's patch from bug 307242 due to it causing a reftest failure for the test for bug 218473. 2007-10-03 21:33:43 -07:00
9dad88def1 Bug 307242 - "ASSERTION: bad argument: '(aRight > mLeft) && (aRight < mRight)', @ nsSpaceManager::BandRect::SplitHorizontally" [p=elif (sharparrow1) r+sr+a1.9=roc] 2007-10-03 20:18:31 -07:00
ee1682f02e fix use of DEBUG-only data member, bug=154892 r+sr+a=roc 2007-10-02 01:29:23 -07:00
9011ed7502 paginate absolutely-positioned elements, b=154892 r+sr=roc a=roc 2007-10-01 22:57:45 -07:00
7093a19b61 Bug 391894, comment amendment for just-checked-in patch. (s/normal-child/regular-children/) 2007-09-24 13:25:38 -07:00
1cea9f4e36 Bug 391894: Make recursive call to CollectFloats on children in overflowList. r=roc sr=roc approval1.9=roc 2007-09-24 13:21:41 -07:00
690a4790d8 Bug 387876 - Columns in absolutely positioned div break when changed, r=roc sr=roc blocking1.9=dbaron 2007-09-24 12:52:09 -07:00
e27f7cbdf0 Bug 385607. Ensure that whitespace is collapsed across text-run boundaries across incremental updates like adding/removing frames in the middle of the textrun. r+sr+a=dbaron 2007-09-17 20:00:16 -07:00
8a277235d9 Bug 348748 - Cleanup from the handful of patches which have landed since the initial landing that have readded cast macros; I intend to remove the rest of the instances Very Soon, all but certainly before the M8 freeze, so the macro definitions can be removed, again all but certainly before the M8 freeze, if people are okay with them being removed. Still r=bsmedberg, a=no-functionality-change 2007-09-04 23:41:35 -07:00
9de88952a6 Add period at end of sentence. Comment-only change. 2007-09-03 02:51:52 -07:00
87938a266e Previous checkin was for bug 382422 2007-09-03 00:00:10 -07:00
7ff5e15a78 Bug 394222: Optimize calls to Bidi resolution. r=dbaron, sr+a=roc 2007-09-02 23:51:11 -07:00
871dbde77e Remove cruft from nsBidiPresUtils. Bug 393962, r+sr+a=roc 2007-08-29 02:19:16 -07:00
409d7404ef Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
e5d538f318 Bug 390050. Scan all blocks in a flow-chain, and their overflow lines, when iterating through lines to build text runs. r=smontagu,mats,sr=mats,a=bz 2007-08-22 02:08:13 -07:00
ffca226985 Bug 383883: {inc} issues with block moving through non-moving float. r+sr+a=dbaron 2007-08-20 13:07:50 -07:00
878e20d197 Bug 390762: Crash [@ nsFrameManager::UnregisterPlaceholderFrame] with -moz-column and float. r=fantasai, sr+a=roc. 2007-08-17 17:06:46 -07:00
45c5250fad Bug 322689 - ASSERTION: Wrapping frame should be block-level: aLastRS->frame->GetStyl, r+sr=bzbarsky, a=dbaron 2007-08-14 13:52:21 -07:00
27e41dcc94 Backing out fix for bug 385607 due to bustage and Tp regressions 2007-08-09 21:41:00 -07:00
9fc9748051 Bug 385607. Force re-evaluation of textruns when block descendants are deleted or added. 2007-08-09 19:49:28 -07:00
f5d4190bff Bug 365336 text-decoration width should be rounded to the device pixels r+sr=roc 2007-08-06 01:15:00 -07:00
8eea741376 only break if the height is really constrained, bug 380550 r/sr=dbaron a=1.9+ 2007-08-04 02:40:00 -07:00
094b31fdd0 Bug 386801 - nsAbsoluteContainingBlock doesn't need to store a child list name; this shaves four bytes off nsViewportFrame, nsBlockFrame, and nsPositionedInlineFrame. r+sr+a=dbaron 2007-08-02 15:44:36 -07:00
7d1630d10a Give bullet frames the right style context parent. Bug 387219, r+sr+a=dbaron 2007-08-02 15:07:52 -07:00
368c29ae32 Introduce a setter for nsHTMLReflowState::mComputedHeight so that we're sure to
update the resize flags properly.  Bug 388084, r+sr+a=dbaron
2007-08-02 11:08:05 -07:00
b410bb5f8a Backout bug 320378 due to regression bug 389398 2007-07-26 15:03:57 -07:00
e3742c090c Bug 379349. Add support for 'overflow containers' --- special frame continuations that do not map any content of their own, but serve only as containers for laying out children that overflowed their parents' content height. patch by fantasai, r+sr=eli,roc 2007-07-25 21:03:29 -07:00
2ecbd73cfe Add assertion. Bug 382199, r+sr=dbaron 2007-07-23 18:42:23 -07:00
3b19eeb479 Bug 320378: Fix rendering preformance for heavily nested pages with clearance. 2007-07-23 17:40:42 -07:00
974eeb109c fix bug 388709 - "ASSERTION: Please remove this from the document properly: '!IsInDoc()'" with :after, floating :first-letter
Store the generated content as a nsCOMArray<nsIContent>* property on frames to make its clean-up on frame destruction less fragile.

r+sr=roc
2007-07-23 16:31:11 -07:00
65d89c0fd7 Bug 386147: Don't cut off floats at the bottom of the page, part 2: make sure continuations have the right preferred width. r+sr=dbaron. 2007-07-23 14:40:10 -07:00
98de634631 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
79eeaa32d0 Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst 2007-07-03 19:15:31 -07:00
571fce1f0d Bug 386142: fantasai's li'l Need More Comments bug. Patch by fantasai, r+sr=roc 2007-07-03 15:49:00 -07:00
c37641ed58 Bug 377204: Clearing multi-page floated elements works on screen but not when printing (fix for fixed-height case). r+sr=rpc. 2007-07-02 14:00:31 -07:00
76b5240bee Bug 383551. Clean up IsInlineFrame, nsStyleDisplay::IsBlockLevel and related methods. r+sr=dbaron 2007-06-26 19:31:35 -07:00
0c0511351a Make text-indent contribute to intrinsic widths, and handle negative text-indent and negative margin properly by distinguishing forced and optional breaks when accumulating minimum widths. b=368155 r+sr=roc 2007-06-21 15:32:47 -07:00
0490a58e96 Bug 381385: get rid of unneeded members of nsFloatCache (saves about 50 bytes footprint per float). r+sr=roc. 2007-06-16 13:27:46 -07:00
12449ae2ce Do bidi resolution during GetPrefWidth() and GetMinWidth() as well as Reflow(). Bug 365130, r+sr=roc 2007-05-28 07:40:56 -07:00
bd16aac27e Bug 377391: Parts of a rectangle with CSS outline remains, when changing rectangle size. r+sr=roc 2007-05-21 03:06:08 -07:00
5969494ddd Bug 45631: text-indent: n% doesn't incrementally reflow correctly. r+sr=roc. 2007-05-21 02:55:27 -07:00
ced9959fcd Remove now-unneeded checks for eStyleUnit_Null. b=379741 r+sr=bzbarsky 2007-05-10 23:02:31 -07:00
cdb5b22b87 Change the FrameNeedsReflow API to pass the dirty flags to be added directly tothe method, instead of setting them before calling the method. That way we canavoid reflowing the ancestor of a reflow root which is not itself dirty but hasdirty children. This also makes it harder to set dirty bits inconsistentlywith the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' reviewon the mathml parts. 2007-05-06 12:16:51 -07:00
67490bd44a Fix assert to be more correct. Bug 379383, r+sr=dbaron 2007-05-02 13:32:17 -07:00
001b9a9c4a bug 378383. nsReflowStatus not always initialized in nsBlockFrame::ReflowInlineFrame. r+sr=bzbarsky 2007-04-22 13:57:54 -07:00
50bebcee64 Fix assertion to be more correct. No bug. 2007-04-20 20:57:40 -07:00