buster%netscape.com
1c6eca645a
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
dbaron%fas.harvard.edu
87e19c9cef
Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161.
2000-03-22 02:43:08 +00:00
pierre%netscape.com
4d43de09aa
Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible).
In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame.
In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701.
2000-03-17 10:15:13 +00:00
troy%netscape.com
4f7d1e3f2a
b=24343 r=karnaze@netscape.com Changes so we properly lay out after changing
...
the font using the pref UI. Block and table code changed to handle
eReflowReason_StyleChange
2000-03-15 15:16:03 +00:00
troy%netscape.com
8a75ec0c9b
b=24506 r=buster@netscape.com When calculating the width of a block frame
...
and it's an unconstrained reflow, then make sure to include the right
margin
2000-03-14 04:03:33 +00:00
troy%netscape.com
6464eafc57
Now line boxes are allocated out of the pres shell arena. This reduces the
...
overhead of memory allocation, and it gets us recycling which speeds up
resize reflows
2000-03-12 03:00:51 +00:00
buster%netscape.com
6ad008c507
fixed bug 25510 and 28084
...
r=troy
a=jar
2000-02-22 22:06:19 +00:00
buster%netscape.com
72482e5f58
bug 27927
...
r=troy
2000-02-16 04:11:37 +00:00
buster%netscape.com
5665393ec2
continuing work on bug 25510
...
r=troy
2000-02-16 00:50:06 +00:00
dbaron%fas.harvard.edu
e0c71d1e53
Fix bug 15428 as suggested by VYV03354@nifty.ne.jp . Stop using 0 as the initial values for min and max of inline box contents so that lines that do not (vertically) contain their own baseline are sized correctly. Also, correctly size BR frames using their line-height (for strict-mode only).
...
Fix bugs 24186, 26996, and 26998 by reworking the quirks-mode line-height handling so that inline elements that do not have text as children (or meet a few other conditions that show the author wants real CSS support) will not increase the size of the line, but will be as close to their correct size as possible without enlarging the line. This fix includes emulation of the strange Nav4/IE quirk that a block's line-height is enforced on the first line of LI elements and the last line of LI, DD, and DT elements. Many of the changes are removing an earlier fix for 24186.
r=buster
2000-02-15 04:26:44 +00:00
buster%netscape.com
9c7df3bb31
bug 25510 r=troy
...
bug 26289 for roc+moz@cs.cmu.edu , r=buster
2000-02-14 01:52:22 +00:00
troy%netscape.com
a1ed8d02de
b=26727 r=jfrancis@netscape.com Changed MarkLineDirty() to always mark the
...
line dirty even if it also marks the preceding line dirty
2000-02-07 15:36:08 +00:00
pp%ludusdesign.com
58065dda04
Converting ::GetIID() into NS_GET_IID(). Bug #20232 . r=scc, r=mozbot
2000-02-02 22:24:56 +00:00
buster%netscape.com
c8545be1dd
fixing very minor compile-time error that only shows up if you have certain
...
debug flags set. r=none
2000-02-02 07:37:18 +00:00
troy%netscape.com
1b8d3a512b
b=25245. Fixed some problems in ReflowLine() when reflowing to incrementally
...
update the maximum width
2000-01-30 18:42:23 +00:00
troy%netscape.com
02fc72b871
b=25223. Block code now does a better job of determing where the floater
...
should go before reflowing it
2000-01-29 00:47:33 +00:00
troy%netscape.com
6e02487370
b=25049. Fixed a problem with max-element-size not being calculated
...
correctly for a floated table
2000-01-28 03:12:30 +00:00
troy%netscape.com
db25894cff
b=24936, r=nisheeth@netscape.com Changed block code to set mNextRCFrame to
...
NULL after reflowing the frame, so if we reflow it again we don't think it's
an incremental reflow
2000-01-26 22:18:33 +00:00
troy%netscape.com
8a78d916a5
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
1af2ec200b
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
attinasi%netscape.com
ece65524b5
Added ASSERTION and run-time check for SpaceManager before dereferencing it. r=rods,pierre
2000-01-18 15:36:36 +00:00
joki%netscape.com
a6880e49d9
Fix multiple event targetting bugs (23161, 10514, 13213, 16548, 19496, 12231) and reinstate the onchange event for text fields (bug 22472). r:rods
2000-01-18 15:17:31 +00:00
troy%netscape.com
ce72bfda3b
b=23388. Make sure mIsTopMarginRoot is set correctly in nsBlockReflowState
...
constructor
2000-01-13 02:05:31 +00:00
nisheeth%netscape.com
14ec803b33
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
8407a2dc48
Removing the "ifndef XP_MAC" around the call to nsFrame::CreateAndPostReflowCommand(). The real problem, identified by Scott Putterman, was that the definition of this function was in a debug only section in nsFrame.cpp. He has moved the function out of the debug only section.
2000-01-12 17:43:18 +00:00
nisheeth%netscape.com
9523941284
Ifdef out the call to nsFrame::CreateAndPostReflowCommand() on the Mac build for now.
2000-01-12 10:41:15 +00:00
nisheeth%netscape.com
56525e3574
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
9d8d92a8f9
Fixed a problem with code that determined whether this was a beginning line.
...
It wasn't correctly handling the very first line in the block
2000-01-10 05:14:47 +00:00
troy%netscape.com
f08e81815b
More work on getting block frames to incrementally update their
...
maximum width
2000-01-08 03:58:27 +00:00
troy%netscape.com
540b3229d3
Reduced stack space by using PRPackedBool instead of PRBool
2000-01-04 02:59:35 +00:00
troy%netscape.com
8791b810ba
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
138fa22a88
Work-in-progress for having maximum width (needed by tables) be updated
...
incrementally
1999-12-30 04:15:45 +00:00
troy%netscape.com
bfb7487d47
b=19198, a=chofmann. Fixed RecoverStateFrom() to use the update conbined area when
...
invalidating. This fixes a regression introduced in version 3.308
1999-12-09 21:40:37 +00:00
troy%netscape.com
63a9d6b36f
Removed code from PrepareChildIncrementalReflow() that was marking all lines
...
dirty if max-element-size was requested.
1999-12-08 02:05:51 +00:00
troy%netscape.com
d36f7cea02
b=16456. Removed some debug assertion code that was incorrect and caused
...
us to hit asserts when printing
1999-12-07 23:41:48 +00:00
sfraser%netscape.com
81b90d3598
#ifdef out a printf. r=none
1999-12-07 07:38:16 +00:00
troy%netscape.com
85012ab550
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
de2eaede42
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
troy%netscape.com
a19c2c4c87
Added XXX comment to remind me (and Chris) of a problem that needs to
...
be revisited
1999-12-01 04:50:26 +00:00
troy%netscape.com
6070918134
b=20286. Changed PlaceFloater() so that it repositions any views after
...
placing the frame
1999-11-30 05:09:08 +00:00
tbogard%aol.net
af1ce8d410
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
troy%netscape.com
597b5f236b
WillReflow/DidReflow changes and changes to the way view positioning
...
and sizing works
1999-11-19 15:33:29 +00:00
troy%netscape.com
2e7ee4874b
b=17546. Changed block frame code to save/restore space manager when create
...
a space manager, and changes button code to use the NS_BLOCK_SPACE_MGR flag
when creating the area frame
1999-11-11 06:00:41 +00:00
dmose%mozilla.org
5312eacf8c
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
kipp%netscape.com
ef6a9e0b86
r=troy; remove another 4 bytes from each block frame for a total of 10% today :-)
1999-11-03 00:42:12 +00:00
kipp%netscape.com
f6d66c6b92
r=troy; Shrink block frames by 4 bytes per instance by making the overflow-lines instance variable a frame property
1999-11-02 23:42:52 +00:00
kipp%netscape.com
c93281e841
r=troy; fixed bugs 2636 and 17636 - line layout issues for some more edge cases (nobr's with floaters in them) and handling of nbsp
1999-11-02 15:44:57 +00:00
troy%netscape.com
1585a751fb
Moved a bunch of stuff out to a nsIFrameDebug interface
1999-11-01 22:12:45 +00:00
kipp%netscape.com
0a512d8393
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
a12c3d6c5d
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
kipp%netscape.com
1b94ea5410
r=troy; cleaned up resize reflow optimization logic and prepared it for fixing bug #17737 (not yet fixed!)
1999-10-29 14:34:53 +00:00
troy%netscape.com
87afecabc0
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
troy%netscape.com
f5ba346bdc
Removed 5 convenience functions from nsIFrame
1999-10-22 14:53:52 +00:00
kipp%netscape.com
568331e355
r=troy; bugs: 15153, 13196; fixed problem with style-change reflows not being propogated properly; also fixed floating table reflow issues found in 13196 by storing floater max-element-size for later retrieval
1999-10-21 20:43:48 +00:00
kipp%netscape.com
a5c69dc5af
Fixed O(N^2) debug logic bug; speed up paint loop by avoiding painting too much now that we have combined-area (bug 7455, 12297)
1999-10-19 23:04:19 +00:00
kipp%netscape.com
6b86a5034c
r=troy; fixed bug 7093 by carefully pre-computed the collapsed top margin before reflowing the child block and then using that value to properly acquire the available space; In addition, I had to fix an incremental reflow bug associated with this problem
1999-10-15 23:35:10 +00:00
peterl%netscape.com
a6adfea707
Added namespace ID to the AttributeChanged notification
...
Part fo the fix for Bug 15153
r=troy
1999-10-15 23:16:45 +00:00
mjudge%netscape.com
385f949e66
oops. for got to check this in last time. bug number is 14795
1999-10-14 23:52:42 +00:00
kipp%netscape.com
ab0a40b009
r=troy; Reworked nsLineBox api to allow for reduced storage overhead; fixed bug 16252 while keeping bug 12709 fixed
1999-10-14 23:10:03 +00:00
mjudge%netscape.com
fc71fb36d1
bugs 15547,15645,13665,13277,5761, r=akkana,kin,hyatt. fixing selection bugs, keyboard navigation, triple clicking and drag scrolling.
1999-10-13 01:15:26 +00:00
kipp%netscape.com
d29d16b728
r=troy; Cleaned up line-box API (prep work for bug #12297 ; more coming); Support new line iterator API change ( #16176 )
1999-10-12 23:24:22 +00:00
troy%netscape.com
3b3ccb9cf7
Removed some dead code and moved some #if 0 code from the area frame
...
to the block frame. This completes the previous checkin
1999-10-08 04:45:12 +00:00
troy%netscape.com
72ee697f6c
Frame space reductions. r=kipp@netscape.com
...
Table cell frames and table caption frames now use block frames and not area
frames. This saves 24 bytes per frame instance
1999-10-08 04:32:46 +00:00
troy%netscape.com
cdf2c77595
Moved space manager to block frame and changed it the space manager is
...
temporary only during the reflow process
r=kipp@netscape.com
1999-10-06 22:05:23 +00:00
troy%netscape.com
6b808204e8
Added SizeOf() handler for floater information maintained by the
...
line box
1999-10-02 02:51:03 +00:00
troy%netscape.com
055ef7bf53
Fix for bug #15152 . Moved check for "no wrap" inside of loop. This fixes a
...
problem where blocks inside of blocks were not getting marked dirty
1999-09-29 05:09:19 +00:00
troy%netscape.com
7a30e821a3
Fix for bug #14959 . Made sure that lines with floaters are also marked
...
dirty
1999-09-27 20:53:05 +00:00
troy%netscape.com
84fdc7184f
Optimized PrepareResizeReflow() so it doesn't mark lines dirty if they don't need
...
to be reflowed
1999-09-25 16:50:45 +00:00
kipp%netscape.com
f76eb620df
Queue up a reflow command when yanking floaters so that cases like bug #11389 work properly
1999-09-22 00:58:58 +00:00
peterl%netscape.com
700674fb14
removed ReResolveStyleContext
1999-09-21 07:56:18 +00:00
troy%netscape.com
fef9b919ac
Fix for bug #14414 . Changed DoRemoveFrame() to invalidate the space taken
...
up by the line when deleting an empty line
1999-09-21 05:15:39 +00:00
kipp%netscape.com
b4262f0657
Reimplement TrimTrailingWhiteSpace
1999-09-21 00:13:50 +00:00
kipp%netscape.com
3d857842f7
Handle right aligned skipped floaters a little better
1999-09-18 00:20:48 +00:00
kipp%netscape.com
becb3704d9
Fixed various bugs including incremental list reflow (9742) and some table bugs with right floaters
1999-09-17 23:16:43 +00:00
kipp%netscape.com
666a8d9c00
Removed list item hack
1999-09-17 00:57:40 +00:00
kipp%netscape.com
f4124f6283
Fixed bugs 4572, 7400 and maybe 802
1999-09-16 19:56:36 +00:00
kipp%netscape.com
7a1b979fb6
Squished a memory leak
1999-09-15 20:38:09 +00:00
kipp%netscape.com
6488f7b26e
Fixed various incremental reflow bugs (1764,12890,1910,2222) and list bullet painting bug (10675,13599)
1999-09-15 00:28:10 +00:00
kipp%netscape.com
fb8c244c9f
Fixed two incremental reflow bugs (12890)
1999-09-10 18:52:56 +00:00
kipp%netscape.com
ed874d1439
Fixed infinite loop 12747
1999-09-09 20:53:32 +00:00
mjudge%netscape.com
ba4611bb7d
addiung selectable BRFrames. but brframes arent like images ect. they give you a collapsed range, collapsed to just "before" themselves. this will help editing immensely. this should also fix some mail news issues
1999-09-08 19:43:17 +00:00
peterl%netscape.com
b5b37d859e
added reparent style context
1999-09-03 23:35:41 +00:00
mjudge%netscape.com
3b3c9f8b30
oops infinite loop. need to break out if no frame is found.
1999-09-02 00:04:56 +00:00
mjudge%netscape.com
fa5d3c3459
new selection code for dead areas. this is much better, trust me. the block frame now will look at its best line and look for a spot to select. if it finds another block frame now, it will continue the process in a while loop. each time looking for best x and y area. this reuses the code located in GetNextPrevLine.
1999-09-01 21:40:16 +00:00
kipp%netscape.com
121e487001
Fixed to account for the overflow hidden value when computing the combined area (bug #2751 )
1999-09-01 20:57:37 +00:00
kipp%netscape.com
7fe2679e86
Updated SizeOf methods to not waste space when doing a non-debug build
1999-09-01 01:02:16 +00:00
kipp%netscape.com
9f71d4027a
Tally up lineBox's and textRun's seperately
1999-08-31 04:32:13 +00:00
kipp%netscape.com
f808fbb193
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
ea250c6886
Changed block frame code to cache the max element width. This enables
...
us to ask for the maxElementSize when doing an incremental reflow
1999-08-28 00:39:55 +00:00
kipp%netscape.com
e40963e370
Reduce stack size by allocating nsLineLayout objects from the heap when the frame tree depth gets too big (bug #10310 )
1999-08-27 21:45:37 +00:00
troy%netscape.com
a5ea47b596
Fix for bug #12444 . Made sure that for a "StyleChanged" reflow command we
...
invalidate our entire bounds
1999-08-25 23:15:36 +00:00
mjudge%netscape.com
5531d305c5
changes to allow selection in "dead" space between frames. still need work on "outside" and not in the window at all, but this is a very good chunk of the issue and it will solve many many bugs on my place. good for dogfood as well :)
1999-08-24 21:51:47 +00:00
rods%netscape.com
62ae1bfcf9
added PaintOutline to paint CSS outlines to paint method
1999-08-19 14:35:48 +00:00
troy%netscape.com
f901be20dc
Changed to table incremental reflow
1999-08-19 03:51:25 +00:00
troy%netscape.com
bc4ecda20c
Fixed compiler warning
1999-08-06 17:21:57 +00:00
troy%netscape.com
5e93e674c5
Fixed incremental painting problem
1999-08-01 16:50:52 +00:00
troy%netscape.com
1f924dade3
Changed area frame code over to new reflow command handling
1999-07-24 02:37:45 +00:00
troy%netscape.com
7a5e4dbdb5
Renamed some nsFrameList member functions
1999-07-22 04:00:57 +00:00
troy%netscape.com
c551fe3166
Renamed DeleteFrame() to Destroy()
1999-07-22 02:24:52 +00:00
troy%netscape.com
c3e32b0b65
Added 'm' prefix to a couple more data members of nsHTMLReflowState struct
1999-07-20 03:51:46 +00:00
troy%netscape.com
155ed6816a
Added 'm' prefix to some of the nsHTMLReflowState data members
1999-07-20 03:41:03 +00:00
peterl%netscape.com
c35106c852
fix reresolve style context to iterate all child lists
1999-07-18 00:18:45 +00:00
kipp%netscape.com
a427d96f8c
Disabled my debug noise (whoops)
1999-07-14 20:40:23 +00:00
nisheeth%netscape.com
de96f69ead
Fix for bug 8314. The block frame takes the bullet's position and area into account when it sets the combined area of the frame during reflow.
1999-07-14 18:02:14 +00:00
kipp%netscape.com
02571dde05
Various and sundry bug fixes
1999-07-14 17:26:20 +00:00
troy%netscape.com
ee38ccd817
Changed Reflow() and ReflowDirtyLines() to invalidate the damaged areas
...
after an incremental reflow
1999-07-14 15:16:56 +00:00
kipp%netscape.com
87e4c2d72f
Removed HaveFixedContent* methods from nsHTMLReflowState and updated code to match (fix bug #7993 )
1999-07-07 02:33:17 +00:00
peterl%netscape.com
61d4b9ed9f
delete floaters before regular children
1999-06-15 06:16:29 +00:00
rickg%netscape.com
6dd7bb1eef
fixed bug 7713
1999-06-08 00:30:26 +00:00
pierre%netscape.com
c19dd17e4a
Don't printf() like crazy when displaying very long pages such as http://slip/res-lib/morte1.htm in DEBUG builds.
1999-06-01 22:11:32 +00:00
kipp%netscape.com
0a98219951
Fix compiler warnings; implement QueryInterface hack to get at line iterator
1999-05-13 00:55:38 +00:00
kipp%netscape.com
4846f41f1f
Reworked frame factory methods; fixed bug 4519
1999-05-11 22:03:29 +00:00
vidur%netscape.com
443e8a76ef
Fix for bug 2989 - correcting result of GetFrameForPoint.
1999-05-07 00:08:02 +00:00
kipp%netscape.com
77e9067f50
Fixed bug 5375 - the conditions for avoiding combined area computations were wrong
1999-05-03 20:51:02 +00:00
kipp%netscape.com
8dfb604de1
Removed some cruft
1999-04-28 00:19:28 +00:00
kipp%netscape.com
791289f106
Support revised first-letter layout
1999-04-27 22:10:51 +00:00
troy%netscape.com
4466f403c7
Added GetFrameType() and renamed GetAnchoredItem() to GetOutOfFrameFlow()
1999-04-23 14:34:48 +00:00
kipp%netscape.com
065b96c776
Fixed up child incremental reflow to only reflow the necessary number of lines (hopefully)
1999-04-21 19:58:38 +00:00
kipp%netscape.com
44f26158bb
Fixed up insertion code to support inserting blocks; tweaked FirstChild impl to work better; removed some no longer needed code
1999-04-20 21:51:39 +00:00
troy%netscape.com
0f73d45160
Change to atoms
1999-04-20 18:22:28 +00:00
troy%netscape.com
0e556164c5
Commented out code in GetAdditionalChildListName() that checked whether
...
there was a bullet and conditionally nsLayoutAtoms::bulletList because
that change broke absolute positioning (area frame depends on the index
numbers)
1999-04-20 05:03:29 +00:00
kipp%netscape.com
33e9707bbb
Work around append frames bug (by breaking insert!) for now; added some asserts hither and yon to help prevent furthur regressions like this
1999-04-20 03:42:32 +00:00
kipp%netscape.com
d1c19b975e
Implement first-line support; update some api's to use nsIPresContext*'s instead of nsIpresContext&'s
1999-04-20 00:27:43 +00:00
joki%netscape.com
e4361b7994
Fix event handling on background areas of tags.
1999-04-13 21:29:08 +00:00
troy%netscape.com
238ac2da4a
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
80ad2ee2bd
Support clip property; fix bug 4836 and speed things up slightly by avoiding max-element-size computations when not needed
1999-04-10 17:31:45 +00:00
kipp%netscape.com
95756e85d5
Implement frame sliding during incremental reflow; fixed to not double factor in the delta-y
1999-04-03 21:54:00 +00:00
kipp%netscape.com
ce589ecd6e
Reworked the state recovery logic for incremental reflow
1999-04-03 18:59:01 +00:00
kipp%netscape.com
7799a4ecc0
Reflow floater frames using the block reflow context
1999-04-01 01:37:36 +00:00
kipp%netscape.com
4853eb9e57
Removed unsupported css2 'compact' support ; fixed bug #2013 with floater placement
1999-03-31 04:10:27 +00:00
kipp%netscape.com
c5e839c1a3
Use shared is-html-paragraph method; fixed handling of floater widths for bug #2949
1999-03-29 23:44:45 +00:00
warren%netscape.com
fb91ab1cfe
PR_FALSE is not nsnull!
1999-03-27 02:56:52 +00:00
kipp%netscape.com
0b54ff5195
Reworked vertical margin handling; fixed some issues with floater placement and clearing and block element clearing (bugs #1080 , #1808 , ...
1999-03-27 01:22:14 +00:00
kipp%netscape.com
d6f3145b96
Fixed bugs #1277 , #2007 and #1517 and #1918 ; rendering is improved for floaters and a minimim height rule is now enforced for computed-height situations
1999-03-26 00:39:04 +00:00
peterl%netscape.com
32d3372e42
augmented ReResolveStyleContext to capture style change information
1999-03-25 06:43:38 +00:00
kipp%netscape.com
4985587cca
Fixed up floater combined area calculations
1999-03-24 15:42:19 +00:00
pierre%netscape.com
2698e004ed
Backed out my previous changes because of performance degradation in deeply nested tables. Will increase the stack size in Mac applications instead.
1999-03-23 20:35:38 +00:00
pierre%netscape.com
df7afeebfd
fixed #3899 "Raptor doesn't jam": in nsBlockFrame::Reflow, allocated a 4Kb nsLineLayout in the heap rather than on the stack
1999-03-23 08:24:01 +00:00
kipp%netscape.com
98c93b75af
Compute floater combined area properly; reflow floaters when placed including below-current-line floaters
1999-03-23 04:28:20 +00:00
kipp%netscape.com
023a09d80b
Handle both left or right floaters impacting a line; fixed assert to be more accurate
1999-03-23 01:33:36 +00:00
kipp%netscape.com
08b9617ac3
Improve max-element-size computations and diagnostics
1999-03-22 23:03:31 +00:00
kipp%netscape.com
2efcbb86f5
More cleanup of the combined-area computations; make sure we render every line when we have outside children; fixed up max-element-size computations to not double count floaters
1999-03-22 22:42:30 +00:00
kipp%netscape.com
468a9d8bbe
Cleaned up combined area calculations
1999-03-22 20:46:09 +00:00
kipp%netscape.com
84ec5e1b82
Support redo-reflow for lines to handle reflow around large floaters
1999-03-21 01:15:12 +00:00
kipp%netscape.com
3ae10336ff
Use CRAZY macros for debug noise
1999-03-20 21:57:03 +00:00
kipp%netscape.com
f8044caeaa
Reworked the way that the final metrics are computed; support min/max width/height; track max-element-size issues better; disabled compact frame handling
1999-03-20 19:40:13 +00:00
kipp%netscape.com
e783e42229
Fixed centering of list bullets (bug #4040 )
1999-03-20 01:37:43 +00:00
kipp%netscape.com
521d0a1247
Fix wide layout bug in todays build; fixed bug #4013 as well and bug #2589
1999-03-19 23:05:56 +00:00
kipp%netscape.com
c9067260be
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
2916ad11f9
Fixed numerous frame removed bugs (bug #3262 )
1999-03-16 19:36:00 +00:00
kipp%netscape.com
69e626d5a3
Compute combined-area more sanely; handle another nasty top margin bug (1910)
1999-03-08 19:24:07 +00:00
kipp%netscape.com
3c7c26029e
Cleanup state recomputation; fix bug # 3453 crasher; debug out some max-element-size issues
1999-03-05 19:25:44 +00:00
kipp%netscape.com
40529e4640
nsBlockReflowState no longer is-a nsHTMLReflowState; fixes to numerous bugs; reworked to use computed values from reflow-state
1999-03-05 04:21:32 +00:00
kipp%netscape.com
59afd8abfb
Removed ifdef'd out code
1999-02-26 19:22:20 +00:00
kipp%netscape.com
a8d4b57b12
Find text runs more often (bug #3278 , 3265); floaters are now handled mostly by the frame construction code
1999-02-26 17:04:44 +00:00
vidur%netscape.com
b15aacfeb3
Made style reresolution propogate down to the bullet frames for list items. Added list related attribute tests.
1999-02-25 19:14:35 +00:00
troy%netscape.com
3bdf672129
Removed nsIFrame::CreateContinuingFrame()
1999-02-25 05:31:15 +00:00
troy%netscape.com
da4193eab6
Changed nsIFrame::Init() to take an additional parameter
1999-02-25 03:27:57 +00:00
troy%netscape.com
03c5c1f520
Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
...
not references
1999-02-24 04:48:08 +00:00
kipp%netscape.com
02b92b2a8e
Compute minimum-line-height and store it into the inline-reflow context
1999-02-23 19:32:00 +00:00
vidur%netscape.com
a5024bec72
Fixed casing for nsCOMPtr inclusion
1999-02-23 19:22:53 +00:00
vidur%netscape.com
93609d0604
Added nsIStyleSheetLinkingElement interface and implemented it for LINK and STYLE elements. Got attribute modifications for lists and list items working (including correct renumbering of lists when attribute values change).
1999-02-23 19:18:12 +00:00
kipp%netscape.com
c972607d82
Process bullets better so that they are vertically aligned properly
1999-02-18 22:22:55 +00:00
kipp%netscape.com
44573facc6
Fixed bug #3161 - removed bogus assertion
1999-02-18 18:25:45 +00:00
troy%netscape.com
ebfff565c5
Fixed build bustage
1999-02-12 18:18:34 +00:00
kipp%netscape.com
36c243cdc0
COMized nsIPresShell and nsIPresContext
1999-02-12 17:45:58 +00:00
troy%netscape.com
902190112d
API changes for nsIPresContext ResolveStyleContextFor and ResolvePseudoStyleContextFor
1999-02-11 15:56:23 +00:00
troy%netscape.com
37614be21a
Re-ordered DeleteFrame() code to fix a FMR
1999-02-10 18:12:24 +00:00
troy%netscape.com
034aa56b83
Changed GetNextSibling() to use a pointer argument instead of a reference
1999-02-10 06:13:38 +00:00
troy%netscape.com
9d570499cf
Changed a bunch more nsIFrame member functions to be pointer arguments
...
instead of references
1999-02-10 05:38:18 +00:00
troy%netscape.com
2ac7b86865
Changed GetAdditionalChildListName() and FirstChild() to use ** instead
...
of *&
1999-02-10 02:25:01 +00:00
troy%netscape.com
c85f9efd2a
Changed GetParent() to use ** instead of *&
1999-02-10 01:36:30 +00:00
troy%netscape.com
b974e26cea
Changed some nsIFrame member functions to use ** instead of *& for OUT
...
paremeters
1999-02-10 00:42:56 +00:00
kipp%netscape.com
6953c4a7c8
Whacked away nsBaseIBFrame and BLOCK_IS_INLINE cruft
1999-02-09 17:31:33 +00:00
kipp%netscape.com
66115d3c10
Fixup absolute positioning by temporarily generating old style reflow commands when the list-name is not null; temporarily use FrameAppended instead of ReflowDirty for append operations
1999-02-03 19:09:24 +00:00
kipp%netscape.com
361ca345fb
Changed base-ib-frame to implement AppendFrames/InsertFrames/RemoveFrame directly; changed args to DoRemoveFrame; updated the anonymous block to have a slightly different method set to manipulate its children
1999-02-02 17:31:09 +00:00
kipp%netscape.com
c529fc11be
Fixed invocation bug that mac compiler caught
1999-02-01 19:08:30 +00:00
kipp%netscape.com
50b6da75a7
Implement anonymous block frame code; fixup base class InsertNewFrames to support multiple frame insertion
1999-02-01 17:29:37 +00:00
harishd%netscape.com
317d0d7c4e
Passing stylecontext into Paintborder()
1999-01-22 22:25:00 +00:00
troy%netscape.com
7103b076b4
Changed nsHTMLReflowState to compute 'offsets' for relatively positioned
...
elements
1999-01-16 20:58:17 +00:00
kipp%netscape.com
10f24c7ebf
Update List implementations to use GetAdditionalChildLists so that all lists of children are dumped out automatically
1999-01-16 00:19:10 +00:00
kipp%netscape.com
7f96144059
Spanked away SizeOf methods and nsIListFilter
1999-01-16 00:00:50 +00:00
kipp%netscape.com
4243726f6a
Switch to using nsFrameList for frame lists
1999-01-15 22:53:39 +00:00
troy%netscape.com
6d63084a70
Fix for bug #1998 . Now we render the background image over the padding area and not over the border area
1999-01-15 18:25:58 +00:00
troy%netscape.com
036e6852f2
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
5c75ea66f0
Fix for bug #2276 , and some initial support for 'right' and 'bottom'
...
for absolutely positioned elements
1999-01-13 06:37:31 +00:00
kipp%netscape.com
cd76455b98
Use new flag defines
1999-01-12 16:42:03 +00:00
troy%netscape.com
4b3e1eebad
Replaced "maxSize" member if nsReflowState with "availableWidth" and
...
"availableHeight"
1999-01-05 23:31:18 +00:00
kipp%netscape.com
50b331f35c
Reinstated the last set of checkins that were backed out
1999-01-05 23:01:54 +00:00
donm%netscape.com
9b2666a111
backing out changes against a long red tree. would like to clear
...
the hook. -donm
1999-01-05 18:16:05 +00:00
kipp%netscape.com
e29f665a91
Fix handling of removed-child incremental reflow to no longer crash (bug #1941 ); also disabled incremental behavior for remove and inserted for now so that layout looks correct
1999-01-05 17:50:41 +00:00
troy%netscape.com
99455f5082
Moved enum and replaced it with #defines
1999-01-03 00:31:46 +00:00
troy%netscape.com
4591f9d2ad
Changed width/height constraints in nsHTMLReflowState struct
1998-12-30 17:50:00 +00:00
troy%netscape.com
7b5cc03059
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
peterl%netscape.com
887cd5f867
sync to new attribute api
1998-12-20 01:21:23 +00:00
kipp%netscape.com
ed1c9c40e1
Display inline borders/background during content painting, not during background painting (per css2 spec)
1998-12-18 22:12:15 +00:00
kipp%netscape.com
40c2cfef07
Fixed numerous compiler warnings (hopefully) from the mac build
1998-12-18 17:34:34 +00:00
kipp%netscape.com
c29e5116c7
Revised frame Paint API
1998-12-18 15:54:23 +00:00
kipp%netscape.com
df22ba5edf
Disabled skid marks
1998-12-17 19:10:53 +00:00
kipp%netscape.com
b5ddc4184d
Clean up max-element-size computations; added code to remove empty lines (disabled for now)
1998-12-17 18:52:10 +00:00