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

2480 Коммитов

Автор SHA1 Сообщение Дата
rods%netscape.com 4a8c2454f5 Added Find/Search capability and supporting methods 1998-08-28 15:55:31 +00:00
troy%netscape.com 6cb09b5132 Changed nsIViewManager interface to conform to XPCOM conventions 1998-08-28 04:56:56 +00:00
peterl%netscape.com a6fe8afb6d added table cell style rule inheritance 1998-08-27 00:50:52 +00:00
peterl%netscape.com a71cd5de1d reversed rule ordering 1998-08-27 00:49:55 +00:00
peterl%netscape.com 2da00e6501 made col tag be handled as a leaf 1998-08-27 00:48:53 +00:00
peterl%netscape.com 143049029c added td & th 1998-08-27 00:48:06 +00:00
peterl%netscape.com 1361e6230c reversed sheet/rule ordering
added backstop rule count
1998-08-27 00:47:15 +00:00
peterl%netscape.com 0b78c480f4 commented on sheet/rule ordering 1998-08-27 00:46:34 +00:00
troy%netscape.com 23feb93c16 Work in progress for LAYER tag 1998-08-26 02:23:21 +00:00
joki%netscape.com 46137420c0 Modifying nsIContent's AppendChild -> AppendChildTo to stop conflict with
DOM interfaces.
1998-08-21 21:38:26 +00:00
jevering%netscape.com 315a575c78 Moved the ART image hack to the tip. 1998-08-20 22:10:06 +00:00
troy%netscape.com 695e20e125 Destructor now releases ref to image maps 1998-08-15 16:25:33 +00:00
troy%netscape.com 358b26c689 Added NS_RELEASE in ProcessTEXTAREATag(). This fixes a problem with
text area content objects being leaked
1998-08-14 05:21:43 +00:00
joki%netscape.com a185078042 Adding more window properties and slightly refCnt declaration. 1998-08-13 23:37:54 +00:00
valeski%netscape.com f93dea794e 310133 - Injected code into HTMLContentSink::ProcessMETATag() to check for an "http-equiv" header (specifically the Refresh header). If found, an nsIHTTPUrl interface is retrieved so the "http-equiv" header can be added to the url struct. 1998-08-13 20:09:10 +00:00
vidur%netscape.com 824d631d5e Implemented document.location. 1998-08-13 19:08:01 +00:00
joki%netscape.com c316d58438 Adding url and lineno to script evaluation 1998-08-12 23:37:50 +00:00
joki%netscape.com 3c6cb25a6b Fix script src equals problem when src contained in quotes. 1998-08-12 22:28:50 +00:00
kipp%netscape.com 7cfac8916c Use new forwarding macros 1998-08-12 18:00:04 +00:00
troy%netscape.com 9fcc472d50 Fixed leak of an HTML Meta content object 1998-08-12 05:27:21 +00:00
joki%netscape.com edb8b34146 Adding partial load event support, removing script context Run_GC method adding partial script error support 1998-08-12 04:56:40 +00:00
troy%netscape.com 08a675a1ca Fixed a leak of the HTML title 1998-08-12 01:36:25 +00:00
troy%netscape.com 46c56f731a Added NS_RELEASE in FlushText() of interface returned from QueryInterface() 1998-08-11 22:44:28 +00:00
karnaze%netscape.com 6695e6c177 removed nsIWebFrame 1998-08-11 18:52:35 +00:00
kipp%netscape.com bcf5a7235b Make sure text at the end of the document is reflowed properly 1998-08-11 00:19:11 +00:00
peterl%netscape.com bc1110caa7 connected LINKed style sheets 1998-08-10 23:02:39 +00:00
kipp%netscape.com bc2b4662fd Fixed documents w/o titles bug #313016 1998-08-10 17:39:48 +00:00
karnaze%netscape.com 6837a9ba6b adjusted sizing for text controls; default control is text; assertion cleanup 1998-08-10 04:28:17 +00:00
troy%netscape.com acaa6d2f0e Change to object lifetime management. Views are no longer ref counted 1998-08-08 04:23:33 +00:00
vidur%netscape.com b1f5f748ae Implemented additional document and form interfaces. Implemented named elements for documents and forms. nsInput now implements nsIDOMHTMLInputElement. 1998-08-07 23:08:00 +00:00
rods%netscape.com 41198541c5 Select All no turns on selection in the document and renders it selected. 1998-08-07 20:14:39 +00:00
joki%netscape.com 9cb79b1687 Adding window.open method, fixing editormode in release builds, various event fixes 1998-08-07 04:45:03 +00:00
peterl%netscape.com 7c644d95bd fixed processing of font face (preserve original quotes) 1998-08-07 02:17:56 +00:00
peterl%netscape.com 184554a885 save quote char on string tokens 1998-08-07 02:17:10 +00:00
peterl%netscape.com 711e9a2d5e fixed font face support 1998-08-07 02:16:38 +00:00
kipp%netscape.com ed342c9a6c Fixed embed/flush-text bug #312433 1998-08-07 01:49:12 +00:00
rods%netscape.com 34c7b49f32 Fixed a warning in SelectAll 1998-08-05 22:23:03 +00:00
michaelp%netscape.com 2de3fff6bf added tags for plugins. 1998-08-05 04:22:51 +00:00
kipp%netscape.com 0ab074cc00 Added an assertion and a little more debug noise when nspr logging is maxed out 1998-08-05 01:43:42 +00:00
kipp%netscape.com 7f87aceca7 Init refcnt for html anchor rules 1998-08-04 23:06:39 +00:00
kipp%netscape.com 8b5c4ba1ab Enable refresh after document is loaded 1998-08-04 21:16:13 +00:00
vidur%netscape.com 856891ed81 Added document.forms. Specialized interfaces for images and forms. Better handling of childNodes collection. 1998-08-04 00:05:22 +00:00
rods%netscape.com b2aa449610 Added ref counting on nsIContent and changed select all to only select the body
and it's content
1998-08-03 22:21:53 +00:00
kipp%netscape.com f13723d5d8 Fixed reference counting bugs with OPTION tag handling 1998-08-03 19:21:26 +00:00
joki%netscape.com 849a2287e6 Fix bug 311157, mouseover crashes release builds. 1998-08-02 04:15:08 +00:00
peterl%netscape.com 714146a525 rounding support 1998-07-31 23:34:45 +00:00
joki%netscape.com fa57426559 Filling out document event handlers, adding form events 1998-07-31 22:09:51 +00:00
joki%netscape.com fe390a0803 Adding support for event handlers in html tags and moving event handler IIDs to central file. 1998-07-31 18:21:37 +00:00
spider%netscape.com 257a2dec72 XPCOM'ing the parser. Use repository to get a parser now. 1998-07-30 22:42:27 +00:00
kipp%netscape.com 16d7855b70 Moved root creation into WillBuildModel; added code to enable refresh of the display on the first StartLayout call 1998-07-30 16:06:22 +00:00
kipp%netscape.com 7ff5d0e7ce Remove most compiler warnings on IRIX 1998-07-29 20:19:08 +00:00
pierre%netscape.com 7da9dd2cd7 updated to Windows make file 1998-07-28 04:07:50 +00:00
kostello%netscape.com f6774809de Added support for the copy command (converting the selection to XIF)
Changed XIF interface
1998-07-27 18:11:14 +00:00
kostello%netscape.com 62bfa2bc37 Added support for toggling selection on/off in a document.
Added more support methods for selection, made parameters const
where possible.
Changed XIF interfaces
1998-07-27 18:05:35 +00:00
kipp%netscape.com b2cb7b5ecd Disable releasing atoms for now 1998-07-27 18:04:58 +00:00
kipp%netscape.com 766f73551f Added some more logging; discard dangling frame's 1998-07-27 18:04:38 +00:00
kostello%netscape.com 72d5a37b2b Changed XIF interface 1998-07-27 18:04:04 +00:00
kostello%netscape.com d6527ec8ad Added method for toggling selection on/off in a document.
Added more support methods for selection, made parameters const
where possible.
1998-07-27 18:03:16 +00:00
kipp%netscape.com 657c9d59c5 Added NS_NewImageDocument 1998-07-27 17:51:42 +00:00
kipp%netscape.com 64244e3017 new 1998-07-27 17:50:58 +00:00
dcone%netscape.com 3079fb0445 Added nsEventListenerManager.h 1998-07-27 16:29:58 +00:00
dcone%netscape.com 7cf65076d0 added nsIStateManager.h, nsIEventListenerManager.h, nsIPrivateDOMEvent.h 1998-07-27 16:29:24 +00:00
dcone%netscape.com e3ef192bdb Added manifiest file so the nsIEventListenerManager could be public 1998-07-27 15:30:14 +00:00
dcone%netscape.com b660c245b3 Added this file so nsEventListenerManager.h is public 1998-07-27 14:41:36 +00:00
karnaze%netscape.com 9c030a8f5c more robust frameset layout; <frame>, <iframe> borders; reenabled scrolling attr for <iframe> 1998-07-27 05:59:37 +00:00
joki%netscape.com 98a6e7f5d1 Fix for missing add/release ref pair in the GetScriptGlobalObject call 1998-07-25 01:53:15 +00:00
peterl%netscape.com 8cae022e89 added accessor for html style sheet 1998-07-25 01:26:12 +00:00
peterl%netscape.com ab09d83870 added font scaling support 1998-07-25 01:22:10 +00:00
peterl%netscape.com 62cb905c58 made anchor pseudo classes not resolve unless anchor has an href 1998-07-25 01:21:47 +00:00
peterl%netscape.com 7ecf7edd80 added body link color support 1998-07-25 01:20:48 +00:00
vidur%netscape.com 92e85525b5 Added document.cookie. HTMLCollection.namedItem looks for both NAME and ID attributes 1998-07-25 00:31:52 +00:00
michaelp%netscape.com 837d1a9ae0 added APIs to viewmanager to enable and disable all rendering.
made Refresh() APIs of viewmanager implementation private.
1998-07-24 21:05:50 +00:00
kipp%netscape.com ff4f467280 Added base tag support 1998-07-24 18:20:27 +00:00
kipp%netscape.com 5a60518848 New atoms for base tag handling 1998-07-24 18:16:24 +00:00
kipp%netscape.com de4d61cd11 Check style unit before translating relative position coords 1998-07-24 16:22:54 +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
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
michaelp%netscape.com 96cf645164 modified for new streaming APIs. 1998-07-23 20:35:43 +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 b14b73ba93 added font flags 1998-07-23 17:57:16 +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
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
kipp%netscape.com 1b3ddfbbc4 Avoid excessive content-changed reflows during text appending 1998-07-22 17:40:05 +00:00
karnaze%netscape.com fe8dc78f66 set attributes on <frame>, <frameset> layout 1998-07-21 23:20:04 +00:00
kipp%netscape.com 2f790c0a9a Get correct url to open for script src= 1998-07-21 16:43:48 +00:00
karnaze%netscape.com 381a7c28a9 initial support for <frameset> <frame> in content sink 1998-07-20 18:52:40 +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
rods%netscape.com 85654e2b32 changed GetNextContent to pas back next leaf node content 1998-07-18 18:18:53 +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
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 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
joki%netscape.com db560e8cac Adding new DOM stuff to handle JS event handlers 1998-07-17 04:52:12 +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
kipp%netscape.com 39fd8b6e99 Deal with lingering leaf content properly during append reflow 1998-07-16 18:19:53 +00:00
karnaze%netscape.com 3617f6230c initial framesets, nsHTMLIFrame.cpp absorbed by nsHTMLFrame.cpp 1998-07-15 23:42:14 +00:00
kipp%netscape.com 8f8e2e233f Updated to XPCOM'ized sink api 1998-07-15 22:31:10 +00:00
kipp 8c6299af3d Handle unconstrained width during percentage width computations 1998-07-15 17:07:20 +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 e77c6fa9b2 Treat embed properly as a leaf; fixed typo with object tag 1998-07-15 00:49:26 +00:00
kipp d94273ffcf Added nsObjectContent 1998-07-15 00:48:15 +00:00
kipp 2edd02bae5 Handle applet, object and embed tags 1998-07-15 00:22:15 +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
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
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 7ab5d3ff06 Stop using GetText for node tag names whenever possible 1998-07-14 01:57:51 +00:00
kipp d48f1f528d Added code to move content in bad spots in tables out 1998-07-12 00:18:26 +00:00
rpotts 9069d8ec06 Fixed up CVS merge problem that was horking reference counts... 1998-07-11 08:07:17 +00:00
kipp a2bec51709 Improved tracing somewhat; fixed map handling; removed some dead code 1998-07-11 03:51:50 +00:00
rickg 8b9c5f20cc dynamic DTD support 1998-07-10 05:35:23 +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 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
jevering 7545f2a29d Fixing optimized build. 1998-07-07 22:20:00 +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 f68e83223f Use NS_CreateHTMLElement to implement dom create-element method 1998-07-03 17:50:25 +00:00
rickg ff4f9c2c9c major improvements to parser API's; fixed a few bugs 1998-07-02 08:14:22 +00:00
rpotts 2d418707f3 Reworked Post data to avoid memory leaks... Removed nsIDocument::LoadURL(...). Added nsIDocument::StartDocumentLoad(...) as a callback method for the DocumentLoader... 1998-07-01 11:16:09 +00:00
kipp 3ad9573382 Revised logging code to work with nspr properly; updated to support incremental content appended reflow 1998-06-30 23:51:53 +00:00
kipp 3f7d5435a3 Avoid crashing when no link handler is involved 1998-06-30 20:22:27 +00:00
kipp 4cbc340e2c Take text content and join it together so reduce the size of the content model 1998-06-27 22:57:52 +00:00
atotic 7535197e5b Fixed the Mac build 1998-06-26 23:55:11 +00:00
kipp 5c09f13bd0 Make a title object that's a child of the head when we get a title 1998-06-26 16:12:51 +00:00
kipp b2066141e4 new files 1998-06-26 16:11:26 +00:00
kipp 4e73a0df94 Added content directory and moved some code 1998-06-26 15:08:55 +00:00
kipp b00f7215a5 Eliminated IRIX compiler warnings (and a bug) 1998-06-26 15:07:09 +00:00
peterl 5e48108666 added ! important support 1998-06-26 05:51:55 +00:00
peterl d1e43f5eac fixed equal weight rule ordering 1998-06-26 05:50:10 +00:00
peterl b3f9eec797 fixed context dumping 1998-06-26 05:49:01 +00:00
vidur 3f8df8346d Hooked up SCRIPT tag evaluation. Added the nsIScriptContextOwner interface. 1998-06-25 22:26:52 +00:00
kipp 1a446c2e3f New and improved (?) line layout 1998-06-25 16:33:10 +00:00
kipp 73ee06bfb8 Init refcnt so that it behaves properly 1998-06-25 14:51:48 +00:00
michaelp ec4811f612 added init() method to prescontext.
creator of prescontext is responsible for initializing pres context.
devicecontext is now init()ed with a nsNativeWidget.
removed hacky X Display stuff from device context and font metrics.
removed hacky code from windows font metrics.
changed nsNativeWindow to be nsNativeWidget.
added more code for compositor back-to-front pass.
improved text performance on X.
changed nsHTMLTagContent.cpp so that it will build with MSVC 4.1.
1998-06-25 04:24:45 +00:00
karnaze 3074df2576 named <iframe>s, scrolling attribute, more complete test9.html 1998-06-23 22:25:28 +00:00
joki e820a618d7 Event handling additions for DOM suport. Adding additional event pathway through HandleDOMEvent 1998-06-23 21:53:02 +00:00
vidur b5f413930d Added autogeneration of XPCOM headers and JavaScript stub classes. Added better masking of JS-specific structures in generic interfaces. Creation of a scripting global object interface. 1998-06-23 18:43:06 +00:00
rickg 4b202376f1 added support for doc quality 1998-06-23 01:34:25 +00:00
rickg 68c01dae1a added a new secret argument to Parse() 1998-06-23 00:52:21 +00:00
troy a89d59bb51 Changed AddObserver() to check if the observer is already in the list.
This worksaround a problem with the pres shell being added twice
1998-06-20 00:45:05 +00:00
rickg 60ebe042b1 more bug fixes; changed nsHTMLParser to nsParser. 1998-06-19 01:00:27 +00:00
rickg 9150405dab huge refactoring effort; transient style support; tables fixes, and more 1998-06-17 23:13:28 +00:00
buster 288d645ae3 Separated table content from table layout. This paves the way for XML/CSS-2 tables.
Lots and lots of optimizations.
1998-06-17 16:38:24 +00:00
atotic 12a0dd0ae6 First Checked In. 1998-06-16 22:55:47 +00:00
karnaze b9a228a2b2 more <iframe> support 1998-06-16 21:32:54 +00:00
kipp 7af507cf8e Revised keyword tables 1998-06-15 20:40:27 +00:00
troy 8dbcb4c135 Changed some GetStyleContext/GetStyleData calls to use nsIFrame::GetStyleData
instead. This saves the AddRef/Release overhead
1998-06-14 05:23:59 +00:00
buster f1483bd22e more separation between table content and frames 1998-06-11 17:50:51 +00:00
karnaze 0ccd357a8f initial support for <iframe> 1998-06-11 16:46:33 +00:00
buster 469b205bb3 most HTML 4 attributes supported (though some are still ignored)
lots of methods made inline
1998-06-08 19:57:04 +00:00
buster 0197ad9b72 more attributes: cell nowrap, caption align, some misc HTML 4 attributes too 1998-06-08 15:47:03 +00:00
joki 7b0ded07ec Removing no longer used file from Makefiles 1998-06-08 02:03:31 +00:00
joki 10ffd04c8c Adding new event handling mechanism into raptor. 1998-06-08 00:57:15 +00:00
joki 696b13b907 Adding parts of dom event flow to layout. 1998-06-07 07:55:55 +00:00
joki 410e199107 Adding parts of dom event flow into layout. 1998-06-07 07:54:32 +00:00
kipp 92cfe5b226 Made option code more robust 1998-06-06 20:25:11 +00:00
kipp a69369de69 Revised SizeOf methods to add in nsString's, nsIAtom's and nsVoidArray's properly 1998-06-05 21:50:57 +00:00
kipp 591b2ccd11 Sprinkled SizeOf methods around 1998-06-05 21:06:24 +00:00
peterl 91c5893512 sync up to new style data apis 1998-06-05 06:09:09 +00:00
peterl 119198c615 now track rules by insertion order as well as weighted order
added accessor to rules for save code
1998-06-05 06:06:50 +00:00
peterl cddb45ae76 changed GetData to GetStyleData and made its return const
added GetMutableStyleData and support for unique contexts
1998-06-05 06:01:55 +00:00
peterl 9c18b6fa69 added flag to get unique style context during resolve 1998-06-05 06:00:55 +00:00
kipp 80db5ff5ad Create head part and insert it into the model 1998-06-04 21:33:44 +00:00
kipp b7847a124d Use revised GetDocument API from content 1998-06-03 16:00:40 +00:00
kipp 07e45af91f Print out percentage values properly 1998-06-03 16:00:15 +00:00
kipp 5123a3c60b Fixed IID reference and added a reminder comment 1998-06-03 15:59:09 +00:00
kipp 1a461d9ed1 Use revised Presentation shell API; control notifications directly; propogate end of document load to document so that observers can be notified 1998-06-03 15:58:52 +00:00
kipp 1493956e90 IMplement factory in this class; AddRef during QueryInterface like it should; init refcnt in ctor 1998-06-03 15:47:22 +00:00
kipp 5aac2c535d Decleare BeginLoad/EndLoad 1998-06-03 15:45:36 +00:00
kipp 81d74eee6a Pass on Begin/End Load to observers; removed selection factory method 1998-06-03 15:45:25 +00:00
kipp c9660cdcf8 COMized API; added Begin/End reflow and Begin/End Load methods 1998-06-03 15:40:56 +00:00
kipp 627dc37066 Added begin/end load methods 1998-06-03 15:39:45 +00:00
kipp 521349db05 COMized some of the API; added a notify flag to the child insert/replace/append/remove methods 1998-06-03 15:39:32 +00:00
kipp a244a4fe53 Updated LoadURL API to take an nsIStreamListener 1998-06-01 19:53:27 +00:00
kipp b328c87dfc Updated LoadURL API to take an nsIStreamListener; pass on listener to parser 1998-06-01 19:53:19 +00:00
kipp db0df5f7c3 Revised LoadURL to take an nsIStreamListener; removed old document load hooks 1998-06-01 19:52:39 +00:00
troy 35e6293e4b Added a comment to GetStyleDimension indicating that computed percentage
values are being handled incorrectly
1998-05-31 04:45:21 +00:00
kipp 669da95542 Revised API so that correct percentage width/height could be computed 1998-05-30 21:22:17 +00:00
kipp 3a6dc218b6 NS_IMETHOD'd some of the API's 1998-05-30 01:36:47 +00:00
kipp d25f654f17 updated 1998-05-30 01:32:10 +00:00
kipp cb30a1fea6 Added a new content method to see if a piece of content is synthetic or not 1998-05-29 02:09:38 +00:00
buster aad54b07f6 set the groundwork for handling COLS attribute, and attributes on COLGROUP and COL tags. WIP.
set the groundwork for handling percentage-width tables.  Troy is adding a hook for me to get the correct width info from the parent.  WIP.
1998-05-28 21:39:22 +00:00
kipp 3b43bc8d84 Use mOpacity as a float in the nsStyleColor struct 1998-05-28 19:55:42 +00:00
kipp b4112aff11 Set value to 1.0F as a float 1998-05-28 19:55:15 +00:00
kipp 203aea26bd Port to new parser API 1998-05-28 18:40:23 +00:00
kipp b20743e28a Revised API to be com-ish and added ParseDeclarations; implement ParseDeclartions using basic declaration handling routines 1998-05-28 18:39:42 +00:00
kipp d9e2ce27b1 Revised API to be com-ish and added ParseDeclarations 1998-05-28 18:39:08 +00:00
kipp 74805620cf Fixed infinite loop in GetStyleSize code 1998-05-28 17:06:43 +00:00
kipp 72d77edcbb Added style support for the new css opacity property 1998-05-28 02:02:43 +00:00
kipp f8872f1a9f Revised HorizontallyPlaceChildren API to support a default alignment based on the layout direction 1998-05-28 02:02:22 +00:00
kipp 024ff28d3a Use default text alignment; setup opacity properly 1998-05-28 02:01:19 +00:00
kipp 6de497e240 Added a new property 1998-05-28 01:11:30 +00:00
kipp 9be967661a Parse (and ignore) important declarations 1998-05-27 23:38:16 +00:00
kipp a4ac37270f Only perform horizontal alignment when there is room to do it 1998-05-27 21:04:33 +00:00
karnaze f1382417c0 post submission, file content submission 1998-05-27 17:51:41 +00:00
peterl 3fd983bcd3 moved attributes around 1998-05-26 23:16:55 +00:00
peterl 3ce1b73e85 use context graph for finding contexts 1998-05-26 23:14:56 +00:00
peterl 8dea0e7806 reworked up reset code
added child list
1998-05-26 23:14:09 +00:00
kipp 3505e0b3cc Use new GetVisibleArea API 1998-05-22 18:38:33 +00:00
jevering 8be66e8b53 Fixed about: URL's from crashing the viewer. 1998-05-22 18:10:08 +00:00
rickg c13fe13cdd moved to new incremental API 1998-05-21 20:37:41 +00:00
peterl 7168f94691 Changed GetStyleData to use an enum instead of an nsID 1998-05-21 02:34:13 +00:00
peterl 745e32a18d made it build on irix 1998-05-20 21:28:36 +00:00
peterl c33cdeff7c added rule hash table to speed up style resolution 1998-05-20 20:34:17 +00:00
peterl cf8839a911 collapse double empty contexts 1998-05-20 20:33:30 +00:00
peterl fa54b78ed1 added rule count accessor 1998-05-20 20:32:57 +00:00
karnaze 57a66855f7 temp hack to test post submission 1998-05-20 00:10:42 +00:00
thom aa407491f5 fixed compile errors for mac 1998-05-19 23:11:28 +00:00
peterl 194cc28a2d added pseudo-class rule matching 1998-05-19 00:09:29 +00:00
peterl f589d457b0 added pseudo-class atoms 1998-05-19 00:08:16 +00:00
thom a2729a12bc Mac checkin 1998-05-18 22:47:24 +00:00
peterl 47db0f2192 added pseudo frame support 1998-05-18 21:11:08 +00:00
peterl 0528c87a0a cleaned up list output 1998-05-18 21:10:44 +00:00
peterl e8e82334f0 pseudo frame support 1998-05-18 21:10:19 +00:00
peterl 0018dab23e correct case of selectors
skip empty selectors
better pseudo-class support
1998-05-18 21:09:43 +00:00
peterl 93ce222761 added pseudo element support 1998-05-18 21:07:54 +00:00
peterl 5119956475 fixed memory leak
fixed uninitialized memory read
1998-05-18 21:07:24 +00:00
peterl c440da74c3 added pseudo style support 1998-05-18 21:06:33 +00:00
peterl ee773f3472 added pseudo style support
added debug list of context graph
1998-05-18 21:05:52 +00:00
peterl 592d55c519 added debugging code 1998-05-18 21:04:26 +00:00
peterl 3a943ba17e added pseudo frame style support 1998-05-18 21:03:10 +00:00
karnaze 8939828111 initial support for <input type=file>, combo box use of widget init data for sizing 1998-05-18 16:39:42 +00:00
kipp f8feba0fad Removed some useless code 1998-05-14 00:49:11 +00:00
peterl 7d16a4af74 added HTML CSS style sheet (for STYLE= attributes) 1998-05-13 23:43:44 +00:00
peterl 02a464b6c3 added style atom 1998-05-13 23:42:40 +00:00
peterl c7341728eb added HTML CSS style sheet 1998-05-13 23:42:18 +00:00
peterl 7474aa1932 renamed getSupportsValue to getISupportsValue 1998-05-13 23:42:01 +00:00
peterl 89e961b03f fixed bug in parse declaration block, we now discard empty declarations
tweaked position
1998-05-13 22:40:54 +00:00
peterl 8f8eedabf5 fixed position 1998-05-13 22:40:17 +00:00
peterl a28652c5d3 connected spacing calculations to frame 1998-05-13 22:38:54 +00:00
karnaze 68b9679002 more select/option support 1998-05-13 17:43:35 +00:00
kipp 186c393da1 Removed unused variable 1998-05-13 00:12:54 +00:00
kipp f926f04a0b Eliminate anonymous struct (and useless bitfields) to fix irix compilation problem 1998-05-13 00:10:35 +00:00
kipp 6433e66bdc Fixed vertical alignment bug: lines that contained bottom aligned objects would add in too much height 1998-05-12 23:53:37 +00:00
peterl b1e4b9dddd added proper support for border padding & margin
better support for clip
1998-05-12 22:57:52 +00:00
peterl 8993ed1907 added clip inherit support
added line-height number support
1998-05-12 22:56:18 +00:00
peterl 0822939f9d merged nsStyleBorder & nsStyleSpacing
changed spacing data to use nsStyleSides
removed virtual methods
added nsStyleTable
1998-05-12 22:23:13 +00:00
peterl c66846cbf8 added factor unit type
added nsStyleSides
1998-05-12 22:18:42 +00:00
kipp e7b30a6c52 Make url's absolute per the css spec 1998-05-11 23:28:47 +00:00
kipp df41bc56dd Skip over whitespace properly after url string (it's optional whitespace not mandatory whitespace) 1998-05-11 23:28:22 +00:00
kipp c0a8fa1cf2 Removed uneeded code; added a reminder comment 1998-05-09 03:23:41 +00:00
karnaze 889f0f8dfc select/option 1998-05-08 23:08:43 +00:00
kipp 2358c691b7 Fixed irix bustage 1998-05-08 21:12:12 +00:00
karnaze 34036a5a0f more support for textarea, select/option in content sink 1998-05-08 20:18:06 +00:00
rods e80f937688 added Selection methods to nsICodment, nsDocument, nsiSplittableFRame 1998-05-08 15:07:41 +00:00
kipp d0f22851eb Added GetStyleSize 1998-05-07 21:36:16 +00:00
rickg 7c9580a233 new contentsink api's for kipp 1998-05-07 21:11:07 +00:00
kipp 519a6403a4 Ported to new CreateFrame/CreateContinuingFrame APIs 1998-05-07 00:08:20 +00:00
troy 02e5832c88 Started adding ContentChanged() notifications 1998-05-06 16:28:55 +00:00
troy d477d86672 Frames no longet store the content index-in-parent 1998-05-05 23:56:50 +00:00
troy 9fe7339f4c Fixed my build bustage 1998-05-04 22:50:13 +00:00
troy 4789d6cab9 Implemented DOM document's createTextNode() function, and changed insertBefore()
handler to allow refChild to be null
1998-05-04 20:34:37 +00:00
troy 7d8404bbe3 Work in progress for incremental reflow (insert) 1998-05-04 17:54:45 +00:00
kipp ee76c81742 Fixed default background repeat bug 1998-05-02 00:55:29 +00:00
peterl 257cc56544 update to new value class api 1998-04-30 19:57:36 +00:00
peterl 1379c574d2 added new unit types, cleaned up api 1998-04-30 19:56:39 +00:00
peterl adf806b888 removed include 1998-04-30 19:53:05 +00:00
peterl bd7c900947 changed to nsStylePosition to use nsStyleCoord 1998-04-30 19:52:26 +00:00
peterl 3d7101b7ce updated api, added new units 1998-04-30 19:50:36 +00:00
rods 4ff8130ec4 added selection classes to makefiles and added the selection object and methods to nsDocument and nsIDocument 1998-04-30 18:21:59 +00:00
peterl 6df9c2fbe6 removed unneeded destructors
cleaned up some initial values
1998-04-29 21:06:15 +00:00
peterl 078fdb51a3 added normal value 1998-04-29 21:05:28 +00:00
rods 90bc62a72a initial check in 1998-04-29 17:08:57 +00:00
peterl fc1f06f9c2 changed nsStyleText to use nsStyleCoord 1998-04-28 23:57:01 +00:00
peterl e69f24d204 removed inheritance from style mapping
changed nsStyleText to use nsStyleCoord
1998-04-28 23:56:28 +00:00
peterl 7f0ab2c651 added nsStyleCoord 1998-04-28 23:54:06 +00:00
karnaze 0df7874f85 fix submit crash in nsWindow; more form control functionality 1998-04-28 18:59:38 +00:00
kipp 71728fe999 Allow for optional commas between clip rect elements 1998-04-28 15:24:44 +00:00
troy beceaa1b53 Added mClip and mClipFlags to nsStylePosition 1998-04-28 03:21:18 +00:00
kipp bf0e442b27 Implement all of the text styles; update to use PERCENT in naming of style constants 1998-04-27 21:26:06 +00:00
kipp 732531f4c7 Use PERCENT instead of PCT in style constants; implement vertial alignment for length values and percent values 1998-04-27 21:24:33 +00:00
kipp 380556b3c7 Normalize structure member names 1998-04-27 21:24:06 +00:00
kipp 4d8d4f9951 Init nsStyleText values using new nsStyleValue 1998-04-27 21:21:42 +00:00
kipp 0e59c2de8c Removed hack 1998-04-27 15:39:58 +00:00
kipp 3c277d5f82 Get cursor properly 1998-04-26 03:47:53 +00:00
kipp ccb9067008 Added in cursor and direction properties 1998-04-26 03:47:37 +00:00
kipp 941c955ed8 Fix porting bugs - made it compile on IRIX 1998-04-26 02:59:29 +00:00
rickg 808f265fa1 update 1998-04-25 19:46:11 +00:00
kipp 3af5e0736e new keywords 1998-04-25 19:11:20 +00:00
kipp 93fdfbe671 Port to removal of nsStyleMolecule 1998-04-25 18:48:48 +00:00
kipp 4d3e04fbea Added in nsCSSDisplay; cleaned up text align; moved float, clear and display out of position and into display 1998-04-25 18:45:22 +00:00
kipp e5b3174e4c Implement borders, padding, text-align properties, display, etc. Fixed bug in list inheritance 1998-04-25 18:44:55 +00:00
kipp cd1e827899 Updated to use new style constants 1998-04-25 18:44:17 +00:00
kipp a9a585a83b Added support for more properties 1998-04-25 18:43:42 +00:00
kipp 881a887f23 new atoms 1998-04-25 18:39:16 +00:00
kipp f94192041a Implement nsStyleText, nsStyleDisplay; added cursors; removed hack code 1998-04-25 18:33:32 +00:00
kipp 7c51e017b9 Cleaned up the API 1998-04-25 18:32:59 +00:00
troy e6ae1b0bcb Added mOverflow to nsStylePosition 1998-04-25 04:07:18 +00:00
karnaze 8ebdcf5a79 enabled text area 1998-04-24 22:27:07 +00:00
karnaze 3943ad1a15 added radio groups, select/option, beter sizing. widgets take creation parms. 1998-04-24 21:37:30 +00:00
kipp b0be7ae060 latest props 1998-04-24 19:55:53 +00:00
troy 800accf63a Added mZIndex to nsStylePosition. Absolutely positioned code now passed
it along to view system
1998-04-24 18:34:31 +00:00
troy 2adf9e6718 Added more position properties and removed some stuff from nsStyleMolecule 1998-04-24 03:50:38 +00:00
troy 3ccc988201 Fixed PROP_HEIGHT to use VARIANT_KLP (was using VARIANT_KL) 1998-04-24 02:43:42 +00:00
buster 742a6deb6f added style for HTML 4 table elements and TH 1998-04-23 17:19:21 +00:00
troy 2c0ca536fc More CSS position work 1998-04-23 15:39:48 +00:00
troy 55632fc7af Added nsStylePosition 1998-04-22 23:29:01 +00:00
troy 42943b6cf9 Setting up style for CSS positioning 1998-04-22 23:28:02 +00:00
kipp 7c7a203367 Added in support for select/option 1998-04-22 23:24:43 +00:00
kipp 6ebed4fba7 support textarea tag; some support for custom form managers 1998-04-22 22:12:24 +00:00
troy 9b866ce254 Fixed some bustage 1998-04-22 18:15:48 +00:00
troy fdf2b8c3d4 HackStyleFor no longer sets positionFlags 1998-04-22 16:07:27 +00:00
troy 0d6273942a Added support for CSS 'position' property 1998-04-22 15:46:53 +00:00
troy 76caee5967 Fixed a problem in SelectorMatches() that was causing id-based selectors
to always match
1998-04-22 15:43:46 +00:00
peterl 2de9fe5685 Switch to nsIPtrs to eliminate leaks (and to test them)
added debug code for ref counts
1998-04-22 06:41:10 +00:00
peterl eac03aa3af WIP moving margin, border & padding out of nsStyleMolecule
added debug code to track ref counts
1998-04-22 06:40:21 +00:00
peterl 6e70ca342d Switch to nsIPtr for style context ptrs to eliminate leaks 1998-04-22 06:39:00 +00:00
peterl 41fcec6088 added ref counting debug code 1998-04-22 06:38:31 +00:00
peterl 83bb132b05 WIP moving border, margin & padding out of nsStyleMolecule 1998-04-22 06:33:35 +00:00
buster e94974f380 THEAD and TFOOT tags enabled 1998-04-21 16:36:46 +00:00
peterl 365c3a7d93 added spacing and border structs 1998-04-21 00:02:44 +00:00
buster 073e82f152 table performance and minor bug fixes. 1998-04-20 22:49:15 +00:00
troy fddbbebe51 Commented out the hack that explicitly set the P top margin since that's
now handled using CSS
1998-04-19 05:06:41 +00:00
troy 6ca816beb6 Added code to handle CSS margin properties 1998-04-18 22:16:37 +00:00
troy 3ce8e88882 Changed nsIFrame member functions to return a nsresult 1998-04-17 01:41:24 +00:00
peterl 066232b1c2 added a style hack to get P align attributes to work again 1998-04-16 22:21:45 +00:00
peterl 74502df8bb fix leaks 1998-04-16 21:51:16 +00:00
peterl 8c95a33726 fix memory leaks 1998-04-16 21:49:49 +00:00
rickg 862b939ed1 added 'marker-style' entities and fixed a few bugs 1998-04-16 08:18:15 +00:00
dario 21730dc654 doc 1998-04-15 18:55:21 +00:00
kipp 098bef52b4 moved to pub 1998-04-13 20:24:54 +00:00