Граф коммитов

1312 Коммитов

Автор SHA1 Сообщение Дата
kipp%netscape.com de4d61cd11 Check style unit before translating relative position coords 1998-07-24 16:22:54 +00:00
rpotts%netscape.com 17acb2afff Added IStreamListener::OnStatus(...)... 1998-07-24 10:02:50 +00:00
rpotts%netscape.com 9049f19d16 When stopping a TextTimer Cancel(...) the nsTimer before releasing it... 1998-07-24 05:41:34 +00:00
joki%netscape.com f85ed9ce71 Hooking up window element to event chain and adding in support for a few more event types. 1998-07-24 05:06:44 +00:00
buster%netscape.com 8194f070cf fixed column balancing for case where minColWidth > specifiedFixedColumnWidth 1998-07-24 03:53:59 +00:00
troy%netscape.com ab555eff47 Changed PaintChildren() to check for lines that intersect the damage
area
1998-07-24 03:18:35 +00:00
buster%netscape.com 911380aeb5 any table with a nonsense rowspan lays out better 1998-07-24 00:43:09 +00:00
troy%netscape.com bf11c1e307 CHanged Invalidate() to pass the NS_VMREFRESH_NO_SYNC flag. Temporary
measure to keep us from painting before the DidReflow() notifications
have been sent...
1998-07-24 00:01:53 +00:00
troy%netscape.com 34af0e1d92 Tweaked the repaint code in Reflow() to make sure the entire frame is
repainted for a resize reflow
1998-07-23 23:28:03 +00:00
kipp%netscape.com e91ad473c2 Use proper cast path for query-interfaces 1998-07-23 23:13:39 +00:00
vidur%netscape.com 8547dd423c nsHTMLDocument now holds on to its parser till loading is complete. Hooked up document.write and document.writeln 1998-07-23 22:06:05 +00:00
dcone%netscape.com 9d2025a71d added manifest file 1998-07-23 22:05:51 +00:00
buster%netscape.com 4ad5fcf455 completed AdjustTableThatIsTooWide, now gets the table down to the right width. 1998-07-23 21:55:45 +00:00
michaelp%netscape.com 229931e725 unix will build again... 1998-07-23 21:54:26 +00:00
troy%netscape.com b97023bc6c Added XXX description of floater problem 1998-07-23 21:35:53 +00:00
troy%netscape.com 825a176c6f Fixed nbody code to do a WillReflow() and to size the frame when incrementally
reflowing an absolutely positioned frame
1998-07-23 21:16:09 +00:00
michaelp%netscape.com 96cf645164 modified for new streaming APIs. 1998-07-23 20:35:43 +00:00
dcone%netscape.com 8bd0bfe854 first version of manifest for this directory 1998-07-23 20:31:35 +00:00
troy%netscape.com 37a9603e3b Moved cde that does damage repair for a resize reflow from the
body to the root content frame
1998-07-23 20:19:05 +00:00
kipp%netscape.com 9d7cbfff3b new 1998-07-23 19:58:09 +00:00
kipp%netscape.com 7d9dcb23b5 Removed hack reflow code now that body/block do it properly 1998-07-23 19:56:11 +00:00
kipp%netscape.com c233b72b56 Handle floaters better by triggering a resize-reflow on the body's content frame after reflowing the floater 1998-07-23 19:55:27 +00:00
kipp%netscape.com f9ce8ce6a7 Fix floater placement by removing it's old location before adding it again; use proper reflow state when getting a floaters style-size; don't forget to place below-current-line-floaters on frame-appended reflow 1998-07-23 19:54:44 +00:00
peterl%netscape.com c56d6f8416 properly setup fonts and backgound colors 1998-07-23 18:16:11 +00:00
peterl%netscape.com 2207f21400 factored backgound finding code to nsStyleUtil 1998-07-23 18:05:03 +00:00
peterl%netscape.com 6ddf7a6d9a added nsStyleUtil.cpp 1998-07-23 18:04:24 +00:00
peterl%netscape.com 7ee20b51d8 factored font sizing code to nsStyleUtil
implemented font flags
1998-07-23 18:03:55 +00:00
peterl%netscape.com 732ce5235d added nsStyleUtil.h 1998-07-23 18:02:55 +00:00
peterl%netscape.com f9952871f9 factored font size= code to style utils
added font flag support
body tag now sets default color
1998-07-23 17:58:22 +00:00
peterl%netscape.com b14b73ba93 added font flags 1998-07-23 17:57:16 +00:00
peterl%netscape.com 4ee7bc6970 added setters for default colors 1998-07-23 17:57:00 +00:00
peterl%netscape.com 1029878fc9 removed threed text hack, added font flags 1998-07-23 17:55:02 +00:00
kipp%netscape.com cc0cebe79f Work around scrolling bug and fix a memory leak with #ref url's 1998-07-23 15:29:04 +00:00
troy%netscape.com d3feddf36c Moved code to invalidate dirty area for an initial reflow from the
body frame to the root content frame
1998-07-23 05:00:39 +00:00
joki%netscape.com 5e01c1220d Fix addref problem during mouseovers. 1998-07-23 04:53:14 +00:00
rpotts%netscape.com bf1b3f1e8e Get rid of those tabs... 1998-07-23 04:26:07 +00:00
troy%netscape.com 986a48710a Added code to Reflow() to invalidate the damaged areas 1998-07-23 04:22:41 +00:00
joki%netscape.com ce61da5597 More event stuff. Modified HandleDOMEvent, modified nsGUIEvent types, added mouseover, mouseout. 1998-07-23 02:55:33 +00:00
kipp%netscape.com ab2fe45a1e Implement scroll to ref 1998-07-22 23:42:47 +00:00
vidur%netscape.com ec8c40eeed Introduced nsContentLists. Added a DocumentWillBeDestroyed method to nsIDocumentObserver. Added a document parameter to all DocumentObserver notifications. Added the nsIDOMHTMLDocument interface to HTMLDocument. Implemented document.images, etc and getElementsByTagName. 1998-07-22 23:32:19 +00:00
rods%netscape.com 4f54ff6d69 turning off debug 1998-07-22 22:01:46 +00:00
rods%netscape.com cd71f097d6 selection improvements 1998-07-22 22:00:23 +00:00
rods%netscape.com 7ddb2ebda5 selection improvements 1998-07-22 21:56:48 +00:00
buster%netscape.com bf6286bcc1 fixed-width columns now respected when their content desired width exceeds
the specified width.
1998-07-22 20:06:31 +00:00
kipp%netscape.com 176c561856 Implement block in inline 1998-07-22 18:38:57 +00:00
troy%netscape.com 302ac6c6d4 Fixed it so backgrounds are properly tiled again 1998-07-22 18:34:14 +00:00
buster%netscape.com 250fdeafde BasicTableLayoutStrategy::Initialize now properly re-iinitializes instance variables 1998-07-22 18:22:12 +00:00
kipp%netscape.com 1b3ddfbbc4 Avoid excessive content-changed reflows during text appending 1998-07-22 17:40:05 +00:00
rpotts%netscape.com 01b9ef5140 IWebShell now supports a single observer... 1998-07-22 11:19:54 +00:00
buster%netscape.com 35edf8df81 fixed table width problems when there are colspanning cells 1998-07-22 05:38:41 +00:00
troy%netscape.com 048270ffb0 Changed PaintBorder() to use the (x,y) that's passed in 1998-07-22 05:02:07 +00:00
troy%netscape.com 5e7cd10393 Changed clip operation to intersect 1998-07-22 04:49:09 +00:00
buster%netscape.com 878f3fa809 * reworked the way colspan and rowspans are handled in table layout strategy. We do less work, and we look better.
* fixed more margin code.  we're inching towards correctness.
* the width contributed by a colspanning cell is now proportionately distributed to the columns based on the columns "effective width"
* added logic for handling illegal COLS attribute on a table (like COLS=4 in a 3-column table).  See nsTableFrame::GetEffectiveCOLSAttribute()
* added logic for handling illegal COLSPAN attribute on a cell (like COLSPAN=4 in a 3-column table).  See nsTableFrame::GetEffectiveColSpan().  This is wrong, and will get reworked soon.
* added the ability for cell width attributes to effect column width like Nav4.
1998-07-22 03:53:43 +00:00
troy%netscape.com 789a2dbe45 Changed nsCSSRendering::PaintBorder() so the entire rect is used
and not just the width and height
1998-07-22 02:46:00 +00:00
troy%netscape.com 7bb9f01b93 Added support for displaying inset border and alt-text while loading
an image
1998-07-22 02:44:44 +00:00
karnaze%netscape.com fe8dc78f66 set attributes on <frame>, <frameset> layout 1998-07-21 23:20:04 +00:00
dcone%netscape.com 0615d2ac3d removed nsHTMLTags.cpp 1998-07-21 21:47:41 +00:00
kipp%netscape.com dd74c045ef Set max-element-size when computing reflow metrics 1998-07-21 21:20:55 +00:00
kipp%netscape.com 0f6c349aab include script directly 1998-07-21 16:44:09 +00:00
kipp%netscape.com 2f790c0a9a Get correct url to open for script src= 1998-07-21 16:43:48 +00:00
troy%netscape.com 25d601cd32 Fixed MakeSide() so it does a better job of drawing the correct pixels in
the case of 1-pixel thick lines
1998-07-21 09:30:03 +00:00
troy%netscape.com 4b6011fd11 Fixed it so tables that don't want a border don't get a border 1998-07-21 08:12:22 +00:00
troy%netscape.com 109b0e1a4d Commented out code that was forcing the border style to solid rather
than using whatever is in the default ua style sheet (inset)
1998-07-21 07:47:46 +00:00
troy%netscape.com f657a18800 Changed Paint() to use the parent frame's color style struct. We can't use our
color style struct because we're a pseudo frame and so the style system forces
us to have a transparent background
1998-07-20 23:58:00 +00:00
troy%netscape.com ebedcce239 Changed Paint() to render the background if there is one 1998-07-20 23:56:17 +00:00
troy%netscape.com 9e7943e565 Changed SetAttribute() to call nsTableTagContent base class version so that
processing of things like "style=" happens
1998-07-20 23:50:46 +00:00
troy%netscape.com 5172d53a31 Changed MapAttributesInto() to call MapBackgroundAttributesInto() so that
the bgcolor attribute is properly handled
1998-07-20 23:30:49 +00:00
dcone%netscape.com 34ed2634ed removed nsDomnodeiterator.cpp, nsHTMLTagContent.cpp 1998-07-20 20:52:14 +00:00
karnaze%netscape.com 381a7c28a9 initial support for <frameset> <frame> in content sink 1998-07-20 18:52:40 +00:00
troy%netscape.com 6fb2009eec Changed it so image frames don't have a view, and turned on transparent
images
1998-07-19 05:48:46 +00:00
kipp%netscape.com 3f326bc4da Pass title to web shell if we are wrapped in one 1998-07-19 01:14:53 +00:00
kipp%netscape.com 1476a300de Removed SetTitle 1998-07-19 01:14:21 +00:00
kipp%netscape.com 39f5530391 Port to new nsIWebShell and related API's 1998-07-18 21:47:56 +00:00
kipp%netscape.com 8375f728af Added missing includes 1998-07-18 21:46:51 +00:00
kipp%netscape.com ac5be48a5a Added AddFloater method (not yet used) 1998-07-18 21:45:40 +00:00
kipp%netscape.com 353412c562 Find floaters after placing line so that floater list is kept up to date 1998-07-18 21:45:17 +00:00
kipp%netscape.com bcda4bfa7d Disabled selection noise with an ifdef 1998-07-18 21:44:11 +00:00
rods%netscape.com 5ebefdb03c made changes to selection for debugging 1998-07-18 18:19:41 +00:00
rods%netscape.com 85654e2b32 changed GetNextContent to pas back next leaf node content 1998-07-18 18:18:53 +00:00
rods%netscape.com 54786e9833 made minor changes to selection 1998-07-18 18:18:20 +00:00
rods%netscape.com 5c972347e3 exported nsSelectionPoint.h 1998-07-18 18:17:08 +00:00
troy%netscape.com adf40001e6 Eliminated some unnecessary image rendering 1998-07-18 15:26:03 +00:00
rods%netscape.com f05c4a6bf9 turned off selection 1998-07-18 14:03:43 +00:00
kipp%netscape.com e0990f1890 Fixed crasher bug 1998-07-18 01:06:30 +00:00
kostello%netscape.com e7dee8f2f4 1) Move the CSS dependent methods out of nsDocument and placed them
in a new class nsMarkupDocument. The point of nsMarkupDocument is
to hold methods which are common to HTML and XML but not relevant
to the base nsDocument class.

