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

1180 Коммитов

Автор SHA1 Сообщение Дата
kipp%netscape.com aeced7d7c1 Work around scrolling bug and fix a memory leak with #ref url's 1998-07-23 15:29:04 +00:00
troy%netscape.com 2d8ba9956a 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 2f37f7897f Fix addref problem during mouseovers. 1998-07-23 04:53:14 +00:00
rpotts%netscape.com 259102b98d Get rid of those tabs... 1998-07-23 04:26:07 +00:00
troy%netscape.com 43e97b0be5 Added code to Reflow() to invalidate the damaged areas 1998-07-23 04:22:41 +00:00
joki%netscape.com 921c374705 More event stuff. Modified HandleDOMEvent, modified nsGUIEvent types, added mouseover, mouseout. 1998-07-23 02:55:33 +00:00
kipp%netscape.com ecf252c565 Implement scroll to ref 1998-07-22 23:42:47 +00:00
vidur%netscape.com b60713860e 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 9f60071c16 turning off debug 1998-07-22 22:01:46 +00:00
rods%netscape.com ad97649318 selection improvements 1998-07-22 22:00:23 +00:00
rods%netscape.com aea44b7fbb selection improvements 1998-07-22 21:56:48 +00:00
buster%netscape.com d610b2ae1e 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 3b3b6b39b0 Implement block in inline 1998-07-22 18:38:57 +00:00
troy%netscape.com ee73845dcb Fixed it so backgrounds are properly tiled again 1998-07-22 18:34:14 +00:00
buster%netscape.com 30c9af45e8 BasicTableLayoutStrategy::Initialize now properly re-iinitializes instance variables 1998-07-22 18:22:12 +00:00
kipp%netscape.com 64688f6fd0 Avoid excessive content-changed reflows during text appending 1998-07-22 17:40:05 +00:00
rpotts%netscape.com 89c718204b IWebShell now supports a single observer... 1998-07-22 11:19:54 +00:00
buster%netscape.com 15e6cd169c fixed table width problems when there are colspanning cells 1998-07-22 05:38:41 +00:00
troy%netscape.com 7232d0c359 Changed PaintBorder() to use the (x,y) that's passed in 1998-07-22 05:02:07 +00:00
troy%netscape.com 24491c95e2 Changed clip operation to intersect 1998-07-22 04:49:09 +00:00
buster%netscape.com a064b4803b * 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 23eb4a6ae4 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 9bf08c0bfa Added support for displaying inset border and alt-text while loading
an image
1998-07-22 02:44:44 +00:00
karnaze%netscape.com 62fd08cdee set attributes on <frame>, <frameset> layout 1998-07-21 23:20:04 +00:00
dcone%netscape.com 8a8fcef5a8 removed nsHTMLTags.cpp 1998-07-21 21:47:41 +00:00
kipp%netscape.com dd7f60627c Set max-element-size when computing reflow metrics 1998-07-21 21:20:55 +00:00
kipp%netscape.com 039b290a30 include script directly 1998-07-21 16:44:09 +00:00
kipp%netscape.com a631b04db6 Get correct url to open for script src= 1998-07-21 16:43:48 +00:00
troy%netscape.com f4547a4ef9 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 16ebcf53a6 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 f8121e5171 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 b19ff5f472 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 417a329fa3 Changed Paint() to render the background if there is one 1998-07-20 23:56:17 +00:00
troy%netscape.com b7faea9ae4 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 a895f45922 Changed MapAttributesInto() to call MapBackgroundAttributesInto() so that
the bgcolor attribute is properly handled
1998-07-20 23:30:49 +00:00
dcone%netscape.com 4a51a7d517 removed nsDomnodeiterator.cpp, nsHTMLTagContent.cpp 1998-07-20 20:52:14 +00:00
karnaze%netscape.com 0bb1d87245 initial support for <frameset> <frame> in content sink 1998-07-20 18:52:40 +00:00
troy%netscape.com 421fc69777 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 e460541f55 Pass title to web shell if we are wrapped in one 1998-07-19 01:14:53 +00:00
kipp%netscape.com 8a1173560d Removed SetTitle 1998-07-19 01:14:21 +00:00
kipp%netscape.com 6eef05bf6b Port to new nsIWebShell and related API's 1998-07-18 21:47:56 +00:00
kipp%netscape.com 1abce127ef Added missing includes 1998-07-18 21:46:51 +00:00
kipp%netscape.com 3a38a17de0 Added AddFloater method (not yet used) 1998-07-18 21:45:40 +00:00
kipp%netscape.com 2bcdf28c17 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 cc90755fa7 Disabled selection noise with an ifdef 1998-07-18 21:44:11 +00:00
rods%netscape.com 3107c4037d made changes to selection for debugging 1998-07-18 18:19:41 +00:00
rods%netscape.com 25e7e29995 changed GetNextContent to pas back next leaf node content 1998-07-18 18:18:53 +00:00
rods%netscape.com cad78cf99f made minor changes to selection 1998-07-18 18:18:20 +00:00
rods%netscape.com bcdded08fe exported nsSelectionPoint.h 1998-07-18 18:17:08 +00:00
troy%netscape.com ddf8423f43 Eliminated some unnecessary image rendering 1998-07-18 15:26:03 +00:00
rods%netscape.com 0bee7944cc turned off selection 1998-07-18 14:03:43 +00:00
kipp%netscape.com 1fb72f35e8 Fixed crasher bug 1998-07-18 01:06:30 +00:00
kostello%netscape.com a930953dfa 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 cb5fff3154 Removed redundant DidReflow's 1998-07-17 21:50:43 +00:00
kipp%netscape.com d30288e28c Implement dom access to the SRC attribute 1998-07-17 21:16:43 +00:00
kipp%netscape.com 067ad4cbd8 new 1998-07-17 21:16:18 +00:00
buster%netscape.com 67b833fdc3 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 8367f1bf96 Only break from next-in-flow when we have a next-in-flow 1998-07-17 18:14:23 +00:00
buster%netscape.com b052ed752d fixed table maxElementSize 1998-07-17 17:51:55 +00:00
buster%netscape.com 8c1e033fc9 we now allow empty rows 1998-07-17 17:51:43 +00:00
kipp%netscape.com 49ef7545da 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 5465bbd7a8 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 1ee329c1d5 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 1d53cc71ce added comment support 1998-07-17 05:50:35 +00:00
peterl%netscape.com d542a81118 fixed @import parsing
rejected malformed id selectors
sync to declaration api change
1998-07-17 05:50:07 +00:00
peterl%netscape.com 9edff7f8db fixed fixed font handling 1998-07-17 05:49:03 +00:00
peterl%netscape.com dea1e981bd added fixed font support
better font size support
1998-07-17 05:46:12 +00:00
peterl%netscape.com 522407746e 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 6c7daf31f0 better font support 1998-07-17 05:44:27 +00:00
peterl%netscape.com f37bfc3fc3 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 dd97776de3 added default fixed pitch font & default colors 1998-07-17 05:41:41 +00:00
peterl%netscape.com 256ccab412 added fixed pitch font, added content pointer 1998-07-17 05:41:02 +00:00
joki%netscape.com 1b3eefccdb Adding new DOM stuff to handle JS event handlers 1998-07-17 04:52:12 +00:00
troy%netscape.com abfb7bb7f0 Added a #if 0 around the code to turn on transparent images 1998-07-17 04:41:35 +00:00
joki%netscape.com 1adb49aa32 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 2440e20bdf 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 a9ecb4ac21 Rotation test revamped 1998-07-16 23:39:08 +00:00
kipp%netscape.com 384d6fbda5 Implement paint method 1998-07-16 23:32:04 +00:00
kipp%netscape.com 936a3f47d9 Size the placeholder differently when visually debugging; render it too: 1998-07-16 23:31:53 +00:00
kipp%netscape.com 1db8e85205 Tweaked assertions 1998-07-16 23:31:33 +00:00
kipp%netscape.com 5ede0fb730 Remove descent from BR 1998-07-16 23:31:08 +00:00
kipp%netscape.com 7dd5d56c3d 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 bc9f28621d ua.css changed to match Nav default for cell padding 1998-07-16 23:24:53 +00:00
buster%netscape.com 728589d34d 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 b16b9e2a07 Fix incremental reflow bug 1998-07-16 22:15:02 +00:00
vidur%netscape.com 12115f0ec1 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 94ec6d13a6 Rotation test 1998-07-16 21:13:10 +00:00
karnaze%netscape.com 31147b4ae2 revised hack for input controls 1998-07-16 19:50:03 +00:00
karnaze%netscape.com 25fbc6265e removed hack for input, textarea 1998-07-16 19:48:37 +00:00
spider%netscape.com b66986dd8d 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 18fa173534 Deal with lingering leaf content properly during append reflow 1998-07-16 18:19:53 +00:00
troy%netscape.com 977847d3c3 Fixed some more nsColor.h captitalization problems 1998-07-16 17:09:26 +00:00
kipp%netscape.com 64c1287d33 Fixed include 1998-07-16 05:04:01 +00:00
troy%netscape.com 8456cebd78 Added background color to image loading member functions 1998-07-16 04:34:59 +00:00
troy%netscape.com 2c3fd8a09b 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 f0fd4a385f initial framesets, nsHTMLIFrame.cpp absorbed by nsHTMLFrame.cpp 1998-07-15 23:42:14 +00:00
rpotts%netscape.com 14a8c49f35 Added nsIURL argument to the nsIStreamListener interface 1998-07-15 22:38:01 +00:00
kipp%netscape.com 503b4a123d Updated to XPCOM'ized sink api 1998-07-15 22:31:10 +00:00
kipp%netscape.com 2675d4a079 Cleaned up exports list 1998-07-15 22:04:21 +00:00
kipp af61558bea Handle unconstrained width during percentage width computations 1998-07-15 17:07:20 +00:00
kipp 5ce420759d Fixed HR style 1998-07-15 17:07:00 +00:00
kipp ea7b5b6165 Speed up doc loading by not reflowing after appending leaf elements (temporary hack) 1998-07-15 17:06:53 +00:00
kipp 4321face90 Indent tweak 1998-07-15 17:05:59 +00:00
kipp 20e3fe203d Stop storing image attrs directly; changed layout code to not use nsHTMLImage directly 1998-07-15 17:05:49 +00:00
troy 6b93376d50 Some more changes of nsIPresContext* to nsIPresContext& 1998-07-15 17:05:21 +00:00
kmcclusk 54ad587479 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 c85bf69d5a Make bullets a bit smaller to look better 1998-07-15 17:04:30 +00:00
kostello 61c9478c9f Fix Unix build bustage 1998-07-15 16:54:29 +00:00
kipp d457c0a741 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 5e5e5523c4 Keep unconstrained flowing downward 1998-07-15 16:48:21 +00:00
troy a3ff77478f 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 a0c12aec8d Turned off some code that was accidently turned on 1998-07-15 04:46:51 +00:00
troy fe75103d32 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 e264371e9b Changed API for CreateContinuingFrame and GetReflowMetrics to take
a reference to a nsIPresContext
1998-07-15 03:23:23 +00:00
troy 243f3f1255 Changed GetReflowMetrics() to take a reference to a nsIPresContext 1998-07-15 02:59:06 +00:00
troy e8893481dd Changed Reflow() member function to take a reference to a nsIPresContext
instead of a pointer
1998-07-15 02:53:09 +00:00
kipp ce90528b49 Treat embed properly as a leaf; fixed typo with object tag 1998-07-15 00:49:26 +00:00
kipp 6c9f53efd0 Made applet's, embed's and object's inlines 1998-07-15 00:48:56 +00:00
kipp 4b95268bb9 Rebased to use nsObjectContent to share common code 1998-07-15 00:48:39 +00:00
kipp f03bf40d32 new 1998-07-15 00:48:22 +00:00
kipp aad4b832a4 Added nsObjectContent 1998-07-15 00:48:15 +00:00
kipp b46eb126c9 More hacks for floating embed's, object's and applet's 1998-07-15 00:47:46 +00:00
kipp e1aaad9be7 Handle null pointers better 1998-07-15 00:23:31 +00:00
kipp f5cbcc3d7a Added applet, object and embed support 1998-07-15 00:23:07 +00:00
kipp 4b9098e4f0 Added nsObjectFrame 1998-07-15 00:22:56 +00:00
kipp d53bd676fa new 1998-07-15 00:22:30 +00:00
kipp a35909b3f6 Handle applet, object and embed tags 1998-07-15 00:22:15 +00:00
kipp ca18debaa3 Use NS_NewObjectFrame 1998-07-15 00:21:51 +00:00
kipp c83d696716 added nsHTMLEmbed 1998-07-15 00:21:43 +00:00
kostello dd36a73fb3 Sync with new DOM interfaces 1998-07-14 23:30:44 +00:00
karnaze 30dcad0261 made "get" the default for submission when method is omitted 1998-07-14 22:52:07 +00:00
kostello 97e90b0639 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 bd0069498b Helper object that creates a buffer of XIF data 1998-07-14 22:29:21 +00:00
kipp 5bc86bdb50 Add factory methods for applets and objects 1998-07-14 18:54:20 +00:00
kipp 01960261fe new 1998-07-14 18:52:27 +00:00
vidur ef2bd5eb2a 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 f382b0305a Use FirstChild method so that more subclasses can use the method 1998-07-14 18:38:11 +00:00
kipp b2d3d14ec8 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 993e1fb8ac Incremental reflow changes 1998-07-14 15:29:50 +00:00
kipp 0062cb394e Handle null pointer bugs 1998-07-14 15:22:30 +00:00
kipp 15a83c2495 Made tables look more real by eliminating ebina auto margins 1998-07-14 15:22:11 +00:00
kipp 86d73fc89b Commented out an unused variable 1998-07-14 15:21:50 +00:00
kipp faa65f837b 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 7ed3ed9880 Removed MoveTo/SizeTo and added DidReflow 1998-07-14 15:20:43 +00:00
kipp f6a71595aa Stop using GetText for node tag names whenever possible 1998-07-14 01:57:51 +00:00
kipp e1f7b9e0aa 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 6c501dde1f Added have-bullet flag 1998-07-14 00:55:43 +00:00
kipp 96bd6d412c 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 8f35d36ee0 Fixed UL/OL to be blocks again (whoops) 1998-07-13 22:12:58 +00:00
kipp d58b5ed026 Fixed bug with dangling empty lines 1998-07-13 22:12:43 +00:00