31 Commits

Author SHA1 Message Date
buster%netscape.com
bf63049426 bug 29595 (and others)
fixes layout of pages where a single line is impacted by 2 or more floaters
r=troy


git-svn-id: svn://10.0.0.236/trunk@63783 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 23:19:10 +00:00
dbaron%fas.harvard.edu
f1cd9a202b 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


git-svn-id: svn://10.0.0.236/trunk@60795 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 04:26:44 +00:00
evaughan%netscape.com
a268db39c4 1) implememted box reflow coelescing.
2) implemented gfx scrollbars for list boxes
3) fixed progess meter to be an animated gif
4) fixed bugs 23521, 24721, 19114, 20546, 24385, 24457, 23156, 20226, 22543

-r hyatt, troy, rod


git-svn-id: svn://10.0.0.236/trunk@60253 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 22:02:40 +00:00
karnaze%netscape.com
e8ff8bb21f bug 24037 r=attinasi; nsOuterTableFrame handles bad incremental reflow by using the height of its rect.
bug 23235 r=attinasi; nsTableRowFrame requests max element size when reflowing cell for the 1st time.
bug 24410 r=attinasi; nsTableCellFrame reflow always checks width and height and updates the content empty flag.
bug 3305 r=troy,hyatt; table frame constructor cleanup, put caption in its own child list.


git-svn-id: svn://10.0.0.236/trunk@58996 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 02:19:45 +00:00
troy%netscape.com
60471abd92 b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.


git-svn-id: svn://10.0.0.236/trunk@58373 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 01:16:50 +00:00
alecf%netscape.com
aaa9106176 fix for #21417
r=troy, a=chofmann
the editor's internal mDisplayFrame was not being removed from the frame manager's map of content->frames, so after enough scrolling in the addressing pane, reflow would try to reference a deleted frame. Fix is to remove the frame from the frame manager every time it's destroyed.


git-svn-id: svn://10.0.0.236/trunk@56134 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 03:28:50 +00:00
rods%netscape.com
c5c2e469e6 Should have left off the ":"
r=self


git-svn-id: svn://10.0.0.236/trunk@55463 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 23:05:52 +00:00
rods%netscape.com
34b37eb441 adding :-moz-option-selected
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@55458 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 22:57:24 +00:00
troy%netscape.com
52084caad8 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


git-svn-id: svn://10.0.0.236/trunk@55424 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 15:49:53 +00:00
danm%netscape.com
9bfb5a41b9 adding 'close' xul event handler. part of bug 13695. r:hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@54950 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 22:35:33 +00:00
vidur%netscape.com
29607952c0 Fixes for 19650 and 15133. Added nsHTMLDocument::Resolve(). Script event handler compilation is deferred till when the event handler is first invoked. Atoms used for event name comparisions instead of strings. R=joki
git-svn-id: svn://10.0.0.236/trunk@54457 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 00:05:21 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
kipp%netscape.com
f734a9cc39 r=troy; Added a new frame property atom
git-svn-id: svn://10.0.0.236/trunk@52610 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:42:13 +00:00
kipp%netscape.com
e5672a7cbf Added another frame property
git-svn-id: svn://10.0.0.236/trunk@52383 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 15:22:25 +00:00
troy%netscape.com
fd1d6fc2a3 Changed view to be stored as a frame property instead of a member data
of nsFrame


git-svn-id: svn://10.0.0.236/trunk@51940 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 03:56:14 +00:00
troy%netscape.com
54572af2e6 r=karnaze@netscape.com
Save 8 bytes per table cell frame by eliminating mCollapseOffset and
using a frame property instead.


git-svn-id: svn://10.0.0.236/trunk@51485 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 02:06:22 +00:00
kipp%netscape.com
90d4423420 r=troy; Added a property for max-element-size storage for fixing bug 13196
git-svn-id: svn://10.0.0.236/trunk@51387 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 20:23:05 +00:00
troy%netscape.com
dced08401d 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


git-svn-id: svn://10.0.0.236/trunk@51358 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 05:11:43 +00:00
kipp%netscape.com
3f737c9dc4 r=troy; Added some more atoms so that Dframe sizing data is more particular for line boxes
git-svn-id: svn://10.0.0.236/trunk@50701 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:08:31 +00:00
kipp%netscape.com
2c17cc458b Added two new atoms to help meter large vs. small line boxes
git-svn-id: svn://10.0.0.236/trunk@50503 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 23:22:34 +00:00
troy%netscape.com
093e5bfd97 Change to SizeOf() code (diagnostic code only). Changed table frame
code to split the column cache size out into a separate listing


git-svn-id: svn://10.0.0.236/trunk@50206 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 05:12:55 +00:00
kipp%netscape.com
b17c92e839 Added some atoms to support SizeOf metrics
git-svn-id: svn://10.0.0.236/trunk@50064 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 00:31:41 +00:00
troy%netscape.com
bd5ca95ced Added SizeOf() handler for floater information maintained by the
line box


git-svn-id: svn://10.0.0.236/trunk@49644 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-02 02:51:03 +00:00
troy%netscape.com
67890faf02 Added SizeOf() handler for space manager
git-svn-id: svn://10.0.0.236/trunk@49632 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-02 00:52:01 +00:00
troy%netscape.com
4e1923d3ad Hooked up SizeOf() for cell map and table layout strategies. Also added in
some table frame data that was missed


git-svn-id: svn://10.0.0.236/trunk@49622 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-02 00:02:54 +00:00
troy%netscape.com
10788643fe Added frame type for OBJECT frame
git-svn-id: svn://10.0.0.236/trunk@47172 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 21:26:05 +00:00
kipp%netscape.com
67d5a7ce45 Added another debug atom
git-svn-id: svn://10.0.0.236/trunk@45403 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:10:02 +00:00
kipp%netscape.com
2ca907103d Added new atoms
git-svn-id: svn://10.0.0.236/trunk@45286 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 04:31:39 +00:00
kipp%netscape.com
c9002f20df Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot
git-svn-id: svn://10.0.0.236/trunk@45274 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 03:09:40 +00:00
peterl%netscape.com
ac9e8c5d0f added more pseudo elements
git-svn-id: svn://10.0.0.236/trunk@42677 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-08 01:05:05 +00:00
peterl%netscape.com
52173cfac8 use preprocessor for atom code generation
git-svn-id: svn://10.0.0.236/trunk@39928 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:13:35 +00:00