2) Added Selection support methods for Rod.

3) Added LookupProperty to nsCSSProperty:
Given a property ID and Property Index returns back the string representation
of the property. This was need to convert CSSValues back to strings for saving.
TODO: Make sure that our URL Information stored in a CSSDeclaration contains
enough information to return it to it's original form on output.
1998-07-17 23:00:54 +00:00
kipp%netscape.com d00cb81a0c Removed redundant DidReflow's 1998-07-17 21:50:43 +00:00
kipp%netscape.com 60665deb3d Implement dom access to the SRC attribute 1998-07-17 21:16:43 +00:00
kipp%netscape.com 999560e810 new 1998-07-17 21:16:18 +00:00
buster%netscape.com ef4c17cfab fixed a space leak/logic error handling colspans
added backwards compatibility for percent width tables inside of auto width tables (see http://webreview.com/wr/pub  warning:  you'll have to look at a local copy until
Troy/Vidur/somebody fixes an image problem.)
1998-07-17 21:02:28 +00:00
kipp%netscape.com 54a30ab850 Only break from next-in-flow when we have a next-in-flow 1998-07-17 18:14:23 +00:00
buster%netscape.com 516af96c36 fixed table maxElementSize 1998-07-17 17:51:55 +00:00
buster%netscape.com 43e2bfb777 we now allow empty rows 1998-07-17 17:51:43 +00:00
kipp%netscape.com 316e166f7b Don't create new frames when a continuation is being reflowed for the first time 1998-07-17 16:16:19 +00:00
rpotts%netscape.com 589dcc48fe Split the Content viewer out of the WebWidget. The WebWidget is now a ContentViewer Container (supporting the nsIViewerContainer interface)... 1998-07-17 06:32:39 +00:00
rpotts%netscape.com 165211e3bb Split the Content viewer out of the WebWidget. The WebWidget is now a ContentViewer Container (supporting the nsIViewerContainer interface)...nsHTMLDocument.h 1998-07-17 06:30:00 +00:00
peterl%netscape.com ed2c6d38a8 added comment support 1998-07-17 05:50:35 +00:00
peterl%netscape.com af17e2c85b fixed @import parsing
rejected malformed id selectors
sync to declaration api change
1998-07-17 05:50:07 +00:00
peterl%netscape.com f45d7bcdde fixed fixed font handling 1998-07-17 05:49:03 +00:00
peterl%netscape.com 418a441427 added fixed font support
better font size support
1998-07-17 05:46:12 +00:00
peterl%netscape.com a65025d311 removed body & table default settings
changed heading sizes to absolute instead of length
removed form element font hacks
1998-07-17 05:45:22 +00:00
peterl%netscape.com adf94fdf7c better font support 1998-07-17 05:44:27 +00:00
peterl%netscape.com d2bf561219 added fixed pitch font
added default color support
added content pointer
added style reset for table cells & captions
added linear links
1998-07-17 05:43:31 +00:00
peterl%netscape.com 2122fae9c9 added default fixed pitch font & default colors 1998-07-17 05:41:41 +00:00
peterl%netscape.com a0fe56c7cd added fixed pitch font, added content pointer 1998-07-17 05:41:02 +00:00
joki%netscape.com db560e8cac Adding new DOM stuff to handle JS event handlers 1998-07-17 04:52:12 +00:00
troy%netscape.com 43549900ba Added a #if 0 around the code to turn on transparent images 1998-07-17 04:41:35 +00:00
joki%netscape.com d7e6e4df20 Turning on scripts by default. This should just show an error or two
and not affect how pages show up.  If this proves not to be true we'll
turn it back off.  But it will help show where we are.
1998-07-17 04:38:47 +00:00
troy%netscape.com 20e203fb53 Sets the frame's view to indicate transparency if an image
associated with the frame is transparent
1998-07-17 03:43:46 +00:00
vidur%netscape.com e4c8079dac Rotation test revamped 1998-07-16 23:39:08 +00:00
kipp%netscape.com 2ef5aa2ece Implement paint method 1998-07-16 23:32:04 +00:00
kipp%netscape.com a8093e38e4 Size the placeholder differently when visually debugging; render it too: 1998-07-16 23:31:53 +00:00
kipp%netscape.com 9130b882c4 Tweaked assertions 1998-07-16 23:31:33 +00:00
kipp%netscape.com bdcc5349b1 Remove descent from BR 1998-07-16 23:31:08 +00:00
kipp%netscape.com ac9f0ebc3b Treat floating tables better; place below current line floaters BEFORE clearing over them for nav compatability 1998-07-16 23:30:49 +00:00
buster%netscape.com 1e57359168 ua.css changed to match Nav default for cell padding 1998-07-16 23:24:53 +00:00
buster%netscape.com 51fe86ee79 fundemental overhaul of the BasicTableLayoutStrategy
We now cache lots of useful info in the colframes
we now properly account for margins just as uniform cellspacing
1998-07-16 23:23:31 +00:00
kipp%netscape.com 8a146ed86e Fix incremental reflow bug 1998-07-16 22:15:02 +00:00
vidur%netscape.com 847154c1e7 Fixed memory leak in the case where a view already exists for a frame 1998-07-16 21:36:25 +00:00
vidur%netscape.com 13174d69b8 Rotation test 1998-07-16 21:13:10 +00:00
karnaze%netscape.com d38ecde734 revised hack for input controls 1998-07-16 19:50:03 +00:00
karnaze%netscape.com a7e143ec46 removed hack for input, textarea 1998-07-16 19:48:37 +00:00
spider%netscape.com c7265362fc Remove broken-image.gif from install of Makefile. It was moved
to layout/html...
1998-07-16 18:44:32 +00:00
kipp%netscape.com 39fd8b6e99 Deal with lingering leaf content properly during append reflow 1998-07-16 18:19:53 +00:00
troy%netscape.com 0f8921d050 Fixed some more nsColor.h captitalization problems 1998-07-16 17:09:26 +00:00
kipp%netscape.com a030caaa7d Fixed include 1998-07-16 05:04:01 +00:00
troy%netscape.com 8a3882d546 Added background color to image loading member functions 1998-07-16 04:34:59 +00:00
troy%netscape.com a90f1b6cbd Changed image group GetImage() member function so the background color
is a pointer and not a color by value. This allows it to be NULL if the
caller wants a transparency mask to be created
1998-07-16 02:32:08 +00:00
karnaze%netscape.com 3617f6230c initial framesets, nsHTMLIFrame.cpp absorbed by nsHTMLFrame.cpp 1998-07-15 23:42:14 +00:00
rpotts%netscape.com 646e80db63 Added nsIURL argument to the nsIStreamListener interface 1998-07-15 22:38:01 +00:00
kipp%netscape.com 8f8e2e233f Updated to XPCOM'ized sink api 1998-07-15 22:31:10 +00:00
kipp%netscape.com 8432d360c2 Cleaned up exports list 1998-07-15 22:04:21 +00:00
kipp 8c6299af3d Handle unconstrained width during percentage width computations 1998-07-15 17:07:20 +00:00
kipp 6c7df9225b Fixed HR style 1998-07-15 17:07:00 +00:00
kipp 4c2cb08763 Speed up doc loading by not reflowing after appending leaf elements (temporary hack) 1998-07-15 17:06:53 +00:00
kipp 658a22492a Indent tweak 1998-07-15 17:05:59 +00:00
kipp 302578583b Stop storing image attrs directly; changed layout code to not use nsHTMLImage directly 1998-07-15 17:05:49 +00:00
troy a629312753 Some more changes of nsIPresContext* to nsIPresContext& 1998-07-15 17:05:21 +00:00
kmcclusk ebefc920fc Put all EXPORT's on a single line. Didn't work on Linux when they were on separate lines. 1998-07-15 17:04:56 +00:00
kipp 1183e898de Make bullets a bit smaller to look better 1998-07-15 17:04:30 +00:00
kostello 671a19cd9d Fix Unix build bustage 1998-07-15 16:54:29 +00:00
kipp 9f98bda93a Use GetStyleSize to get a better width; store away computed width so that paint code doesn't have to compute it 1998-07-15 16:49:07 +00:00
kipp 7b8a54834f Keep unconstrained flowing downward 1998-07-15 16:48:21 +00:00
troy afdf23392e Added an XXX to remind me to talk with Cujo about how we determine
whether the column widths have changed...
1998-07-15 04:52:32 +00:00
troy 21525a97ca Turned off some code that was accidently turned on 1998-07-15 04:46:51 +00:00
troy 88ad0371f3 Some improvements to the incremental reflow logic to handle all the
cases handled by resize reflow
1998-07-15 04:45:58 +00:00
troy d660868bc2 Changed API for CreateContinuingFrame and GetReflowMetrics to take
a reference to a nsIPresContext
1998-07-15 03:23:23 +00:00
troy 711c31863c Changed GetReflowMetrics() to take a reference to a nsIPresContext 1998-07-15 02:59:06 +00:00
troy a90fe8e1de Changed Reflow() member function to take a reference to a nsIPresContext
instead of a pointer
1998-07-15 02:53:09 +00:00
kipp e77c6fa9b2 Treat embed properly as a leaf; fixed typo with object tag 1998-07-15 00:49:26 +00:00
kipp fff0d2b60c Made applet's, embed's and object's inlines 1998-07-15 00:48:56 +00:00
kipp 5ef073ab09 Rebased to use nsObjectContent to share common code 1998-07-15 00:48:39 +00:00
kipp 44dba2b2a1 new 1998-07-15 00:48:22 +00:00
kipp d94273ffcf Added nsObjectContent 1998-07-15 00:48:15 +00:00
kipp 0b21a9b759 More hacks for floating embed's, object's and applet's 1998-07-15 00:47:46 +00:00
kipp 847827aa89 Handle null pointers better 1998-07-15 00:23:31 +00:00
kipp 87faf8d82c Added applet, object and embed support 1998-07-15 00:23:07 +00:00
kipp 3b245bcbcd Added nsObjectFrame 1998-07-15 00:22:56 +00:00
kipp fdbc836e19 new 1998-07-15 00:22:30 +00:00
kipp 2edd02bae5 Handle applet, object and embed tags 1998-07-15 00:22:15 +00:00
kipp 4e2e0f5153 Use NS_NewObjectFrame 1998-07-15 00:21:51 +00:00
kipp d9b9fa893c added nsHTMLEmbed 1998-07-15 00:21:43 +00:00
kostello 213a328a93 Sync with new DOM interfaces 1998-07-14 23:30:44 +00:00
karnaze 10c6b37bd2 made "get" the default for submission when method is omitted 1998-07-14 22:52:07 +00:00
kostello 33fd5ef97a Added XIF (XML Interchange Format) Support. XIF is designed
as an Netscape internal XML application. It is designed to
allow conversion from our content model to any output format --
most importantly to HTML 3.2 and HTML4.0 format.
1998-07-14 22:34:27 +00:00
kostello f9fa8c6055 Helper object that creates a buffer of XIF data 1998-07-14 22:29:21 +00:00
kipp ca16578186 Add factory methods for applets and objects 1998-07-14 18:54:20 +00:00
kipp cbc1a1cdea new 1998-07-14 18:52:27 +00:00
vidur 1900060e23 Moved over to a new version of Level 1. NodeIterators and AttributeLists out. NodeLists and NamedNodeMaps in. 1998-07-14 18:44:44 +00:00
kipp e531368a89 Use FirstChild method so that more subclasses can use the method 1998-07-14 18:38:11 +00:00
kipp 4d399204ba Check for silly width/height's and repair them; fixed bug where a silly height was created; removed redundant handle-event code 1998-07-14 18:37:51 +00:00
troy 8fb033f617 Incremental reflow changes 1998-07-14 15:29:50 +00:00
kipp 2a54790f09 Handle null pointer bugs 1998-07-14 15:22:30 +00:00
kipp 59156541d0 Made tables look more real by eliminating ebina auto margins 1998-07-14 15:22:11 +00:00
kipp 902d0b7a9a Commented out an unused variable 1998-07-14 15:21:50 +00:00
kipp ef9d89dd16 Removed MoveTo/SizeTo; added DidReflow and changed it so that on final placement the widget is made visible; during widget creation the widget is created hidden; updated hack font name to match ua.css 1998-07-14 15:21:36 +00:00
kipp c940e01855 Removed MoveTo/SizeTo and added DidReflow 1998-07-14 15:20:43 +00:00
kipp 7ab5d3ff06 Stop using GetText for node tag names whenever possible 1998-07-14 01:57:51 +00:00
kipp 7430059fdf Clamp bullet x coordinate to stay in the available area; if we have a bullet then the first 2 frames are considered the first frame 1998-07-14 00:56:49 +00:00
kipp e51e484113 Added have-bullet flag 1998-07-14 00:55:43 +00:00
kipp 384602528f Revamp list handling so that the LI frame is placed differently then regular frames by the LI container 1998-07-14 00:55:28 +00:00
kipp 6272e27350 Fixed UL/OL to be blocks again (whoops) 1998-07-13 22:12:58 +00:00
kipp a5f9c0b814 Fixed bug with dangling empty lines 1998-07-13 22:12:43 +00:00
kipp 78d4f7fa5e Added code so that TR VALIGN's will dump properly when content is dumped 1998-07-13 21:16:51 +00:00
buster 6670b21c59 turned debug noise off 1998-07-13 20:44:07 +00:00
buster d00c767f83 for Nav compatibility, 0-width cells do not have insets 1998-07-13 20:41:38 +00:00
kipp 68ab2aa86e Cleaned up style sheet 1998-07-13 19:49:53 +00:00
kipp 8ff38eadd5 Implement VerifyReflow 1998-07-13 19:49:42 +00:00
kipp 21059331cd Added reflow verification api 1998-07-13 19:49:20 +00:00
kipp 2432218467 updated a few comments 1998-07-13 19:49:07 +00:00
buster 2eb1eecd14 added Nav4 compatibility code for 0-width cells 1998-07-13 19:22:45 +00:00
buster 5be37245a3 fixed 2 minor space leaks having to do with temporary structs allocated
to handle colspans
1998-07-13 18:11:12 +00:00
kipp a53b58f65f Reflow child when max-element-size is requested (this works around a purify detected crash) 1998-07-12 00:19:17 +00:00
kipp 53496bd65e Set max-element-size 1998-07-12 00:18:36 +00:00
kipp d48f1f528d Added code to move content in bad spots in tables out 1998-07-12 00:18:26 +00:00
kipp 149a96f186 Work around table bugs in a different way 1998-07-12 00:17:50 +00:00
rpotts 9069d8ec06 Fixed up CVS merge problem that was horking reference counts... 1998-07-11 08:07:17 +00:00
troy 5d8fdf9dd8 Added back in some changes that got lost in the previous
check-in
1998-07-11 04:16:29 +00:00
kipp a2bec51709 Improved tracing somewhat; fixed map handling; removed some dead code 1998-07-11 03:51:50 +00:00
kipp 45bd6033e4 Split HandleEvent between the two classes; in theory this is because the RootContentFrame gets the scroll adjusted x,y coordinate and RootFrame doesnt 1998-07-11 03:51:18 +00:00
kipp bd7c472e67 Disabled some code to make cursors over links work 1998-07-11 03:50:14 +00:00
kipp 91583e8ea0 Adjust coordinates to account for borders; don't consume the event when just mouse overing (only consume it when clicking); this fixes cursors oddly enough 1998-07-11 03:49:56 +00:00
kipp 96ce66e91d Tweaked 1998-07-11 03:49:17 +00:00
kipp c2c262b5fd Removed GetCursorAt code 1998-07-11 03:48:33 +00:00
kipp 473f3e0175 Avoid crashing when we have no content 1998-07-11 03:47:56 +00:00
kipp bdc1ff0f5b Made GetCursorAt looping generic so that more subclasses could use it 1998-07-11 03:47:37 +00:00
buster 6e3192f275 fixed unix build, and one small uninitialized variable problem 1998-07-11 00:47:29 +00:00
buster 8ce4ae05e9 *** empty log message *** 1998-07-11 00:08:08 +00:00
buster 3e596fc26a major hackage to the table data structures. slimmer, simpler, faster
this work exposed a few bugs and slow spots, which have been fixed
for the aol page, I added some additional backwards compatibility code
to proportionately distribute width when a fixed-width cell has colspans
1998-07-11 00:00:31 +00:00
troy 786d36083e More code re-shuffling. I need to hurry and check-in before Cujo
whacks the tree
1998-07-10 22:56:13 +00:00
kipp cb83cf384a Fixed max-element-size to account for the border+padding 1998-07-10 21:45:30 +00:00
kipp bc69e4d178 Generate automatic margin values for most blocks; this emulates ebina margins fairly well 1998-07-10 20:30:23 +00:00
kipp 16b20ee3a0 Removed SetMargins call; the default ctor zeros things out now 1998-07-10 20:28:30 +00:00
kipp 50698a0e13 Made it more ebina ish 1998-07-10 20:28:04 +00:00
kipp 3fdb071728 Pass on DidReflow always so that sub-frames that contain views can get notified and move the views 1998-07-10 20:27:43 +00:00
kipp 7664b60bce initialize reflow metrics and reflow state to avoid downstream bugs 1998-07-10 20:26:20 +00:00
troy 97ae834b23 Deprecated the SetFirstContentOffset/SetLastContentOffset member
functions that take a nsIFrame*
1998-07-10 19:04:06 +00:00
rickg 8b9c5f20cc dynamic DTD support 1998-07-10 05:35:23 +00:00
troy b147b465e4 Changed it so we assume that rows are always complete 1998-07-10 05:23:05 +00:00
troy 4e29404d47 Some incremental improvements 1998-07-10 04:00:38 +00:00
peterl 48d742912a tweaking <FONT size=x> handling 1998-07-10 02:45:18 +00:00
troy 6d06722267 Added some new sizing constraints 1998-07-09 20:53:37 +00:00
troy b4c186d39c Added a check for multiple frames occupying a trapezoid. This keeps us from
crashing
1998-07-09 18:14:19 +00:00
karnaze 72b2dcf73c borders 1998-07-09 17:47:33 +00:00
kipp 051acc64fd Added debug code that syncs up the display when running slow so that incremental loading reflow can be visible 1998-07-09 17:08:40 +00:00
kipp eba3466b03 tweaked nested lists style; add in bottom margins for most block elements 1998-07-09 17:08:09 +00:00
kipp 94003031d4 Init passed in margins 1998-07-09 17:07:39 +00:00
kipp 8659fdf2e9 Implement css collapsing margins 1998-07-09 17:06:35 +00:00
kipp 5bb77d7e59 Added some slots to nsReflowMetrics specifically to support collapsing css margins; it needs to go somewhere else! 1998-07-09 17:06:12 +00:00
troy 360378b073 Changed it so the inner table is reflowed by using the Reflow()
member function rather than poking the individual pass 1, pass 2, ...
member functions
1998-07-09 14:30:34 +00:00
kipp b362b02627 Worked around a startup problem that caused body's attributes and style context to be prematurely mapped before the attributes were read in or the ua.css was read in 1998-07-08 23:15:32 +00:00
kmcclusk 61adf8bf9d Modified the order of the source shareables so all of the symbols
are in the single destination shareable for Linux.
1998-07-08 21:11:09 +00:00
troy ff91686953 Changes to the caption handling code 1998-07-08 20:21:17 +00:00
troy 3a510d5648 Tables not allow only one caption 1998-07-08 04:49:01 +00:00
jevering 7545f2a29d Fixing optimized build. 1998-07-07 22:20:00 +00:00
jevering afde6be6e3 Fixed optimized build. 1998-07-07 22:07:35 +00:00
troy dbb8e4e65a Cleaned up ShrinkWrapChildren so pass 1 doesn't resize the rows 1998-07-07 03:48:21 +00:00
buster 72142b30f4 fixed 3 dumb bugs I introduced recently.
1. cellmap couldn't properly delete CellData because definition was unavailable
2. optimized table cells made taller wouldn't shrink when they should because we were not
remembering the previous desired height of the cell.
3. rows were placing cells on the left edge, and not adding in the left margin.
1998-07-07 01:06:51 +00:00
troy 6d54a65afb More incremental reflow changes 1998-07-07 00:49:07 +00:00
buster f8cb71dab5 fix for empty tables. we now support tables that have no content. 1998-07-07 00:20:21 +00:00
buster e90e663a7b fixed a few bugs with distributing excess/restricted space inappropriately.
we now pass around info about whether we're an auto width table.
1998-07-06 22:48:19 +00:00
kipp fb279bade9 Changed AttributeToString to handle empty value types 1998-07-06 22:16:23 +00:00
kipp 48010a25e3 Create head & body object during init phase to avoid having the root content frame code have to renumber it's child frames when the head section shows up) 1998-07-06 22:15:55 +00:00
kipp d38fc85f48 Removed obsolete tags header file generation rules 1998-07-06 22:15:22 +00:00
troy 35c2e6b45c Incremental reflow work-in-progress 1998-07-06 21:39:23 +00:00
kipp dc09e8124d Implement ContentDeleted 1998-07-06 21:37:33 +00:00
kipp 1f9273223c Fixed a few bugs in ContentDeleted reflow; implemented a cheesy version of FrameDeletedReflow 1998-07-06 21:37:08 +00:00
kipp 1f5b3b6c21 new 1998-07-06 21:36:00 +00:00
buster 5135afe659 added support for "effective column widths", the width of a column pretending that spanning cells have no effect.
this gets us some more Nav4 compatibility.
several minor fixes.
1998-07-06 21:00:11 +00:00
kipp 03b43b72a7 Don't build shared library 1998-07-03 23:54:25 +00:00
kipp 37213af260 Don't build shared libraries 1998-07-03 23:12:11 +00:00