dbaron%dbaron.org
a5fcfea19e
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
818581d1d9
Reduce code size by using PaintSelf member function to paint background, border, and outline. b=184702 r+sr=roc
2002-12-23 22:05:47 +00:00
roc+%cs.cmu.edu
e48869f9a2
Backing out fix for bug 170330... againr=dbaron
2002-12-22 05:40:51 +00:00
roc+%cs.cmu.edu
035d850bf9
Bug 170330. Factor out overflowArea calculations and take into account overflow:hidden. Also improve calculations of clipping for invalidation in the view manager. r+sr=dbaron
2002-12-21 23:25:38 +00:00
dbaron%fas.harvard.edu
2c8a506a47
Correctly implement text-decoration in standards mode by drawing the underline on the element with the text-decoration property set. Refactor painting code a bit to avoid code duplication. Patch by Esben Mose Hansen <esben@oek.dk>, with paint refactoring and some other changes by dbaron. r=dbaron sr=bzbarsky b=1777
2002-12-11 04:00:18 +00:00
roc+%cs.cmu.edu
93e5b50e9f
Backing out fix for bug 170330 due to Tp regression
2002-12-06 04:32:07 +00:00
roc+%cs.cmu.edu
f5a2455464
Bug 170330. Factor out overflow area calculations and make them take account of overflow:hidden and outline properties. r=dbaron,sr=kin
2002-12-05 22:29:08 +00:00
karnaze%netscape.com
d6801ac37b
bug 127286 (part II due to cvs problems) - Handle splitting of floaters when lines impacting them are outside the block containing the floaters. sr=kin, r=alexsavulov
2002-12-04 00:58:52 +00:00
dbaron%fas.harvard.edu
e319c955e3
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
dbaron%fas.harvard.edu
b2f992acb9
Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz
2002-11-17 15:37:56 +00:00
bzbarsky%mit.edu
5f0c6d63b3
Fix ReplaceChild() on positioned inlines to delegate to
...
nsAbsoluteContainingBlock.h. Bug 176915, r=dbaron, sr=rbs
2002-11-12 03:30:13 +00:00
kyle.yuan%sun.com
23c30adeaa
Bug 177451 [Active Accessibility] implement support for <toolbar>
...
r=aaronl, sr=jst
Bug 177453 [Active Accessibility] implement support for <hr>
r=aaronl, sr=jst
Bug 177646 [Active Accessibility] implement support for <tooltip>
r=aaronl, sr=jst
2002-11-06 01:29:58 +00:00
karnaze%netscape.com
eb6da2987d
bug 176030 - Make Destroy fix up prev/next-in-flow pointers. a=roc, sr=bzbarsky, r=bernd.
2002-10-30 15:33:36 +00:00
karnaze%netscape.com
09a75283de
bug 157915 - Use the parent of the continued frame when calling DeleteChildsNextInFlow. sr=kin, r=alexsavulov
2002-09-24 22:13:20 +00:00
karnaze%netscape.com
f7277122ea
bug 169620 - don't pass in negative avail widths, don't add/subtract from NS_UNCONSTRAINEDSIZE, make HR's desired width at least as big as its me width. sr=kin, r=dbaron
2002-09-24 21:02:20 +00:00
roc+%cs.cmu.edu
84894eb476
Bug 75121. Incrementally reflow absolute frames without doing a resize-reflow of the container. Patch by dbaron and roc. r=dbaron,r=roc,sr=kin
2002-09-24 11:43:48 +00:00
aaronl%netscape.com
9d629216bd
Bug 160793. Active Accessibility: support broken images. r=kyle, sr=hewitt
2002-08-10 07:59:44 +00:00
kin%netscape.com
263921bc26
Fix for bug 157055 (Text doesn't show up on Lycos mail front page (layout broken by focus))
...
Removed |!aReflowState.path->mReflowCommand| check from |if| condition for the first block that attempts to incrementally reflow the block's absolute children.
This was preventing us from properly reflowing an absolute positioned child or one its children when the current reflow path tree contained both a reflow command targeted at the block and one targeted at the aboslutely positioned child or one of its children. This check shouldn't be necessary since nsAbsoluteContainingBlock::IncrementalReflow() does the necessary checks to see if it really should reflow any of the absolute children.
r=karnaze@netscape.com ,waterson@netscape.com sr=dbaron@fas.harvard.edu a=asa@mozilla.org
2002-07-29 04:19:15 +00:00
karnaze%netscape.com
8b2d677778
bug 154741 - use macros instead of NS_FRAME_COMPLETE, a=asa, sr=kin, r=alexsavulov.
2002-07-15 14:46:01 +00:00
dbaron%fas.harvard.edu
d558717301
Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson
2002-06-25 21:16:17 +00:00
karnaze%netscape.com
63a9a421f6
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
dbaron%fas.harvard.edu
03697f6e80
Fix performance problem on home.netscape.com: Don't do full reflow of all absolutely positioned elements whose containing block is on the path to the target of an incremental reflow. b=146831 sr=waterson r=kin
2002-06-12 03:21:00 +00:00
karnaze%netscape.com
dc7e454eb3
bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
2002-05-28 22:50:43 +00:00
shanjian%netscape.com
7f123711f0
#142562 problem with <td align=right or align=center
...
We are observing langGroup in some place while ignor it in others. This patch
make all font metrics call consistent. nsIRenderingContext API is change to
make things neat.
r=rbs, sr=waterson
2002-05-24 20:11:14 +00:00
jst%netscape.com
c510ff0346
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
926ecba1d9
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
dbaron%fas.harvard.edu
93f1c722f2
Remove |aForceUnique| parameter from style context resolving methods, and corresponding flag from nsStyleContext, since the only caller was ReResolveStyleContext (on the assumption that other callers used it). Allow ReResolveStyleContext to benefit from FindChildWithRules and allow it to re-resolve to the same tree even when called on the root style context. b=133821 r=attinasi sr=hyatt a=asa
2002-03-31 16:59:00 +00:00
attinasi%netscape.com
ce6e7ad4a2
Patched topcrash sites: checking for null before deref. b=121444 r=kmcclusk sr=roc+moz a=asa (drivers)
2002-03-26 01:22:31 +00:00
kin%netscape.com
f11a5b9e1e
Fix for bug 102615: After changing font color, backspacing
...
to a previous line does not let caret
update position
Modified RemoveFrame() so that it generates a reflow
command when removing a <br> from an inline with a next-in-flow.
r=dbaron@fas.harvard.edu sr=attinasi@netscape.com a=scc@mozilla.org
2002-03-20 01:44:43 +00:00
timeless%mac.com
711739d601
Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
...
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
karnaze%netscape.com
40c7483281
bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd
2001-11-14 13:40:03 +00:00
bzbarsky%mit.edu
0dce65ed23
Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
...
(i.e. where the string is a literal). Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
karnaze%netscape.com
16dee217fc
bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov
2001-10-29 01:43:59 +00:00
dbaron%fas.harvard.edu
75d32bb579
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
f385eb981a
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
3dc3cbb21b
Bug 59200. Merge floater reflow and placement into FlowAndPlaceFloater() to deal with the fact that a floater may need to be reflowed as its 'pushed' to a new location. For auto-width floaters, ensure that the floater is not flowed at a width less than its max-element-size. Enforce CSS2 section 9.5.1 rule [2] by maintaining mLastFloaterY in the reflow state. r=rbs, sr=attinasi.
2001-05-21 23:03:46 +00:00
erik%netscape.com
a7135c5aab
bug 71370; author=simon@softel.co.il; r=attinasi; sr=erik; implement bidi
...
(bidirectional text) for languages such as Arabic and Hebrew; from IBM bidi
project; not part of build yet (due to #ifdef IBMBIDI)
2001-03-09 03:29:00 +00:00
warren%netscape.com
4189314fdb
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
2000-10-28 22:17:53 +00:00
warren%netscape.com
6e35f97e31
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
2000-10-27 22:43:51 +00:00
buster%netscape.com
ec30cf04f8
bug 28811
...
r=karnaze
The problem was we were over-eager in optimizing away a resize reflow for lines
that contain %-aware children. We were only looking at the first-level children
of a line, not all the children. Now, we compute a bit for each inline container
based on it's children, true if any of them are %-aware wrt any width measurement.
We propogate this bit upwards to a bit on the line itself, and check this bit during reflow.
2000-09-11 20:46:44 +00:00
waterson%netscape.com
b4bb4efade
Bug 46693. Check to see if we CanContinueTextRun() while walking over the frames to FindNextText(). This revives the logic that I nuked when fixing 19051, and keeps you from trying to walk over <br> or other frames to erroneously continue a text run. r=akkana.
2000-07-28 22:29:28 +00:00
waterson%netscape.com
7acb9494c4
Bug 19051. Remove code that computed and maintained nsTextRun. Instead, compute 'next text' when required by crawling the frame tree in nsLineLayout::FindNextText(). r=roc+moz@cs.cmu.edu
2000-07-27 05:16:08 +00:00
rods%netscape.com
9d45d84767
Add ifdef'ed Performance Reflow Counting code
2000-04-21 14:59:47 +00:00
buster%netscape.com
69807e3b4b
bug 29595 (and others)
...
fixes layout of pages where a single line is impacted by 2 or more floaters
r=troy
2000-03-22 23:19:10 +00:00
troy%netscape.com
68930837ff
b=32192 r=buster@netscape.com Fixed a place where the code to lazily
...
set the parent pointer for child frames was missing on case
2000-03-22 04:06:37 +00:00
troy%netscape.com
628c23dde2
b=5588. Changed it so we lazily reparent the child frames on the overflow list
...
when it's our initial reflow
2000-03-12 03:14:11 +00:00
buster%netscape.com
e50de956b3
fixed bug 24186 (well, fixed it enough for beta at least. see bug for details)
...
r=troy
2000-02-02 07:38:23 +00:00
troy%netscape.com
73a3709284
b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
...
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
nisheeth%netscape.com
762fd5b61c
r=troy. Changed block, inline, and text frames to call the parent's ReflowDirtyChild() method instead of generating reflow commands.
2000-01-19 03:58:05 +00:00
nisheeth%netscape.com
5bac2cf869
r=troy. nsContainerFrame::ReflowDirtyChild() always generates a reflow command targeted at its child. nsInlineFrame::ReflowDirtyChild() always passes up the reflow request to its parent. nsBlockFrame::ReflowDirtyChild() no longer has code for checking whether its parent is an area frame.
2000-01-12 21:52:58 +00:00
nisheeth%netscape.com
409aee6ae9
r=troy. Reflow commands are now coalesced by block and inline frames. This fixes bug 985 in which we now generate 6 reflow commands instead of 257.
2000-01-12 08:28:24 +00:00
troy%netscape.com
1558ba3b1a
Added new #define NS_SHRINKWRAPWIDTH that specifies that a frame should
...
shrink wrap its width (paying attention to the maximum computed width). Mostly
complete implementation for block frames
2000-01-03 04:32:13 +00:00
troy%netscape.com
3c7966f705
Change to how overflow is handled for absolutely positioned elements.
...
We no longer use nsIAraeFrame and now it's folded into the overflow
area in the reflow metrics
1999-12-06 15:49:53 +00:00
hyatt%netscape.com
16a944a1e3
Implementing a generalized recycler and arena for all layout frames. Hoping to improve
...
bug #9489 . Should also definitely fix bug #15916 . r=troy
1999-12-04 23:49:50 +00:00
tbogard%aol.net
a0640b60c4
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
dmose%mozilla.org
42fc94a6ec
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
troy%netscape.com
04accb3de6
Moved a bunch of stuff out to a nsIFrameDebug interface
1999-11-01 22:12:45 +00:00
kipp%netscape.com
04a9e2451d
Disabled debug noise I accidently checked in (whoops!)
1999-11-01 15:31:04 +00:00
kipp%netscape.com
0699f8cc22
r=troy; reworked the way that blocks inside of inline elements are handled. It's all in the frame construction code now (bugs 15999, 16737)
1999-11-01 15:24:57 +00:00
troy%netscape.com
effb3aefb7
Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
...
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
troy%netscape.com
a47e8db44b
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
troy%netscape.com
918255682c
Removed 5 convenience functions from nsIFrame
1999-10-22 14:53:52 +00:00
troy%netscape.com
01cf059769
r=kipp@netscape.com
...
Added API to get/set properties on frames. Also changed nsContainerFrame
to use a property to implement the frame overflow list. This saves 4 bytes
per container frames
1999-10-21 05:11:43 +00:00
kipp%netscape.com
4845abe2cb
Factored common code into a single method (UseComputedHeight)
1999-10-12 23:25:49 +00:00
troy%netscape.com
6c9680c089
Added nsHTMLReflowState constructor that allows containing block width
...
and height to be specified. This is needed for relatively positioned
block elements
1999-09-16 14:33:19 +00:00
kipp%netscape.com
31f17c4d3e
Cleaned up
1999-09-09 21:04:00 +00:00
peterl%netscape.com
e8b68a5fce
added reparent style context
1999-09-03 23:35:41 +00:00
kipp%netscape.com
178818de64
Implement fix for bug #5821 as per dbaron's suggestion
1999-09-03 03:47:49 +00:00
kipp%netscape.com
dff5b76938
Updated SizeOf methods to not waste space when doing a non-debug build
1999-09-01 01:02:16 +00:00
kipp%netscape.com
fd426dec6a
Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot
1999-08-31 03:09:40 +00:00
troy%netscape.com
0b5afd2a9f
Fixed a place I had missed when converting over to the new reflow command
...
handling
1999-08-10 14:28:27 +00:00
troy%netscape.com
35e404886c
Changed area frame code over to new reflow command handling
1999-07-24 02:37:45 +00:00
troy%netscape.com
537d74d82c
Renamed some nsFrameList member functions
1999-07-22 04:00:57 +00:00
troy%netscape.com
9fdbc7ced3
Renamed DeleteFrame() to Destroy()
1999-07-22 02:24:52 +00:00
troy%netscape.com
06f806dfd8
Added 'm' prefix to a couple more data members of nsHTMLReflowState struct
1999-07-20 03:51:46 +00:00
kipp%netscape.com
99fd069e66
Clean up warnings
1999-07-14 17:28:45 +00:00
mcafee%netscape.com
02058970cb
Adding BeOS case.
1999-06-26 07:28:55 +00:00
kipp%netscape.com
fea30bc4eb
Reworked frame factory methods; fixed bug 4519
1999-05-11 22:03:29 +00:00
kipp%netscape.com
9601073f8b
Support first letter reflow
1999-04-27 22:12:37 +00:00
troy%netscape.com
95103bdc88
Changed nsPositionedInlineFrame::Reflow() to compute the desired size
...
by calling nsInlineReflow::Reflow() with a 'resize' reflow reason when
handling an incremental reflow of an absolutely positioned child element
1999-04-21 21:02:45 +00:00
kipp%netscape.com
6a70c4061f
Added some (disabled) logging
1999-04-21 19:58:50 +00:00
troy%netscape.com
4af64abb4b
Changed nsPositionedInlineFrame code to handle incremental reflow
1999-04-21 04:37:13 +00:00
troy%netscape.com
377e74f224
Added GetFrameType() member function
1999-04-20 19:11:37 +00:00
troy%netscape.com
61f5993635
Change to atoms
1999-04-20 18:22:28 +00:00
kipp%netscape.com
03459aee2f
Make build work on mac
1999-04-20 01:49:51 +00:00
kipp%netscape.com
15a1e2f34d
Added nsFirstLineFrame subclass; move class decl out to header file
1999-04-20 00:25:12 +00:00
troy%netscape.com
2807810d97
Work-in-progress for making relatively positioned inline-level elements a
...
container for absolutely positioned child elements
1999-04-19 19:10:15 +00:00
troy%netscape.com
9553d83a84
Removed Join() function from nsFrameList, because we already has a version
...
of AppendFrames() that did the same exact thing
1999-04-13 00:06:17 +00:00
troy%netscape.com
4fda80d9f5
Added ReparentFrameView() and changed the block and inline code
...
to call it when pushing/pulling frames
1999-04-11 04:22:00 +00:00
kipp%netscape.com
7ee00cb5ee
Fixed bug 4801
1999-04-10 17:32:46 +00:00
kipp%netscape.com
8d26de263f
Eliminate speculative-top-margin cruft; use new block reflow context API
1999-03-27 01:23:30 +00:00
kipp%netscape.com
135293b061
Undo partial fix for 3882 since its a bad fix
1999-03-26 00:40:37 +00:00
kipp%netscape.com
d168a2890b
Support (ever so slightly better) anonymous block reflow by returning a zero sized inline frame when wrapping an anonymous block - partial fix for bug #3882
1999-03-25 03:50:34 +00:00
kipp%netscape.com
f7b3921a2c
Spanked to collapse inline-reflow with line-layout into line-layout; fixed bugs #1278 , #1990 , #3527 , #1670 , etc.
1999-03-18 21:03:25 +00:00
kipp%netscape.com
50930f9663
Handle removable of continued frames better (not 100% done) (bug #3262 )
1999-03-16 19:36:24 +00:00
kipp%netscape.com
1fa4b4f9eb
Added a skid mark (disabled)
1999-03-08 19:26:09 +00:00
kipp%netscape.com
19dc51eb86
use computed values from reflow state; made inline-reflow-state no longer isa html-reflow-state
1999-03-05 04:25:57 +00:00
kipp%netscape.com
4f092c66e6
Removed ifdef'd out code
1999-02-26 19:22:20 +00:00
kipp%netscape.com
e8952047b9
Removed move-out-of-flow code now that frame construction code does it; added code to avoid reflows when removing a placeholder frame
1999-02-26 17:08:20 +00:00
troy%netscape.com
f19915b56d
Removed nsIFrame::CreateContinuingFrame()
1999-02-25 05:31:15 +00:00
troy%netscape.com
dfdacc8159
Changed nsIFrame::Init() to take an additional parameter
1999-02-25 03:27:57 +00:00
troy%netscape.com
8dfabdf1a8
Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
...
not references
1999-02-24 04:48:08 +00:00
kipp%netscape.com
df69690478
Improved vertical alignment correctness; fixed glaring error with box-width and height computation
1999-02-23 19:34:17 +00:00
kipp%netscape.com
894095183e
Eliminated HAVE_ANONYMOUS_BLOCK code; added in implementations of FindTextRuns and VerticalAlignChildren
1999-02-18 03:27:23 +00:00
troy%netscape.com
7b2012fca2
Fixed some errors related to switch to using nsCOMPtr
1999-02-12 18:41:26 +00:00
kipp%netscape.com
5a554d526e
COMized nsIPresShell and nsIPresContext
1999-02-12 17:45:58 +00:00
troy%netscape.com
b27d9f730e
API changes for nsIPresContext ResolveStyleContextFor and ResolvePseudoStyleContextFor
1999-02-11 15:56:23 +00:00
troy%netscape.com
c37ccfbc4c
Changed GetNextSibling() to use a pointer argument instead of a reference
1999-02-10 06:13:38 +00:00
troy%netscape.com
a9159f71d6
Changed GetAdditionalChildListName() and FirstChild() to use ** instead
...
of *&
1999-02-10 02:25:01 +00:00
troy%netscape.com
40e3d2b1c8
Changed GetParent() to use ** instead of *&
1999-02-10 01:36:30 +00:00
kipp%netscape.com
799711ccdd
Handle breaking before an anonymous block when the line isn't empty; push/pop inline reflow state so that floaters work properly
1999-02-09 17:31:14 +00:00
kipp%netscape.com
96ed46c05b
Use ReflowDirty reflow commands; fixed reflow status when dealing with breaking child frames
1999-02-03 19:12:02 +00:00
kipp%netscape.com
368e250cc5
Wrapped up debugging noise in a ifdef; implemented 4th remove-frame case; fixed a bug in the 5th remove-frame case
1999-02-02 17:32:09 +00:00
kipp%netscape.com
e72738792d
Rewritten to use an anon. block frame to manage block children
1999-02-01 17:27:56 +00:00
troy%netscape.com
5d8b4656eb
Removed the content-parent frame pointer. Now we just have the one geometric
...
parent
1999-01-14 05:16:23 +00:00
troy%netscape.com
e1f9e8b29f
Moved logic that deals with moving absolutely positioned frames out of the
...
flow to the frame construction code
1998-12-29 03:38:16 +00:00
kipp%netscape.com
6367ebbf6e
Implement GetSkipSides so that continued inline frames render properly
1998-12-18 22:12:42 +00:00
kipp%netscape.com
62566ebe32
Spanked to be a subclass of the nsBaseIBFrame class
1998-12-05 16:04:46 +00:00
troy%netscape.com
bd58bde76d
Moved view creation to frame construction code. Also moved wrapping of
...
floated and absolutely positioned elements to frame construction code
1998-12-04 19:03:44 +00:00
troy%netscape.com
d97a31f115
Added Init() member function to nsIFrame
1998-12-03 06:31:43 +00:00
kipp%netscape.com
64d09e5c2b
Added support for StyleChanged reflow reason
1998-11-20 17:41:44 +00:00
kipp%netscape.com
63107e9026
Added DumpRegressionData; revised ListTag; added GetFrameName
1998-11-19 17:22:29 +00:00
kipp%netscape.com
893f94febe
Tidy the max-element-size code
1998-11-15 01:13:25 +00:00
kipp%netscape.com
6a5fdb0d24
Basic support for :first-letter pseudo-elements
1998-11-14 21:01:26 +00:00
troy%netscape.com
fd34820203
Renamed Init() to SetInitialChildList() and added an additional parameter
...
for the name of the child list
1998-11-10 06:05:32 +00:00
kipp%netscape.com
e03c2fecf4
Added code to repair the style-contexts when pushing/pulling frames for support of :first-line and :first-letter (and so on!)
1998-11-05 19:31:16 +00:00
peterl%netscape.com
776a2683ef
sync to style resolution api changes
1998-11-03 20:33:43 +00:00
kipp%netscape.com
6d8a45aa75
Support mCombinedArea in metrics; implement MoveInSpaceManager by passing it through to the children
1998-10-30 22:13:58 +00:00
buster%netscape.com
6706b37ab1
fixed nsInlineFrame to compile on MSVC 4.x by moving a method-scoped struct
...
to be class-scoped.
1998-10-27 23:13:03 +00:00
kipp%netscape.com
4290ce743a
Removed a skid mark
1998-10-27 16:53:48 +00:00
kipp%netscape.com
585f02420a
Implement justification methods
1998-10-27 16:52:10 +00:00
kipp%netscape.com
4fdc14777f
Repaired a comment
1998-10-16 03:48:00 +00:00
kipp%netscape.com
f4e68cd5f7
Added a nicer ListTag method
1998-10-15 23:27:41 +00:00
kipp%netscape.com
1dfacf973c
Create views when necessary
1998-10-14 20:10:36 +00:00
kipp%netscape.com
84486d7f04
use new vertical-align-frames api
1998-10-12 18:43:41 +00:00
kipp%netscape.com
05a50b6ce3
Added an nsIPresContext& to html-reflow-state's ctors and used it to implement better percentage width/height handling
1998-10-12 14:48:02 +00:00
kipp%netscape.com
9f5e194f9f
Handle completion status better
1998-10-09 23:56:29 +00:00
kipp%netscape.com
28f8cdcf94
Removed skid marks; implement FindTextRuns again
1998-10-09 23:46:02 +00:00
kipp%netscape.com
ede047ed44
Mork work on floaters; support for clear style property
1998-10-09 22:58:25 +00:00
kipp%netscape.com
d8ddd615cc
Setup carried out margin state for block reflow
1998-10-06 00:41:16 +00:00
troy%netscape.com
5eae9d2705
Removed nsIInlineReflow and folded it into nsIHTMLReflow
1998-10-03 04:28:05 +00:00
kipp%netscape.com
5684b8ab62
Preliminary support for negative top/bottom margins
1998-10-03 00:17:44 +00:00
kipp%netscape.com
750fa1536a
Reworked vertical margin collapsing
1998-10-02 21:50:53 +00:00
troy%netscape.com
f095846367
Eliminated nsIRunaround interface, and folded space manager parameter into
...
nsHTMLReflowState structure
1998-10-02 04:10:00 +00:00
troy%netscape.com
8b034f4950
Separated reflow process out of nsIFrame and into nsIFrameReflow. Also
...
added nsIHTMLReflow, which is an HTML specific reflow interface
1998-10-01 04:46:11 +00:00
peterl%netscape.com
0bbb333f65
moved attribute change code to style sheete
...
cleaned up content change api
1998-09-29 23:48:07 +00:00
troy%netscape.com
097535bdf9
Added back in support for absolutely positioned frames
1998-09-29 04:47:59 +00:00
kipp%netscape.com
167e63dc87
Get max-element-size from inline-reflow state and pass it upwards
1998-09-28 18:57:28 +00:00
kipp%netscape.com
3a1b3e1c22
Switch over to FrameRemoved instead of FrameDeleted
1998-09-25 16:10:49 +00:00
troy%netscape.com
318174a3d8
Moved ContentDeleted() document notification code to the style system which
...
generates the reflow command
1998-09-25 05:13:06 +00:00
vidur%netscape.com
c65c40efea
Added new style interfaces. Implemented getStyle() on HTMLElement. Moved DOM fields into side struct for nsGenericHTMLElement. Implemented style declaration interface on proxy. Added new entry point to CSSParser and new methods to style declaration.
1998-09-25 00:51:45 +00:00
kipp%netscape.com
4156cd43b6
Added some attribute handlers for inline frames (temporary)
1998-09-25 00:00:55 +00:00
troy%netscape.com
f5a11ac77b
Removed IsLastChild() member function from nsContainerFrame
1998-09-24 04:12:01 +00:00
troy%netscape.com
5e4611081b
Removed mFirstContentOffset, LastContentOffset, and mLastContentIsComplete
...
from nsContainerFrame
1998-09-24 03:36:52 +00:00
troy%netscape.com
ea7c23f8b9
Fixed bug in InsertNewFrame() that was screwing up the child list
1998-09-23 04:45:59 +00:00
kipp%netscape.com
383af639b3
Spanked hard to reorg code around nsInlineReflow; rework list handling; rework factoring of inline/block reflow
1998-09-23 02:25:26 +00:00
troy%netscape.com
88ce6d7582
Fixed some horkage I introduced
1998-09-21 16:35:49 +00:00
troy%netscape.com
8239f605ce
Changed FrameInserted incremental reflow code to insert the new frame
...
into the child frame list
1998-09-19 04:29:36 +00:00
troy%netscape.com
9955ac85ce
Removed farme enumeration member functions for indexed access, last child,
...
and child count
1998-09-19 03:24:26 +00:00
troy%netscape.com
356c3c5ab5
Removed an unreferenced label
1998-09-18 03:10:00 +00:00
troy%netscape.com
64fbddffe3
Removed some XXX temp code that was needed until tables were switched
...
over to the new frame construction code
1998-09-17 04:57:50 +00:00
troy%netscape.com
740f73d46a
Cleaned up frame construction code
1998-09-17 04:07:58 +00:00
kipp%netscape.com
46acb2313a
Removed css/layout directory
1998-09-15 00:19:49 +00:00
kipp
4b8864ebbc
New and improved (?) line layout
1998-06-25 16:33:10 +00:00
troy
2c3c341cda
Changed some GetStyleContext/GetStyleData pairs to use nsIFrame::GetStyleData
...
instead
1998-06-14 05:14:17 +00:00
kipp
6b4f435e4f
Implement ReflowChild directly so that it uses nsIInlineFrame is available
1998-06-09 17:40:21 +00:00
troy
5aeffe1a29
Added nsIReflowCommand interface
1998-06-09 04:51:44 +00:00
kipp
5ca93333aa
Updated tracing messages; fixed bugs where things that shouldn't be pulled up were (blocks, BR's)
1998-06-09 00:48:56 +00:00
peterl
71d5fd1025
sync up to new style data apis
1998-06-05 06:09:09 +00:00
kipp
00d8c58559
Updated to new GetDesiredSize api's (so that percentage width's could be properly calculated)
1998-05-30 21:21:11 +00:00
kipp
def13663bd
Support BR tags in inline frames
1998-05-30 17:45:46 +00:00
troy
cee140e58d
Changed nsReflowState structs to be linked together
1998-05-29 20:36:05 +00:00
kipp
b3f2588ada
Pass on initial reflow to ProcessInitialReflow
1998-05-29 02:15:00 +00:00
troy
26579fc14a
Added 'ns' prefix to class name
1998-05-28 02:37:37 +00:00
kipp
784f23e1f6
Removed cruft; fixed to use canfit/didfit predicates that check on word-breaking state; fixed long standing bug with last-content-complete in pullup code
1998-05-27 21:05:47 +00:00
troy
b2296227ff
Merged ResizeReflow() and IncrementalReflow() into one Reflow() member function
1998-05-25 17:31:49 +00:00
troy
63046c8bfd
Changed splittable enum to be bit flags
1998-05-22 04:54:11 +00:00
peterl
5a96d99f60
Changed GetStyleData to use an enum instead of an nsID
1998-05-21 02:34:13 +00:00
kipp
37ab909588
Use new tracing macros and verify-tree-enable
1998-05-20 16:27:22 +00:00
kipp
cfda8fbbf0
Call WillReflow before reflowing children
1998-05-18 16:52:57 +00:00
kipp
bea090f624
Fixed up code that wasn't using the nsReflowStatus constants defined in nsIFrame.h
1998-05-14 00:49:46 +00:00
kipp
07ed999729
Fixed ptr compilation bug
1998-05-13 00:13:09 +00:00
peterl
a97ac241a7
sync to new spacing apis
1998-05-12 22:28:01 +00:00
troy
87d8314c08
Changed enum to conform with coding standards
1998-05-12 04:38:23 +00:00
troy
3b08586876
Change to nsIFrame API
1998-05-12 04:17:56 +00:00
troy
eaaa05815e
More incremental reflow work.
1998-05-11 18:38:10 +00:00
kipp
b00942a319
Support css width&height style properties
1998-05-07 23:38:51 +00:00
troy
dde4836b65
Started hooking up appended content handler
1998-05-07 20:28:16 +00:00
kipp
c07c22af17
Ported to new CreateFrame/CreateContinuingFrame APIs
1998-05-07 00:08:20 +00:00
troy
ca23e47c2e
Frames no longet store the content index-in-parent
1998-05-05 23:56:50 +00:00
troy
df86871d93
Changed body to create block pseudo-frame instead of a column pseudo frame,
...
and hooked up the reflow appended code
1998-05-03 03:51:48 +00:00
kipp
1dfce13cc2
Spanked nsBlockFrame: newly rewritten, broken into two pieces (see nsLineLayout.h,.cpp for the line layout code)
1998-05-02 00:56:24 +00:00
kostello
f7b27f2578
Made SetStyleContext take the presentation context as a parameter
...
Made DidSetStyleContext virtual, since we need to override the behavior in subclasses
1998-05-01 20:43:42 +00:00
kipp
1767b4a8f8
Port to removal of nsStyleMolecule
1998-04-25 18:48:48 +00:00
troy
1e612802d7
More work on absolute positioning
1998-04-23 22:38:52 +00:00
troy
91a9babbf7
Changed IsSplittable to have three return values
1998-04-17 23:08:20 +00:00
troy
e285e45a5f
Cleaned up some logic
1998-04-17 01:47:21 +00:00
troy
d504fcfb0c
Changed nsIFrame member functions to return a nsresult
1998-04-17 01:41:24 +00:00
kipp
4717009d75
moved to pub
1998-04-13 20:24:54 +00:00