roc+%cs.cmu.edu
587f15c9d2
Bug 273193. Make sure empty blocks get the same margin and relative positioning adjustments that non-empty blocks get. r+sr=bzbarsky
2005-01-25 22:29:59 +00:00
roc+%cs.cmu.edu
26d59e8fa8
Bug 265857. Make sure we never split blocks when height is unconstrained, even if integer overflow in y-coord calculations makes it look like we're out of space. r+sr=bzbarsky
2005-01-25 22:20:35 +00:00
bmlk%gmx.de
ca3e9f85c3
remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron
2004-12-27 15:05:18 +00:00
roc+%cs.cmu.edu
13a6502805
Bug 209694. Major rework of margin-collapsing and clearance to match CSS 2.1 rules. Also includes major incremental reflow fixes for those situations. See the bug for details. rubber-stamp r+sr=dbaron
2004-11-25 14:51:00 +00:00
roc+%cs.cmu.edu
44a2fd5b52
Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
2004-09-14 02:28:03 +00:00
bryner%brianryner.com
b88692c5a1
Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron.
2004-08-24 18:50:29 +00:00
bryner%brianryner.com
0c08074b27
Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction)
2004-08-22 07:10:50 +00:00
bryner%brianryner.com
d86c91ac3a
Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron.
2004-08-22 04:58:44 +00:00
bryner%brianryner.com
8c24cc7e63
Backing out bug 253888 until I can figure out how to fix the crash
2004-08-21 06:27:54 +00:00
bryner%brianryner.com
11d98b36e5
Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron.
2004-08-21 05:09:50 +00:00
bryner%brianryner.com
5c02a6978c
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
gerv%gerv.net
708b56cff4
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +00:00
bryner%brianryner.com
225298a99e
Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
2004-02-23 21:29:06 +00:00
dbaron%dbaron.org
cf234f479e
Don't handle auto margins when the container has an unconstrained width. (This still doesn't handle max-width computation with a constrained reflow.) b=229654 r+sr=bzbarsky
2004-02-09 05:22:23 +00:00
dbaron%dbaron.org
b94360f0f4
Clean up ComputeShrinkwrapMargins. b=217369 r+sr=bzbarsky
2004-01-27 06:46:33 +00:00
dbaron%dbaron.org
139e92501a
Fix a bunch of errors in incremental computation of maximum width and max-element-size that were causing incremental reflow bugs. b=39683, 217369 r+sr=roc
2004-01-27 05:47:55 +00:00
dbaron%dbaron.org
99665b6c2c
Treat relatively positioned elements at original position for flowing around floats. b=205087 r+sr=bzbarsky
2004-01-11 04:29:09 +00:00
dbaron%dbaron.org
a012b34247
Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa
2003-11-24 19:46:25 +00:00
dbaron%dbaron.org
02b14dd0ce
Remove unneeded mIsTable member variable. r+sr=bzbarsky b=225902
2003-11-16 21:12:17 +00:00
dbaron%dbaron.org
8856db0238
Clean up nsIFrame::IsEmpty signature and move towards making 'white-space' work on inlines. b=191699 r+sr=roc
2003-11-10 23:36:06 +00:00
dbaron%dbaron.org
3de4dc91e0
Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky
2003-10-13 21:51:02 +00:00
dbaron%dbaron.org
c49da48965
Change our implementation of 'overflow: hidden' to be more compatible with other browsers, as CSS 2.1 now allows. b=69355 r+sr=bzbarsky
2003-09-16 22:09:18 +00:00
roc+%cs.cmu.edu
e44d55b8cc
Bug 207477. Clean up nsBlockFrame, and don't suppress invalidation in nsBlockFrame::ReflowLine if it's a resize reflow. r+sr=dbaron
2003-07-15 00:04:43 +00:00
roc+%cs.cmu.edu
3d6b2b44f3
ongoing deCOMtamination work. r+sr=dbaron
2003-06-27 18:13:48 +00:00
dbaron%dbaron.org
75ff60c62f
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
2003-05-15 03:42:21 +00:00
bryner%netscape.com
e43f5a49fd
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
2003-02-22 00:32:13 +00:00
dbaron%dbaron.org
57124d8115
Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky
2003-01-09 14:26:32 +00:00
dbaron%fas.harvard.edu
a34c46af22
Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only.
2003-01-01 23:53:20 +00:00
dbaron%fas.harvard.edu
68ec6bfcbc
Allow relative positioning to again influence the overflow area, since we're no longer using the overflow area for layout. r+sr=roc b=174149
2002-12-19 00:23:00 +00:00
dbaron%fas.harvard.edu
d7be43384d
Fix margin collapsing of margins other than the first child's top margin out of the top of a block. b=44242, 18206 r=roc (mostly)
2002-11-28 19:29:28 +00:00
bzbarsky%mit.edu
279ffda515
Make GetParent on nsStyleContext return an
...
already_AddRefed<nsIStyleContext>. Bug 171808, r=jkeiser, sr=dbaron
2002-10-09 01:46:15 +00:00
karnaze%netscape.com
40902d04df
bug 163614 - Changed DeleteChildsNextInFlow to DeleteNextInFlowChild, params, and callers. sr=kin, r=alexsavulov,dcone
2002-10-08 20:35:26 +00:00
dbaron%fas.harvard.edu
9c1884ca02
Don't resolve the positive and negative parts of collapsing margins too early when collapsing through empty blocks. A few bits of other cleanup. b=172892 sr=bzbarsky r=kin
2002-10-08 01:52:34 +00:00
karnaze%netscape.com
3687f1f3d0
bug 149275 - Allocate reflow state and let ReflowBlock initialize it so the correct reflow state can be passed to DidReflow. Combined DoReflowBlock with ReflowBlock. sr=bzbarsky, r=alexsavulov.
2002-09-04 06:55:40 +00:00
karnaze%netscape.com
0085190f4a
bug 154780 - Revised bernd's patch. treat null unit margins as auto. leave the cell avail width at 0 if a strategy init will occur. sr=kin, r=alexsavulov.
2002-09-04 00:10:43 +00:00
kin%netscape.com
50e1a69237
Fix for bug #96736 : [FLOATER]The "Top 1000 Reviewer" is overwritten by text
...
mozilla/layout/base/src/nsSpaceManager.cpp
mozilla/layout/base/src/nsSpaceManager.h
- Implemented nsSpaceManager methods PushState()
and PopState().
mozilla/layout/html/base/src/nsBlockReflowContext.cpp
- Modified nsBlockReflowContext::DoReflowBlock() to
call PushState() and PopState() to remove any
floaters that may have been added to the SpaceManager
during the intermediate "unconstrained" Reflow()
call, used to calculate the max block width. This
allows the Reflow() call that immediately follows
it to properly place the floaters.
r=waterson@netscape.com sr=dbaron@fas.harvard.edu
2002-08-19 04:41:57 +00:00
bernd.mielke%snafu.de
7054f14c18
bug 154979 - use gNoisyMaxElementSize instead of NOISY_MAX_ELEMENTSIZE r=karnaze sr=waterson
2002-07-01 17:43:02 +00:00
karnaze%netscape.com
d77603590f
bug 148399 - fix places where patch in bug 145305 incorrectly changed checks for NS_FRAME_COMPLETE to use NS_FRAME_IS_NOT_COMPLETE macro. sr=kin, r=alexsavulov
2002-06-14 14:40:02 +00:00
karnaze%netscape.com
1faf4c0592
bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
2002-05-28 22:50:43 +00:00
jst%netscape.com
1075a3f80d
Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
2002-05-23 00:00:34 +00:00
waterson%netscape.com
e3554c37cc
Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi
2002-05-10 18:22:41 +00:00
waterson%netscape.com
854831c91c
Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
2001-12-17 22:39:59 +00:00
karnaze%netscape.com
748ebbcd0d
bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov
2001-12-07 14:51:12 +00:00
attinasi%netscape.com
2cf04d7646
Fix for problem with horizontal auto margins in presence of padding on parent: checkin for arunan_bala@hotmail.com b=20582 r=dbaron sr=attinasi
2001-11-28 01:17:51 +00:00
dbaron%fas.harvard.edu
6e86902faa
Remove unnecessary XPCOM interface around nsSpaceManager. b=102453 r=jag sr=waterson
2001-10-26 05:06:07 +00:00
dbaron%fas.harvard.edu
157c017816
Bug 86947:
...
Make the line list doubly linked and access it through a list class and iterators.
Stop recomputing margins on all of the children of each block in the reflow chain (which causes O(N^2) state recovery during incremental reflow). Instead, add a second dirty bit to the lines and walk backwards through the line list to recompute vertical margins only when either dirty bit is set and the previous line was not reflowed. Add nsIFrame::IsEmpty to identify frames through which margins collapse.
Fix O(N^2) propagation of float damage by maintaining a set of intervals damaged by floats (bug 61962) and be sure to damage the correct areas (bug 48138).
Introduce nsCollapsingMargin to do correct collapsing of combinations of positive and negative margins (bug 50142).
Clean up some odds and ends and fix another smaller O(N^2) problem in nsBlockFrame::AddFrames.
r=attinasi, rbs sr=waterson
2001-10-25 01:08:40 +00:00
gerv%gerv.net
4e12e44b2f
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
waterson%netscape.com
48483431d2
Bug 55086. Change nsContainerFrame::PositionFrameView() to position child views. Eliminate the |aView| parameter from that method, because the view can be retrieved from the frame and need not be done by the caller. Eliminate the NS_FRAME_NO_MOVE_CHILD_VIEWS flag, which was read-only; i.e., never set by anyone. r=dbaron, sr=attinasi
2001-09-05 20:27:19 +00:00
waterson%netscape.com
07f0145166
Bug 55086. Be sure to position child views, too! r=dbaron, sr=attinasi, a=blizzard.
2001-08-31 20:14:31 +00:00
dbaron%fas.harvard.edu
077fc4d427
Add some comments to code about issues that we should look at, remove some unused code, rename some unnecessarily-overloaded functions, fix some typos, and make a few minor style changes. b=88735 r=waterson sr=attinasi
2001-07-04 02:00:05 +00:00