933 Commits

Author SHA1 Message Date
reed%reedloden.com
8de8371f0a Bug 398101 - Be more diligent about invalidating textruns for lines [p=roc r+sr=dbaron a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@239026 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-09 06:55:32 +00:00
reed%reedloden.com
d479bc0f1e Bug 307242 - Use ClearFloats instead of inspecting the space manager to determine the final height of a block formatting context [p=roc r=elif sr=roc a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@238956 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-08 04:42:26 +00:00
reed%reedloden.com
961deefa00 Bug 398144 - Make blocks that are margin-roots never consider themselves empty. [p=roc r+sr=dbaron a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@238947 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-08 03:55:12 +00:00
dholbert%cs.stanford.edu
329aea1cdd Bug 400171: check line mCombinedArea (along with mBounds) to find float damage. r+sr=roc, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@238926 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-07 20:07:54 +00:00
dholbert%cs.stanford.edu
723ad12919 Bug 399384: Make first-letter frames use nearest ancestor blockFrame's content node, instead of direct parent's.
r=bzbarsky, r+a=roc


git-svn-id: svn://10.0.0.236/trunk@237923 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-19 17:41:29 +00:00
fantasai.cvs%inkedblade.net
3667c35027 Fix StealFrame failure + crash, b=400223 r+sr=roc a=roc
git-svn-id: svn://10.0.0.236/trunk@237915 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-19 14:54:07 +00:00
roc+%cs.cmu.edu
151722d42f Bug 397518. Wrap inline non-MathML children of MathML frames in anonymous blocks. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@237645 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-12 08:30:55 +00:00
smontagu%smontagu.org
f0d002ff76 Change the usage of NEEDS_BIDI_RESOLUTION so that it is either set on every block in a continuation chain or none of them. Bug 394805, r+sr+b=roc
git-svn-id: svn://10.0.0.236/trunk@237584 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-11 11:41:04 +00:00
bzbarsky%mit.edu
9c12a12131 Don't allow first-letter on the block inside a mathml table cell. Bug 398510,
r+sr+a=roc


git-svn-id: svn://10.0.0.236/trunk@237571 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-11 04:36:48 +00:00
fantasai.cvs%inkedblade.net
df72ada2c3 crash due to improper overflow container frame deletion, b=393956, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@237551 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 22:09:53 +00:00
roc+%cs.cmu.edu
e41c942cef Bug 389583. Move an assert so it doesn't fire bogusly. r=eli,sr=mats,a=dbaron
git-svn-id: svn://10.0.0.236/trunk@237503 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 02:18:40 +00:00
mats.palmgren%bredband.net
141f429ec8 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
git-svn-id: svn://10.0.0.236/trunk@237376 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-07 17:32:07 +00:00
reed%reedloden.com
c6b19165cf Backed out elif's patch from bug 307242 due to it causing a reftest failure for the test for bug 218473.
git-svn-id: svn://10.0.0.236/trunk@237249 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-04 04:33:43 +00:00
reed%reedloden.com
dcc5727a4b Bug 307242 - "ASSERTION: bad argument: '(aRight > mLeft) && (aRight < mRight)', @ nsSpaceManager::BandRect::SplitHorizontally" [p=elif (sharparrow1) r+sr+a1.9=roc]
git-svn-id: svn://10.0.0.236/trunk@237237 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-04 03:18:31 +00:00
fantasai.cvs%inkedblade.net
77c12e0239 fix use of DEBUG-only data member, bug=154892 r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@237065 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-02 08:29:23 +00:00
fantasai.cvs%inkedblade.net
3a00ff8d0e paginate absolutely-positioned elements, b=154892 r+sr=roc a=roc
git-svn-id: svn://10.0.0.236/trunk@237057 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-02 05:57:46 +00:00
dholbert%cs.stanford.edu
4910cecd69 Bug 391894, comment amendment for just-checked-in patch. (s/normal-child/regular-children/)
git-svn-id: svn://10.0.0.236/trunk@236565 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-24 20:25:38 +00:00
dholbert%cs.stanford.edu
28f96043c9 Bug 391894: Make recursive call to CollectFloats on children in overflowList. r=roc sr=roc approval1.9=roc
git-svn-id: svn://10.0.0.236/trunk@236564 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-24 20:21:41 +00:00
dholbert%cs.stanford.edu
1a9eee3d2e Bug 387876 – Columns in absolutely positioned div break when changed,
r=roc sr=roc blocking1.9=dbaron


git-svn-id: svn://10.0.0.236/trunk@236563 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-24 19:52:09 +00:00
roc+%cs.cmu.edu
b6d8f8d678 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
git-svn-id: svn://10.0.0.236/trunk@236189 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-18 03:00:16 +00:00
jwalden%mit.edu
b6f3bdf388 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
git-svn-id: svn://10.0.0.236/trunk@233906 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 06:41:37 +00:00
jruderman%hmc.edu
f851a844e8 Add period at end of sentence. Comment-only change.
git-svn-id: svn://10.0.0.236/trunk@233788 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-03 09:51:52 +00:00
smontagu%smontagu.org
ea4e88a4ac Previous checkin was for bug 382422
git-svn-id: svn://10.0.0.236/trunk@233782 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-03 07:00:10 +00:00
smontagu%smontagu.org
51c436f5f0 Bug 382422: Optimize calls to Bidi resolution. r=dbaron, sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@233781 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-03 06:51:11 +00:00
smontagu%smontagu.org
3cb99550e5 Remove cruft from nsBidiPresUtils. Bug 393962, r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@233303 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 09:19:16 +00:00
masayuki%d-toybox.com
4a791f4b57 Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@232841 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 11:13:55 +00:00
roc+%cs.cmu.edu
ab3ff204b2 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
git-svn-id: svn://10.0.0.236/trunk@232839 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 09:08:15 +00:00
sharparrow1%yahoo.com
3854a6354d Bug 383883: {inc} issues with block moving through non-moving float. r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@232403 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 20:07:50 +00:00
sharparrow1%yahoo.com
df02c0c0f5 Bug 390762: Crash [@ nsFrameManager::UnregisterPlaceholderFrame] with -moz-column and float. r=fantasai, sr+a=roc.
git-svn-id: svn://10.0.0.236/trunk@232311 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-18 00:06:46 +00:00
martijn.martijn%gmail.com
6ed61f9469 Bug 322689 – ASSERTION: Wrapping frame should be block-level: aLastRS->frame->GetStyl, r+sr=bzbarsky, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@232069 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-14 20:52:21 +00:00
roc+%cs.cmu.edu
330537f74c Backing out fix for bug 385607 due to bustage and Tp regressions
git-svn-id: svn://10.0.0.236/trunk@231780 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 04:41:00 +00:00
roc+%cs.cmu.edu
1aee7e382d Bug 385607. Force re-evaluation of textruns when block descendants are deleted or added.
git-svn-id: svn://10.0.0.236/trunk@231777 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 02:49:28 +00:00
masayuki%d-toybox.com
a8014a587a Bug 365336 text-decoration width should be rounded to the device pixels r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@231524 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-06 08:15:02 +00:00
bmlk%gmx.de
fc727f7f30 only break if the height is really constrained, bug 380550 r/sr=dbaron a=1.9+
git-svn-id: svn://10.0.0.236/trunk@231483 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-04 09:40:00 +00:00
jwalden%mit.edu
ca9d80062e 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
git-svn-id: svn://10.0.0.236/trunk@231374 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 22:44:36 +00:00
bzbarsky%mit.edu
09cd49975f Give bullet frames the right style context parent. Bug 387219, r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@231367 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 22:07:52 +00:00
bzbarsky%mit.edu
3524c6eee1 Introduce a setter for nsHTMLReflowState::mComputedHeight so that we're sure to
update the resize flags properly.  Bug 388084, r+sr+a=dbaron


git-svn-id: svn://10.0.0.236/trunk@231323 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 18:08:07 +00:00
sharparrow1%yahoo.com
d320fcdfc7 Backout bug 320378 due to regression bug 389398
git-svn-id: svn://10.0.0.236/trunk@231075 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 22:03:57 +00:00
roc+%cs.cmu.edu
cb8c6e3a11 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
git-svn-id: svn://10.0.0.236/trunk@231012 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 04:03:31 +00:00
bzbarsky%mit.edu
525f3e0e01 Add assertion. Bug 382199, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@230718 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 01:42:23 +00:00
sharparrow1%yahoo.com
76b2a6cc11 Bug 320378: Fix rendering preformance for heavily nested pages with clearance.
git-svn-id: svn://10.0.0.236/trunk@230701 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 00:40:42 +00:00
asqueella%gmail.com
e3a8e85fdf 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


git-svn-id: svn://10.0.0.236/trunk@230686 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-23 23:31:12 +00:00
sharparrow1%yahoo.com
061b53d1a6 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.
git-svn-id: svn://10.0.0.236/trunk@230668 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-23 21:40:10 +00:00
jwalden%mit.edu
dda6ff3c99 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.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
mats.palmgren%bredband.net
fd18364353 Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@229301 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 02:15:35 +00:00
sharparrow1%yahoo.com
1fefb19635 Bug 386142: fantasai's li'l Need More Comments bug. Patch by fantasai, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@229291 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 22:49:01 +00:00
sharparrow1%yahoo.com
4d74a755f2 Bug 377204: Clearing multi-page floated elements works on screen but not when printing (fix for fixed-height case). r+sr=rpc.
git-svn-id: svn://10.0.0.236/trunk@229187 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-02 21:00:31 +00:00
roc+%cs.cmu.edu
e5b5169706 Bug 383551. Clean up IsInlineFrame, nsStyleDisplay::IsBlockLevel and related methods. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@228806 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 02:31:35 +00:00
dbaron%dbaron.org
cd6e9c2d37 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
git-svn-id: svn://10.0.0.236/trunk@228548 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-21 22:33:10 +00:00
sharparrow1%yahoo.com
b12e3b26ae Bug 381385: get rid of unneeded members of nsFloatCache (saves about 50 bytes footprint per float). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@228176 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-16 20:27:46 +00:00