Commit Graph

717 Commits

Author SHA1 Message Date
rods%netscape.com
e4de69dfd7 Removed several nsHTMK type tags from nsDocument.cpp 1998-10-23 20:23:02 +00:00
michaelp%netscape.com
5afda242db changes to support opacity. 1998-10-23 17:54:23 +00:00
vidur%netscape.com
f9e3760137 Updated DOM interfaces to match final W3C recommendation. Modified IDL compiler to take IIDs 1998-10-20 17:07:23 +00:00
kipp%netscape.com
f13b83273b Revised API to use TextFragment's 1998-10-20 00:19:17 +00:00
kipp%netscape.com
206b0ecefe new 1998-10-20 00:17:17 +00:00
kipp%netscape.com
454582badf Fixed inheritance behavior of line-height ala peterl 1998-10-16 03:47:40 +00:00
peterl%netscape.com
8c48296887 added recycler for rules array 1998-10-13 19:09:39 +00:00
peterl%netscape.com
eab54339c6 Added GetMargin/Padding/... to replace CalcMargin/Padding/...
Corrected border width initial value
1998-10-13 01:05:52 +00:00
peterl%netscape.com
fe1ca7d45f zero out border when style == none
fixed padding cache bug
1998-10-09 17:28:24 +00:00
peterl%netscape.com
759f587f49 improve speed of finding children 1998-10-08 01:27:38 +00:00
kipp%netscape.com
e3978b70e8 Support onPaint 1998-10-06 21:01:59 +00:00
troy%netscape.com
e37240541c Temp hack to fix Linux circular linkage problem 1998-10-02 04:32:11 +00:00
rpotts%netscape.com
32567e439c Added GetDocumentURLGroup() method 1998-10-01 21:43:49 +00:00
rpotts%netscape.com
91c6367986 Added GetDocumentURLGroup() methodnsIDocument.h 1998-10-01 21:43:02 +00:00
peterl%netscape.com
257630f5c7 added content & attribute change to style frame construction
cleaned up api
1998-09-29 23:47:03 +00:00
peterl%netscape.com
f43ae5f2c8 added change hint to attribute change api 1998-09-29 23:43:39 +00:00
peterl%netscape.com
2ee88cc63a added content changed & attribute changed to style frame construction api.
cleaned up api.
added attribute change hint.
1998-09-29 23:41:59 +00:00
troy%netscape.com
2bd6a1a377 Moved ContentReplaced() handler code to style system 1998-09-25 22:47:00 +00:00
troy%netscape.com
50795d8516 Moved ContentDeleted() document notification code to the style system which
generates the reflow command
1998-09-25 05:13:06 +00:00
peterl%netscape.com
7aaa6f0444 removed content apis from style context 1998-09-25 01:48:22 +00:00
kipp%netscape.com
49f2e69fbe Disable a certain kind of caching to make incremental style changes work 1998-09-24 23:56:45 +00:00
kipp%netscape.com
eb45c70707 Expose remap method 1998-09-24 23:56:30 +00:00
kipp%netscape.com
7d68c73ef2 Implement revised nsIDocument/nsIDocumentObserver methods 1998-09-24 21:39:47 +00:00
kipp%netscape.com
d7965678bd changed frame remove methods 1998-09-24 21:39:29 +00:00
kipp%netscape.com
15a7d45319 XPCOM'ized the notification methods; changed frame remove methods; added AttributeChanged 1998-09-24 21:39:16 +00:00
buster%netscape.com
1fba5ac7dc all frame initialization and related logic has moved into the various table frames' Init() methods
from their respective InitalReflow() methods.
table-layout=fixed now completely skips pass1 reflow and doesn't require maxElementSize
information, saving a tremendous amount of time during initial reflow.
1998-09-23 21:48:26 +00:00
buster%netscape.com
6b5085a487 set all the groundwork for FAST table layout based on CSS-2 table-layout property 1998-09-22 23:36:06 +00:00
peterl%netscape.com
718f4b9882 clamp border & padding width to 0 1998-09-22 02:08:45 +00:00
troy%netscape.com
6d20aa0438 Added AttributeChanged() member function for communicating attribute value
changes to the frame
1998-09-18 19:53:27 +00:00
troy%netscape.com
28c7cf540c Removed content delegates 1998-09-18 17:18:37 +00:00
rpotts%netscape.com
1a83dade2e Fixed up usage of the NS_RELEASE2(...) macro. 1998-09-17 05:40:57 +00:00
vidur%netscape.com
4e3024a5f9 Added constructors for DOM JS classes. nsIScriptObjectOwner::ResetScriptObject is now SetScriptObject. New factory for layout. New interface nsIDOMNativeObjectRegistry. 1998-09-17 01:53:52 +00:00
joki%netscape.com
357c55b191 More support for capturing, minor adjustments to window.open behavior. 1998-09-15 21:31:58 +00:00
vidur%netscape.com
d60e612731 Got rid of Construct method from nsIJSScriptObject interface. Added first-pass implementation of reflow case to nsGenericHTMLElement::SetAttr. 1998-09-14 23:02:32 +00:00
kipp%netscape.com
f877659693 Fixup AddRef/Release and some constructors to use NS_ADDREF (etc) macros 1998-09-12 19:33:48 +00:00
peterl%netscape.com
ef34a211d1 sort style rules by strength 1998-09-11 02:05:30 +00:00
peterl%netscape.com
690e996b99 added strength 1998-09-11 02:05:07 +00:00
troy%netscape.com
effef91cf6 Phase one of frame construction changes 1998-09-10 19:32:14 +00:00
rods%netscape.com
e8ae61a40e Removed TraverseBlockContent static function 1998-09-09 17:42:21 +00:00
rods%netscape.com
4a4b4a34b2 XPCOM'ed the Selection and Search methods 1998-09-09 16:11:59 +00:00
kipp%netscape.com
9a502dcf07 Fixed bug caused during XPCOM'ing the nsIContent API 1998-09-08 22:32:32 +00:00
kipp%netscape.com
a375a0f8f7 Use allocated IID; update interface to be XPCOM'd and updated the methods 1998-09-06 00:15:10 +00:00
peterl%netscape.com
1a36a503a7 tweaked output of percent values 1998-09-05 03:59:44 +00:00
peterl%netscape.com
3a5dd0b74f removed content from style mapping api 1998-09-05 03:52:30 +00:00
peterl%netscape.com
10c7185fad removed content from style map api 1998-09-05 03:51:56 +00:00
vidur%netscape.com
ab080b4586 New content code adjusts to getting script objects through a factory interface 1998-09-04 23:03:16 +00:00
peterl%netscape.com
2c3031a807 COMified interface
made first attribute local
added support for attr uniquing
1998-09-02 02:10:44 +00:00
peterl%netscape.com
dc32acedf3 COMified some interfaces 1998-09-02 02:03:24 +00:00
peterl%netscape.com
c69f8a9be8 comment about style sheet ordering 1998-09-02 02:02:30 +00:00
peterl%netscape.com
cba10565bc reversed style sheet ordering in the set 1998-09-02 02:02:14 +00:00
peterl%netscape.com
1460522396 comments on sheet/rule ordering 1998-09-02 02:00:24 +00:00
peterl%netscape.com
ef15112377 COMified 1998-09-02 02:00:05 +00:00
warren%netscape.com
4f1b718b4e Added closure argument to nsHashtable::Enumerate. 1998-09-01 00:16:47 +00:00
kipp%netscape.com
c983bef350 Fixed porting bug when porting to xpcom'd nsIContent API 1998-08-31 16:09:06 +00:00
kipp%netscape.com
c6290fa577 XPCOM'ized nsIContent and nsIHTMLContent 1998-08-29 20:20:38 +00:00
rods%netscape.com
78631b45db Added FindNext method 1998-08-28 15:59:24 +00:00
rods%netscape.com
3e6872d273 Added FindNext Method for Find/Search 1998-08-28 15:57:59 +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
joki%netscape.com
46137420c0 Modifying nsIContent's AppendChild -> AppendChildTo to stop conflict with
DOM interfaces.
1998-08-21 21:38:26 +00:00
vidur%netscape.com
824d631d5e Implemented document.location. 1998-08-13 19:08:01 +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
rods%netscape.com
34c7b49f32 Fixed a warning in SelectAll 1998-08-05 22:23:03 +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
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
kipp%netscape.com
7ff5d0e7ce Remove most compiler warnings on IRIX 1998-07-29 20:19:08 +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
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
joki%netscape.com
98a6e7f5d1 Fix for missing add/release ref pair in the GetScriptGlobalObject call 1998-07-25 01:53:15 +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
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
peterl%netscape.com
b14b73ba93 added font flags 1998-07-23 17:57:16 +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
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
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
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
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
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
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
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
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
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
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
buster
f1483bd22e more separation between table content and frames 1998-06-11 17:50:51 +00:00
joki
10ffd04c8c Adding new event handling mechanism into raptor. 1998-06-08 00:57:15 +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
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
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
db0df5f7c3 Revised LoadURL to take an nsIStreamListener; removed old document load hooks 1998-06-01 19:52:39 +00:00
kipp
3a6dc218b6 NS_IMETHOD'd some of the API's 1998-05-30 01:36:47 +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
b4112aff11 Set value to 1.0F as a float 1998-05-28 19:55:15 +00:00
kipp
024ff28d3a Use default text alignment; setup opacity properly 1998-05-28 02:01:19 +00:00
karnaze
f1382417c0 post submission, file content submission 1998-05-27 17:51:41 +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
peterl
7168f94691 Changed GetStyleData to use an enum instead of an nsID 1998-05-21 02:34:13 +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
thom
aa407491f5 fixed compile errors for mac 1998-05-19 23:11:28 +00:00
thom
a2729a12bc Mac checkin 1998-05-18 22:47:24 +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
peterl
7474aa1932 renamed getSupportsValue to getISupportsValue 1998-05-13 23:42:01 +00:00
peterl
a28652c5d3 connected spacing calculations to frame 1998-05-13 22:38:54 +00:00
kipp
186c393da1 Removed unused variable 1998-05-13 00:12:54 +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
kipp
2358c691b7 Fixed irix bustage 1998-05-08 21:12:12 +00:00
rods
e80f937688 added Selection methods to nsICodment, nsDocument, nsiSplittableFRame 1998-05-08 15:07:41 +00:00
troy
02e5832c88 Started adding ContentChanged() notifications 1998-05-06 16:28:55 +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
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
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
rods
90bc62a72a initial check in 1998-04-29 17:08:57 +00:00
peterl
7f0ab2c651 added nsStyleCoord 1998-04-28 23:54:06 +00:00
troy
beceaa1b53 Added mClip and mClipFlags to nsStylePosition 1998-04-28 03:21:18 +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
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
troy
800accf63a Added mZIndex to nsStylePosition. Absolutely positioned code now passed
it along to view system
1998-04-24 18:34:31 +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
fdf2b8c3d4 HackStyleFor no longer sets positionFlags 1998-04-22 16:07:27 +00:00
peterl
83bb132b05 WIP moving border, margin & padding out of nsStyleMolecule 1998-04-22 06:33:35 +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
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
dario
21730dc654 doc 1998-04-15 18:55:21 +00:00
kipp
098bef52b4 moved to pub 1998-04-13 20:24:54 +00:00