roc+%cs.cmu.edu
1b1e85dcaa
Bug 468771. Make sure to reflow the last column of a column-set if we're changing its height to be unbounded; it needs to pull all the content from the extra column, if there is one. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@258960 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-11 02:06:04 +00:00
bzbarsky%mit.edu
a7f11bd265
Bug 493649. Make sure that we never end up incomplete when our available height is unconstrained. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@257686 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-11 06:07:07 +00:00
bzbarsky%mit.edu
f9d965c3dd
Fix bug 449362. r+sr=roc, a=samuelsidler
...
git-svn-id: svn://10.0.0.236/trunk@253822 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-25 20:41:10 +00:00
fantasai.cvs%inkedblade.net
f493b19190
consider relevant overflow when balancing columns (fixes various crashes and hangs) b=404215 r+sr=roc a=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@250437 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-18 07:40:37 +00:00
mats.palmgren%bredband.net
181ce71ce0
Protect against integer overflow when calculating frame widths. b=421671 r+sr=roc a1.9=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@249031 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-03 03:11:13 +00:00
reed%reedloden.com
9e393157c2
Bug 391559 - "Incorrect ordered-list numbering within -moz-column-* (and/or numbering changes when clicked)" [p=craig.topper@gmail.com (Craig Topper) r+sr=roc a1.9=beltzner]
...
git-svn-id: svn://10.0.0.236/trunk@246395 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-24 07:31:30 +00:00
fantasai.cvs%inkedblade.net
573c3c24fb
switch GetOverflowAreaProperty callers to GetOverflowRect b=417116 r+sr=roc a=roc
...
git-svn-id: svn://10.0.0.236/trunk@246042 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 07:08:56 +00:00
mats.palmgren%bredband.net
2efcf10391
Avoid divide by zero and make negative values for -moz-column-gap/width invalid. b=416088 r+sr=roc a=mtschrep
...
git-svn-id: svn://10.0.0.236/trunk@245862 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-17 04:45:59 +00:00
reed%reedloden.com
be3ee782f9
Bug 416630 - "nsColumnSetFrame unbounded last column next in flow check is reversed" [p=craig.topper@gmail.com (Craig Topper) r+sr=roc a1.9=schrep]
...
git-svn-id: svn://10.0.0.236/trunk@245387 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-11 07:21:43 +00:00
mats.palmgren%bredband.net
d7ad8060ca
Make column layout deal with 'ch' unit for -moz-column-width/gap. b=391979 r+sr=roc a=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@242360 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-04 17:48:19 +00:00
dholbert%cs.stanford.edu
aa282adde8
Whitespace-only change:
...
Clean up indentation for argument list in nsColumnSetFrame::Reflow
git-svn-id: svn://10.0.0.236/trunk@242139 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-28 04:00:35 +00:00
fantasai.cvs%inkedblade.net
7ce523d36b
ignore overflow containers when balancing, b=399407, r+sr=roc a=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@239216 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-12 19:00:59 +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
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
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
roc+%cs.cmu.edu
a9b24741e2
Bug 364680. Intrinsic widths for columns. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@230345 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-20 02:21:44 +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
bzbarsky%mit.edu
ba5badedcb
Change the FrameNeedsReflow API to pass the dirty flags to be added directly to
...
the method, instead of setting them before calling the method. That way we can
avoid reflowing the ancestor of a reflow root which is not itself dirty but has
dirty children. This also makes it harder to set dirty bits inconsistently
with the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' review
on the mathml parts.
git-svn-id: svn://10.0.0.236/trunk@226007 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-06 19:16:52 +00:00
roc+%cs.cmu.edu
469aea8977
Bug 368863. Reparent floats properly when placeholders move between inline continuations. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@224821 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-21 00:42:58 +00:00
bzbarsky%mit.edu
116d69628c
Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by
...
Taras Glek <tglek@mozilla.com>, rs=roc.
git-svn-id: svn://10.0.0.236/trunk@222659 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 21:11:47 +00:00
bzbarsky%mit.edu
ee4ee8ea0b
Make blocks whose ancestors are not blocks have the NS_BLOCK_MARGIN_ROOT and
...
NS_BLOCK_SPACE_MGR bits as necessary. Bug 354600, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@220533 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 23:53:25 +00:00
cvshook%sicking.cc
ccd1d6884d
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
...
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
bzbarsky%mit.edu
343ced44ba
Make mComputedWidth private, with a getter/setter, and make the setter update
...
the resize flags. Bug 367442, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218933 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 00:05:12 +00:00
dbaron%dbaron.org
103e95ab15
Change the bulk of ascent (baseline) computation to happen on a virtual method on nsIFrame, and remove the redundant descent member from nsHTMLReflowMetrics, primarily to support having both first-line and last-line baselines. b=367332 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@218785 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 04:06:56 +00:00
bmlk%gmx.de
66cba9f983
Stronger band-aid to prevent table splitting inside columns bug 362275 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@218721 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-21 17:51:33 +00:00
roc+%cs.cmu.edu
7bc222b695
Bug 366880. -moz-column-gap should support 'normal', which should be the initial value. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@218489 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 03:25:38 +00:00
timeless%mozdev.org
c778d21502
Bug 355300 There should be only one nsGkAtoms creature
...
r=dbaron
git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
roc+%cs.cmu.edu
3713dfee3b
Fixing DEBUG_roc-only bustage. NPOB.
...
git-svn-id: svn://10.0.0.236/trunk@216831 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 22:06:53 +00:00
dbaron%dbaron.org
1ca9f3f372
Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
...
git-svn-id: svn://10.0.0.236/trunk@216738 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 05:38:33 +00:00
bzbarsky%mit.edu
ee561228eb
Back out bug 354600 to fix regressions.
...
git-svn-id: svn://10.0.0.236/trunk@215446 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-19 20:23:56 +00:00
bzbarsky%mit.edu
77b17ef48c
Make block frames that are not kids of blocks automatically have space managers
...
(and margin roots, except in the columns case) so we don't have to play
whack-a-framestate-flag. Bug 354600, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@215356 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 17:51:53 +00:00
roc+%cs.cmu.edu
170630f895
Bug 312963. Fix column layout when content in the column is out-of-flow but still needs to break vertically. rubberstamp r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@215053 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 21:38:34 +00:00
roc+%cs.cmu.edu
b6ebd9961d
Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@193976 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 00:16:29 +00:00
dbaron%dbaron.org
b258ce85ca
Single line comments to describe files (helpful in LXR)
...
git-svn-id: svn://10.0.0.236/trunk@193203 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-29 18:29:03 +00:00
roc+%cs.cmu.edu
140fbb3377
Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@193022 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 21:30:36 +00:00
pavlov%pavlov.net
b5c7a440ef
backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
...
git-svn-id: svn://10.0.0.236/trunk@192407 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
6e36f2c733
Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@192399 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 03:14:02 +00:00
uriber%gmail.com
9abc8fa432
Bug 299065: Bidi resolution needs to split inlines in addition to text frames. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@190744 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 21:33:47 +00:00
roc+%cs.cmu.edu
df8627e29b
Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
...
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
timeless%mozdev.org
a05383ef1b
Bug 106386 Correct misspellings in source code
...
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@185018 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 22:05:24 +00:00
roc+%cs.cmu.edu
c4e0410c6e
Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
...
git-svn-id: svn://10.0.0.236/trunk@184129 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 02:38:33 +00:00
roc+%cs.cmu.edu
aeacb4d477
Bug 108310. Make GetFrameForPoint take frame-relative coordinates, not bogus relative-to-some-view-or-other, and simplify the signature. r+sr=roc, patch by Eli Friedman.
...
git-svn-id: svn://10.0.0.236/trunk@180551 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 02:15:54 +00:00
roc+%cs.cmu.edu
47f6eb2817
Bug 298893. Collapse the leading and trailing margins of a column set. Makes columns degrade more gracefully.
...
git-svn-id: svn://10.0.0.236/trunk@177002 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 20:05:52 +00:00
roc+%cs.cmu.edu
906c217d28
Bug 298378. Make sure that a style-change reflow on a column set eventually reflows all the descendant frames, even if some of them don't get reflowed on the first pass. r+sr=dbaron,a=asa
...
git-svn-id: svn://10.0.0.236/trunk@175156 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-26 22:15:08 +00:00
roc+%cs.cmu.edu
0d1ac7f10f
Bug 288560. Set mIsTopOfPage for each column in a column set. Also, make it possible to force floats to fit by relaxing the space manager's height constraint if necessary. r+sr=dbaron,a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@172829 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 21:25:11 +00:00
roc+%cs.cmu.edu
32e18a1163
Bug 285348. Fix reflow of nested columns by ensuring that if a column overflows, its next-in-flow gets reflowed *even if* that next in flow belongs to continuation of the column set
...
git-svn-id: svn://10.0.0.236/trunk@171405 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 20:31:13 +00:00
roc+%cs.cmu.edu
7f1a3c9c93
Bug 263825. Make paginated floats work, and other fixes. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@171036 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 03:35:08 +00:00
bzbarsky%mit.edu
807f289552
Move reflow command construction into nsPresShell::AppendReflowCommand, remove
...
some members, switch some callers to the non-COM-ish apis. Bug 267085, r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@168953 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 00:59:52 +00:00
bzbarsky%mit.edu
2bea98552c
Remove prescontext args for some nsIFrame methods
...
(Append/Insert/Remove/ReplaceFrames) and for some methods in table land. Patch
by Vidar Braut Haarr <bugmail@q1n.org>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168894 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 01:58:25 +00:00
roc+%cs.cmu.edu
b6636b035e
Bug 277355. Make columns get the right containing block width and height. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@168604 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 01:21:25 +00:00