Commit Graph

311 Commits

Author SHA1 Message Date
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
kipp%netscape.com
f13723d5d8 Fixed reference counting bugs with OPTION tag handling 1998-08-03 19:21:26 +00:00
kipp%netscape.com
1bc8c6c12a Disable VerifyTree for now 1998-08-03 18:12:13 +00:00
kipp%netscape.com
451a1c64b2 Stub out VerifyTree to avoid crashes; remove List methods and add in ListTag methods so that listings look better 1998-08-03 17:09:37 +00:00
peterl%netscape.com
714146a525 rounding support 1998-07-31 23:34:45 +00:00
karnaze%netscape.com
7cebdad701 temporary fix of bug causing www.stocksite.com to crash 1998-07-31 17:47:50 +00:00
peterl%netscape.com
bc1d1dbcbb connected prefs to the webshell 1998-07-31 05:58:41 +00:00
peterl%netscape.com
d3024f8eb7 cleaned up 1998-07-31 05:58:13 +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
karnaze%netscape.com
8e54395b27 turn off frameborders ala nav4; mouse sensitive to frame borders, but can't yet resize 1998-07-30 21:25:35 +00:00
troy%netscape.com
9964053935 Re-ordered some code to ensure we don't miss a Release() call 1998-07-30 17:39:41 +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
kipp%netscape.com
8469091965 Bottom align BR's to make the compatible with nav 1998-07-28 23:33:31 +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
kipp%netscape.com
ed8adc5505 Added some trace messages 1998-07-27 18:05:11 +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
kipp%netscape.com
b8f37859fb Added nsImageDocument 1998-07-27 18:01:06 +00:00
kipp%netscape.com
64244e3017 new 1998-07-27 17:50:58 +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
peterl%netscape.com
8cae022e89 added accessor for html style sheet 1998-07-25 01:26:12 +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
rpotts%netscape.com
17acb2afff Added IStreamListener::OnStatus(...)... 1998-07-24 10:02:50 +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
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
rpotts%netscape.com
bf1b3f1e8e Get rid of those tabs... 1998-07-23 04:26:07 +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
rpotts%netscape.com
01b9ef5140 IWebShell now supports a single observer... 1998-07-22 11:19:54 +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
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
39f5530391 Port to new nsIWebShell and related API's 1998-07-18 21:47:56 +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
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
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
buster%netscape.com
1e57359168 ua.css changed to match Nav default for cell padding 1998-07-16 23:24:53 +00:00
karnaze%netscape.com
a7e143ec46 removed hack for input, textarea 1998-07-16 19:48:37 +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
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
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
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
2edd02bae5 Handle applet, object and embed tags 1998-07-15 00:22:15 +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
59156541d0 Made tables look more real by eliminating ebina auto margins 1998-07-14 15:22:11 +00:00
kipp
7ab5d3ff06 Stop using GetText for node tag names whenever possible 1998-07-14 01:57:51 +00:00
kipp
6272e27350 Fixed UL/OL to be blocks again (whoops) 1998-07-13 22:12:58 +00:00
kipp
68ab2aa86e Cleaned up style sheet 1998-07-13 19:49:53 +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
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
kipp
50698a0e13 Made it more ebina ish 1998-07-10 20:28:04 +00:00
rickg
8b9c5f20cc dynamic DTD support 1998-07-10 05:35:23 +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
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
d38fc85f48 Removed obsolete tags header file generation rules 1998-07-06 22:15:22 +00:00
kipp
37213af260 Don't build shared libraries 1998-07-03 23:12:11 +00:00
kipp
72388e4355 Added some style for html4 tags and some nav tags 1998-07-03 18:41:44 +00:00
kipp
2e00b89d0f Build nsHTMLParts too 1998-07-03 17:50:53 +00:00
kipp
f68e83223f Use NS_CreateHTMLElement to implement dom create-element method 1998-07-03 17:50:25 +00:00
kipp
e06dbd0167 new 1998-07-03 17:50:00 +00:00
rickg
ff4f9c2c9c major improvements to parser API's; fixed a few bugs 1998-07-02 08:14:22 +00:00
kipp
5f3883e687 Fixed up iframe layout (again) 1998-07-01 22:21:13 +00:00
karnaze
5c32434ce8 more nav4 compatibility, radio group bug fixes 1998-07-01 20:11:57 +00:00
rpotts
c839df2239 Now uses nsIViewerContainer interface and the Document Loader... 1998-07-01 11:17:41 +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
6259c3326f Keep view around so that it moves properly 1998-07-01 00:54:54 +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
9d7cab2d27 Made sub/sup look more like navigator 1998-06-29 16:10:41 +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
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
4e73a0df94 Added content directory and moved some code 1998-06-26 15:08:55 +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
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
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
rickg
60ebe042b1 more bug fixes; changed nsHTMLParser to nsParser. 1998-06-19 01:00:27 +00:00
rods
05c08ed4cb changed AToms to Atoms in include 1998-06-18 13:58:19 +00:00
karnaze
126dc3a360 added tst9, improvements to <iframe> 1998-06-18 00:47:18 +00:00
rickg
9150405dab huge refactoring effort; transient style support; tables fixes, and more 1998-06-17 23:13:28 +00:00
buster
3d98654938 minor updates and fixes 1998-06-17 19:51:51 +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
karnaze
ac7b31acf6 fixed makefile to recognize html/document/public 1998-06-16 22:57:51 +00:00
atotic
12a0dd0ae6 First Checked In. 1998-06-16 22:55:47 +00:00
karnaze
2d970249d6 added 1998-06-16 21:55:52 +00:00
karnaze
b9a228a2b2 more <iframe> support 1998-06-16 21:32:54 +00:00
kmcclusk
1b812ba2a7 Added makefile directive to copy ua.css to $(DIST)/bin/res 1998-06-15 23:07:41 +00:00
karnaze
0035015744 initial loading of <iframe> documents 1998-06-11 23:29:15 +00:00
karnaze
0ccd357a8f initial support for <iframe> 1998-06-11 16:46:33 +00:00
kipp
0d61200514 Added rules to make TD's, TH's behave more like navigator 1998-06-09 17:31:34 +00:00
kipp
92cfe5b226 Made option code more robust 1998-06-06 20:25:11 +00:00
kipp
63b4b0d1d0 Use serif instead of times roman directly 1998-06-05 17:53:46 +00:00
buster
07076ff7cf cell width calculations are working (not for colspan cells yet)
some bug fixes and optimizations
some of the more elaborate test cases are closer to Nav4-compatible
1998-06-05 02:36:25 +00:00
kipp
80db5ff5ad Create head part and insert it into the model 1998-06-04 21:33:44 +00:00
kipp
8eb86c6579 Eliminate css margins around block elements (so that ebina margins are used instead) 1998-06-04 17:52:22 +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
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
3a6dc218b6 NS_IMETHOD'd some of the API's 1998-05-30 01:36:47 +00:00
kipp
e6a44c24b8 Use outside bullets again 1998-05-29 02:16:29 +00:00
kipp
203aea26bd Port to new parser API 1998-05-28 18:40:23 +00:00
kipp
f285347b6d Eliminated bogus style from HR rule 1998-05-28 17:06:15 +00:00
karnaze
f1382417c0 post submission, file content submission 1998-05-27 17:51:41 +00:00
kipp
eb7c893d4f Fixed windows cvpack problem 1998-05-22 18:41:08 +00:00
kipp
ca9dfd762d Move padding out of UL/OL and into LI's that are in UL/OL's 1998-05-22 18:39:11 +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
kipp
90e9083b3a Added rule for MULTICOL 1998-05-20 16:28:19 +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
7d16a4af74 added HTML CSS style sheet (for STYLE= attributes) 1998-05-13 23:43:44 +00:00
karnaze
68b9679002 more select/option support 1998-05-13 17:43:35 +00:00
kipp
245009e879 Removed IMG rule 1998-05-12 23:51:09 +00:00
karnaze
889f0f8dfc select/option 1998-05-08 23:08:43 +00:00
karnaze
34036a5a0f more support for textarea, select/option in content sink 1998-05-08 20:18:06 +00:00
rickg
7c9580a233 new contentsink api's for kipp 1998-05-07 21:11:07 +00:00
kipp
04ca90d1da Updated style sheet 1998-05-07 00:06:15 +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
ae538db0c7 BR's are inline and cyan (if they are rendering) 1998-05-02 00:56:55 +00:00
rpotts
8079b4ef67 added netlib to the include path... 1998-05-01 05:07:25 +00:00
karnaze
0df7874f85 fix submit crash in nsWindow; more form control functionality 1998-04-28 18:59:38 +00:00
kipp
0e59c2de8c Removed hack 1998-04-27 15:39:58 +00:00
kipp
414176bd83 Add in cursors 1998-04-26 03:47:06 +00:00
rickg
808f265fa1 update 1998-04-25 19:46:11 +00:00
kipp
cc3135da10 updated 1998-04-25 18:41:41 +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
59359e73b4 define win32_lean_and_mean 1998-04-23 16:47:26 +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
buster
e94974f380 THEAD and TFOOT tags enabled 1998-04-21 16:36:46 +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
scullin
c706c01f42 IRIX build fixes. 1998-04-14 01:56:50 +00:00
kipp
98505cde5e Repaired build problems w/ layout/base dependencies 1998-04-13 20:56:42 +00:00
kipp
098bef52b4 moved to pub 1998-04-13 20:24:54 +00:00