Commit Graph

1376 Commits

Author SHA1 Message Date
troy%netscape.com
07ce269f24 Added cast to get it to compile 1999-02-14 06:10:51 +00:00
troy%netscape.com
bf53f99087 Added frame-type atoms for area,scroll,viewport,root,page frame classes 1999-02-14 03:47:33 +00:00
kipp%netscape.com
628ca67c46 Use dont_AddRef on calls that increment the addref 1999-02-12 20:13:47 +00:00
troy%netscape.com
0debd6f0d1 Fixed some errors related to switch to using nsCOMPtr 1999-02-12 18:41:26 +00:00
troy%netscape.com
06e9dfdb74 Fixed some compile errors using nsCOMPtr 1999-02-12 18:15:02 +00:00
kipp%netscape.com
36c243cdc0 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
jfrancis%netscape.com
ae13ec75e4 divorce from nsIEnumerator 1999-02-12 08:20:40 +00:00
peterl%netscape.com
2ddb4e5970 fixed atom ref counting bug 1999-02-12 08:16:00 +00:00
peterl%netscape.com
7f04fb00e6 changed all html atoms to lower case 1999-02-12 06:19:07 +00:00
jfrancis%netscape.com
c05f31a624 XPCOMified the content iterator; fixed some bugs in DeleteRange() 1999-02-12 05:28:46 +00:00
jfrancis%netscape.com
c7563c0df2 XPCOMified nsContentIterator; added it to layout factory CreateInstance code 1999-02-12 05:28:12 +00:00
jfrancis%netscape.com
acff8104b6 fixing iid collision with simon 1999-02-12 04:39:21 +00:00
jfrancis%netscape.com
a53854a1ea First Checked In. 1999-02-12 04:28:29 +00:00
akkana%netscape.com
7982a421d6 Rename nsISelection to nsIFrameSelection 1999-02-11 23:12:28 +00:00
troy%netscape.com
57b43ab716 Partial fix for bug #644. We still re-load the document un-necessarily, but
at least now we move to the anchor
1999-02-11 23:08:04 +00:00
peterl%netscape.com
39d604d691 made class values case sensitive 1999-02-11 06:43:14 +00:00
peterl%netscape.com
7abf9dcf70 handle case sensitivity in attribute selector values here 1999-02-11 06:42:49 +00:00
peterl%netscape.com
e3cc02769e fixed bug while tokenizing ints at end of input stream 1999-02-11 06:42:02 +00:00
peterl%netscape.com
587f4aa26e made class selectors case sensitive
moved case-insensitive support for attribute values to style sheet
1999-02-11 06:41:21 +00:00
peterl%netscape.com
6385de05c3 added viewport pseudo element tag 1999-02-11 06:39:07 +00:00
kmcclusk%netscape.com
3d131e6a4a Fixed border rendering during printing for Select and text, and text areas.
Implemented SetProperty/GetProperty methods for FileControlFrame
Added nsGenericHTMLElement::GetPrimaryFrame check for nsnull for doc return type.
nsHTMLInputElement.cpp replace NS_OK == with  NS_SUCCEEDED in GetValue and SetValue
Added GetName and GetValue utility methods to nsFormControlHelper
modified nsButtonControlFrame::PaintButton to take the label to paint as an extra parameter.
This allows it to be callable from the nsFileControlFrame code to render the button.
1999-02-11 01:13:28 +00:00
hyatt%netscape.com
ab9af77492 Adding support for tree columns. 1999-02-10 19:51:29 +00:00
waterson%netscape.com
8e47728941 Fixed nsISelection bustage. 1999-02-10 19:39:29 +00:00
mjudge%netscape.com
d6da223dbd Keyboard navigation, removing nsICollection(not used) adding PeekOffset to have the nsIFrame tell us where to go when moving a character ect. adding nsFrameTraversal to traverse frames, based on nsIEnumerator. mjudge x4661 1999-02-10 18:55:25 +00:00
peterl%netscape.com
e3f642f33c Improved handling of bad properties 1999-02-10 08:37:52 +00:00
peterl%netscape.com
810f2f5c75 added append struct value 1999-02-10 08:37:28 +00:00
peterl%netscape.com
de371f0fe6 added missing ToString case 1999-02-10 08:36:37 +00:00
troy%netscape.com
9d570499cf Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references
1999-02-10 05:38:18 +00:00
troy%netscape.com
e9bbeeaa9b Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
references
1999-02-10 04:17:06 +00:00
troy%netscape.com
c85f9efd2a Changed GetParent() to use ** instead of *& 1999-02-10 01:36:30 +00:00
troy%netscape.com
b974e26cea Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
waterson%netscape.com
18f49c102e Whacked to get RDF/XUL working right, with local content mderged in. 1999-02-09 03:15:41 +00:00
peterl%netscape.com
8f99d6776f selector text notes 1999-02-07 21:48:45 +00:00
peterl%netscape.com
7d519ac6c1 added capturing selector source text (to preserve namespace prefixes) 1999-02-07 21:48:27 +00:00
peterl%netscape.com
02a4a1f333 Added token append to string
Improved handling of bad strings
Improved handling of escapes
1999-02-07 21:47:48 +00:00
vidur%netscape.com
c9d93eccf2 Hooked up style hint for id, class and dir 1999-02-05 19:55:56 +00:00
peterl%netscape.com
a95a9904a5 moved frame construction code to its own class 1999-02-05 03:57:49 +00:00
vidur%netscape.com
e0542e23e1 implemented nsHTMLDocument::GetElementsByName 1999-02-04 23:23:07 +00:00
peterl%netscape.com
7ac7f91e7d added -moz-bg-inset & -moz-bg-outset keywords 1999-02-04 19:18:01 +00:00
troy%netscape.com
bcc69e2898 Work-in-progress for replaced elements that can't be rendered 1999-02-04 17:03:46 +00:00
kipp%netscape.com
dfca76d3e6 Use nsIHTMLContent attribute api's to avoid attribute changed notification during document loads 1999-02-04 16:28:16 +00:00
kipp%netscape.com
2e48b11493 Avoid crashing when no frame is found during attribute change notifications 1999-02-04 16:27:38 +00:00
vidur%netscape.com
306612234f Implemented miscellaneous document properties 1999-02-04 02:58:02 +00:00
vidur%netscape.com
e1a29fba6d Implemented nsHTMLDocument::SetBody 1999-02-04 02:16:11 +00:00
evaughan%netscape.com
403cc14a84 Added the XUL progress meter widget. 1999-02-04 01:34:15 +00:00
nisheeth%netscape.com
9fa2f8e3ab Added ReconstructFramesOnAttributeChange() to the HTML stylesheet
that gets called when a content object's attribute change requires
its frames to get recreated.
1999-02-04 00:53:08 +00:00
hyatt%netscape.com
aae093350d Altered the tree structure so that the treerow tag is now obsolete. 1999-02-04 00:28:25 +00:00
hyatt%netscape.com
472593b2db Changed the tree frame construction code. 1999-02-04 00:28:05 +00:00
vidur%netscape.com
b91611a7b2 Added additional key argument to string parsing routine. Improved Reset handling for document to include style sets and frame construction. Modified root frame construction. Got out-of-line document.write to work 1999-02-03 19:38:16 +00:00
peterl%netscape.com
6e34e5ef7c improvements to parsing @import, HTML comments and identifiers 1999-02-03 02:59:51 +00:00
kipp%netscape.com
6e9110cb4c Changed value of mozAnonymousBlock atom to match ua.css until a css working group issue is resolved 1999-02-02 17:31:36 +00:00
waterson%netscape.com
f360ad8792 Moved nsXULAtoms::AddrefAtoms() and ReleaseAtoms() to the style sheet's ctor and dtor, as per Peter Linss suggestion. 1999-02-02 05:39:57 +00:00
troy%netscape.com
ad3a2965f8 Implemented fixed position tables 1999-02-02 04:28:55 +00:00
peterl%netscape.com
8459a64073 fixed bug handling multiple namespace declarations in one tag 1999-02-02 03:24:56 +00:00
peterl%netscape.com
763f6a8dde made visible an int instead of bool 1999-02-02 03:24:23 +00:00
peterl%netscape.com
47d7059b69 removed default html namespace prefix 1999-02-02 03:23:36 +00:00
waterson%netscape.com
0b542b62ed Force an nsXULAtoms::AddrefAtoms to ensure that the XUL atoms and namespace are created in the layout DLL before trying to refer to them. (a=hyatt%netscape.com) 1999-02-01 23:06:49 +00:00
kmcclusk%netscape.com
78015f31f6 Moved GetPrimaryFrame to nsGenericHTMLElement.
Modifed nsHTMLTextAreaElement to go through it's frame to set and get values
1999-02-01 18:44:59 +00:00
troy%netscape.com
0f2e27b0d9 Fixed it so scrollable BLOCK elements can be fixed positioned 1999-02-01 18:09:57 +00:00
kipp%netscape.com
42312a552c Fixed pseudo style atom value 1999-02-01 17:34:31 +00:00
rickg%netscape.com
06970832e3 mondo improvements to DTD 1999-02-01 04:24:37 +00:00
karnaze%netscape.com
6256ccca5b Made table frame construction flexible enough to allow arbitrary content to be mapped
to arbitrary table related display types.
1999-01-30 15:52:19 +00:00
peterl%netscape.com
87e2ee2cc6 fixed multi-link header delimiter (comma not semicolon)
fixed uninitialized blocking variable in header link code
fixed error return code for style sheet linking
1999-01-30 06:24:09 +00:00
peterl%netscape.com
7dac483dcd fixed namespace 1999-01-30 06:22:39 +00:00
peterl%netscape.com
0f67d466fc accept namespace none for attributes 1999-01-30 06:21:08 +00:00
peterl%netscape.com
77e6eb5115 made attribute accessors respect unknown namespace for getters (wildcard) 1999-01-30 06:20:39 +00:00
pollmann%netscape.com
8baa289920 Bug 2716, 2792, 1190, 1750: Wired up selected, defaultSelected, and selectedIndex. 1999-01-30 01:02:28 +00:00
pollmann%netscape.com
fa5187e571 Bug 2788: Crash on leaving page where js references named options. 1999-01-30 00:53:53 +00:00
pollmann%netscape.com
86db74417d Bug 2787: Crash on js accessing option index out of range. 1999-01-30 00:51:10 +00:00
pollmann%netscape.com
d6d23fe90a Initializing res. 1999-01-30 00:41:41 +00:00
troy%netscape.com
3b19a38dd6 Removed an "extra" NS_RELEASE of "map" which was causing double-frees. Permission
from Sarah to check in while the tree's closed
1999-01-29 22:38:48 +00:00
akkana%netscape.com
eb4fd64caa Implement a new interface, nsIDOMSelection, intended to become the
external interface for selection (to be IDL-ified later).

Fix some editor bugs:
- Advance the cursor on text insert (so text is inserted in the right order)
- Make DeleteSelection in the editor call the actual selection
- Make DeleteSelection update the frames' notion of the selection
1999-01-29 18:57:56 +00:00
troy%netscape.com
01313168f3 Fixed memory leak of MAP content object in OpenMap() 1999-01-29 06:13:55 +00:00
troy%netscape.com
94cf1a6dcd Fixed memory leak of AREA content object in ProcessAREATag() 1999-01-29 05:37:45 +00:00
jfrancis%netscape.com
32034efe71 fixed implementation of IsDone() 1999-01-28 23:55:53 +00:00
joki%netscape.com
c14cc1cb25 Removing nsILinkHandler enum types from dependencies, fixing event handler bugs 1999-01-28 23:14:36 +00:00
kmcclusk%netscape.com
a71561f847 Added return type to fix build bustage 1999-01-28 19:29:15 +00:00
kmcclusk%netscape.com
aaa2d0a40d Modified nsHTMLInputElement text fields to go through nsTextControlFrame
for SetValue and GetValue
1999-01-28 18:58:11 +00:00
kmcclusk%netscape.com
07d49a6960 Added check for null nsFormControlFrame in GetChecked. This should fix the Mac
when viewing www.netscape.com
1999-01-28 00:36:43 +00:00
kmcclusk%netscape.com
87b47319d8 Replaced defaultchecked with checked 1999-01-27 19:19:07 +00:00
kostello%netscape.com
f4cb89a986 Fixed bug: dereferencing a null in nsMarkupDocument
Suppressed creation of STYLE leaf tag in the XIF encoding
until style sheet output is fixed.
1999-01-27 16:35:32 +00:00
hyatt%netscape.com
0aecfc3e54 Making events still possible within tree cells. 1999-01-27 12:42:37 +00:00
hyatt%netscape.com
902e7c0207 Making events for arbitrary HTML still work in tree cells. 1999-01-27 12:42:21 +00:00
hyatt%netscape.com
829b7f8804 Fixed a bug wherein tree frames weren't being added to the flow. 1999-01-27 10:10:02 +00:00
hyatt%netscape.com
b7887fe8d6 @%!%@! 1999-01-27 07:30:24 +00:00
hyatt%netscape.com
91364acc34 Getting rid of a conflict that I had. 1999-01-27 07:23:58 +00:00
hyatt%netscape.com
b0f9e290a5 Tweaking XUL frame construction. Also adding in a temporary tweak to
keep a NOTYETIMPLEMENTED from firing when an attribute in XML is
changed.  (Making it do a reflow rather than a reframe.)
1999-01-27 07:22:05 +00:00
troy%netscape.com
ff371f2925 Added work-in-progress for 'fixed' positioning 1999-01-27 05:37:55 +00:00
rods%netscape.com
afa1a733ff Commented out the MACRO for for settting and getting the disabled attribute
I implemented them fully so I code set the "disabled" pseudo-class properly
1999-01-27 04:13:44 +00:00
troy%netscape.com
b8a53effbd Changed nsAbsoluteItems to be a derived class of nsFrameItems 1999-01-27 03:53:54 +00:00
troy%netscape.com
303956b39c Added nsLayoutAtoms::fixedList for specifying the name of the additional
child list for 'fixed' elements
1999-01-27 03:48:39 +00:00
troy%netscape.com
b63b2eb881 Hooked printing back up. It was a casuality of the viewport changes 1999-01-27 03:24:12 +00:00
kmcclusk%netscape.com
a92dfe581a Modified GetDefaultChecked and SetDefaultChecked to get and set the checked
attribute.
1999-01-27 01:35:30 +00:00
kmcclusk%netscape.com
88326ce269 Implemented GetChecked and SetChecked for nsHTMLInputElement by going through
the nsCheckboxControlFrame and nsRadioControlFrame.cpp
1999-01-27 00:51:46 +00:00
vidur%netscape.com
995b47b08a First pass implementation of document.implementation 1999-01-27 00:12:33 +00:00
kmcclusk%netscape.com
e342fc0ca1 Added GetPrimaryFrame utility method. 1999-01-26 23:43:52 +00:00
troy%netscape.com
fa93923bcf Fixed a problem in ConstructFrameByTag() where absolutely positioned elements
weren't handled properly
1999-01-26 06:00:30 +00:00
troy%netscape.com
9ae6259485 Fixed some problem in ConstructFrameByDisplayType() where in now cases
(e.g. floaters and relatively positioned blocks) the newly constructed
frame wasn't getting added to aFrameItems
1999-01-26 05:46:04 +00:00
troy%netscape.com
85b271d4dd Fixed a problem with placeholder frame's clearing the child list and
causing the previous frames to disappear
1999-01-26 05:05:19 +00:00
troy%netscape.com
2fa2920b29 Removed "tab" chars 1999-01-26 01:47:01 +00:00
troy%netscape.com
5198f513b4 Hooked up print-preview to work again 1999-01-26 01:39:08 +00:00
rickg%netscape.com
aed1baa2e5 made javascript happier 1999-01-26 01:25:37 +00:00
hyatt%netscape.com
2ce7b53770 Added support for tree indentation. 1999-01-26 01:12:51 +00:00
troy%netscape.com
ff3d3b60b5 Changed scrolling so it happens on the viewport instead of the HTML
element
1999-01-26 00:05:21 +00:00
mjudge%netscape.com
1462f685fc fixing build bustage for someone 1999-01-25 23:55:59 +00:00
hyatt%netscape.com
abd68f001f Tweaks to enable XUL frame construction to prevent the construction based on
display type.
1999-01-25 23:07:17 +00:00
vidur%netscape.com
8bab99aac5 Implemented nsIDOMElement::Normalize 1999-01-25 22:17:15 +00:00
hyatt%netscape.com
6d67538c8d Altered the way frame construction works. ConstructFrame can now potentially
build up a list of sibling frame subtrees.  This allows for the creation of
multiple frames from a single content node, and for easy merging of two different
lists of subtrees during frame construction.
1999-01-25 22:13:03 +00:00
ftang%netscape.com
3759b987f5 change nsCharSetID into nsString type 1999-01-25 16:05:04 +00:00
peterl%netscape.com
37624b3834 fixed a leak of an input stream 1999-01-23 19:28:09 +00:00
peterl%netscape.com
9937b38698 cleaned up style sheet ordering 1999-01-23 07:09:06 +00:00
peterl%netscape.com
3e1e2ce68d allow reconstruct frames to work on all documents 1999-01-23 07:08:38 +00:00
peterl%netscape.com
870cd4ed7f made media case insensitive (for now) 1999-01-23 07:08:11 +00:00
peterl%netscape.com
c23d28c907 added insert style sheet 1999-01-23 07:07:32 +00:00
peterl%netscape.com
bbbe75c6c2 cleaned up style sheet ordering
support for selecting alternate style sheets
1999-01-23 07:07:09 +00:00
peterl%netscape.com
ec711cef0c added meta tag http-equiv support
fixed selection of default style sheets
made style sheet loading not block parser
added support for several http headers
1999-01-23 07:05:49 +00:00
peterl%netscape.com
c5492c1e93 only parse style attributes if doc style language is text/css 1999-01-23 07:04:28 +00:00
peterl%netscape.com
1d4db24d11 added HTTP header atoms 1999-01-23 07:02:56 +00:00
peterl%netscape.com
7597321ac7 fixed case of media atoms 1999-01-23 07:02:10 +00:00
peterl%netscape.com
6adda0ee50 set now manages order of doc style sheets 1999-01-23 07:01:57 +00:00
peterl%netscape.com
119785d7c2 added header data accessors
cleaned up style sheet ordering
1999-01-23 07:01:40 +00:00
peterl%netscape.com
b8cf627e7d added header data accesors 1999-01-23 07:00:10 +00:00
akkana%netscape.com
581ab7e058 remove some verbose debugging messages 1999-01-23 00:38:54 +00:00
vidur%netscape.com
f7657749c8 Implemented splitText for text nodes 1999-01-23 00:10:08 +00:00
vidur%netscape.com
ae6e5a8019 Comments added to content model. Comments and text content now have a special tagname 1999-01-22 22:48:00 +00:00
harishd%netscape.com
c53ae7e35c StyleContext info. is passed on into PaintBorder() 1999-01-22 22:30:02 +00:00
kmcclusk%netscape.com
eb492feecc Removed code which set the defaultchecked from the checked attribute. 1999-01-22 22:14:58 +00:00
rods%netscape.com
34e9cde15c Factored out the Initialization code for the ScrollFrame into a separate method
Added code to hide and show view when applied to the whole tree
Added a method for Creating the proper frames for the SELECT tag
1999-01-22 15:27:54 +00:00
rods%netscape.com
b7e36c8bcd Added some additional attoms for the Combobox Frame Control 1999-01-22 15:25:12 +00:00
jfrancis%netscape.com
87e977ff11 efficiency improvement to ComparePointToRange() 1999-01-22 08:59:26 +00:00
pinkerton%netscape.com
9229101e5c hooking toolbars and toolbox back up. Sigh. 1999-01-22 04:04:12 +00:00
hyatt%netscape.com
52ef97fc7c Added support for tree frame instantiation. 1999-01-22 03:31:56 +00:00
hyatt%netscape.com
7c65ced2f3 Added atoms for the tree widget. Modified the makefile to make sure
that nsTreeView.cpp builds.
1999-01-22 03:27:35 +00:00
pinkerton%netscape.com
c563c226a1 ack, unhook toolbars until i can solve the export problem on win. 1999-01-22 01:53:05 +00:00
pinkerton%netscape.com
e959db5706 hookup toolbars and toolbox so they are instantiated when xul sees those tags. 1999-01-22 01:42:44 +00:00
kostello%netscape.com
20ddd08b9c Updated XIF code to match the new selection work. 1999-01-21 21:45:17 +00:00
vidur%netscape.com
22a8cb9919 Fix to get default namespaces to work. Cleanup of DOM handling of character data. 1999-01-21 19:33:03 +00:00
hyatt%netscape.com
32b7e34970 Adding support for the widget tag to XUL. 1999-01-21 09:26:01 +00:00
hyatt%netscape.com
4672f50061 Fixing bugs related to the widget atom. 1999-01-21 09:25:40 +00:00
pinkerton%netscape.com
9ead608102 adding toolbox to collection of xul atoms 1999-01-21 05:54:38 +00:00
danm%netscape.com
23f9c7d07f create XUL frames 1999-01-21 03:37:37 +00:00
danm%netscape.com
673e89c4af load XUL atoms on XML document creation 1999-01-21 03:35:24 +00:00
danm%netscape.com
57ae1e3dd3 new xul directory 1999-01-21 01:56:05 +00:00
vidur%netscape.com
6748215978 Fixing build bustage 1999-01-20 00:50:07 +00:00
karnaze%netscape.com
29d75b2c52 content sink uses nsWebShell::GetIsFrame to set scrolling on nsWebShell 1999-01-19 23:16:02 +00:00
vidur%netscape.com
8ff9eaa54b Completion of document as node - specifically, the childNodes array. Completion of nodeName, nodeValue and attributes properties for different types of nodes. 1999-01-19 23:07:33 +00:00
karnaze%netscape.com
d29710743f <form> inside <table> submits; marginwidth, marginheight in <frame> working; scrolling in <frame>, <iframe> working 1999-01-19 17:26:06 +00:00
vidur%netscape.com
f052b61c9d Started implementation of Node properties and methods for documents. 1999-01-19 16:58:45 +00:00
vidur%netscape.com
792728fe8b new file - base class for other node lists 1999-01-19 15:50:20 +00:00
vidur%netscape.com
5fed996e8a Made unparented nodes outside the document return a new document fragment as parent. Inserting a node into a tree removes it from its previous position 1999-01-19 03:54:26 +00:00
jfrancis%netscape.com
6e0a3b6fa1 fixing addref/release errors in SelectAll code - fixes bug #2166 1999-01-19 01:54:57 +00:00
jfrancis%netscape.com
121d8da171 fixing bug in range endpoint comparison 1999-01-19 01:07:52 +00:00
vidur%netscape.com
c00b32a482 Implemented Element::GetElementsByTagName. Fixed bug 2327 - forms appearing multiple times in document.forms array. 1999-01-18 03:43:43 +00:00
karnaze%netscape.com
7b139f6c8e scrollable row groups 1999-01-17 23:35:56 +00:00
troy%netscape.com
5febae06f6 Fixed it so relatively positioned block frames act as containing blocks
for absolutely positioned child elements
1999-01-16 22:18:08 +00:00
kipp%netscape.com
7f96144059 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +00:00
kipp%netscape.com
4243726f6a Switch to using nsFrameList for frame lists 1999-01-15 22:53:39 +00:00
joki%netscape.com
fd239d7a9b Fix bogus return value on GetImageMap 1999-01-15 22:26:30 +00:00
troy%netscape.com
80866615d9 Fixed it so that box offsets (left/right/top/bottom) can be negative numbers 1999-01-15 22:09:15 +00:00
vidur%netscape.com
9fe347aafc Wildcard handling of document.getElementsByTagName. Better handling of casing and namespaces for tagNames. 1999-01-15 19:18:30 +00:00
kipp%netscape.com
73cb7e9384 Fixed absolute positioning bug I introduced in my last checkin 1999-01-15 17:33:00 +00:00
peterl%netscape.com
3a21eef741 better base url handling
Checkin during red tree approved by sar
1999-01-15 02:09:56 +00:00
peterl%netscape.com
b37a2f5b7a better base url support
added support for "none" style change hint
added assert for recycling of html attributes

Checkin during red tree approved by sar
1999-01-15 02:09:29 +00:00
peterl%netscape.com
c251f70e4b don't assert when not mapping anything without mapping function
Checkin during red tree approved by sar
1999-01-15 02:08:20 +00:00
peterl%netscape.com
5cc1370c12 better base url support
Checkin during red tree approved by sar
1999-01-15 02:07:46 +00:00
peterl%netscape.com
e4dc4ef541 better base url support
fixed assert in call to deprecated url method

Checkin during red tree approved by sar
1999-01-15 02:07:15 +00:00
peterl%netscape.com
c925f3459e better base URL support
better parsing of media types (per HTML4.0 spec)
enforce pseudo element sepectors at end of seletor list

Checkin during red tree approved by sar
1999-01-15 02:06:13 +00:00
peterl%netscape.com
081bfbad68 better computation of style hint
Checkin during red tree approved by sar
1999-01-15 02:04:51 +00:00
peterl%netscape.com
f9f88131ba better base url support
fixed parsing of media attribute

Checkin during red tree approved by sar
1999-01-15 02:02:48 +00:00
peterl%netscape.com
1ccd2192a7 better base url and target support
Checkin during red tree approved by sar
1999-01-15 02:01:36 +00:00
peterl%netscape.com
bd2008b38c better base URL support
set base url when parsing style attributes
better style attribute change notification

Checkin during red tree approved by sar
1999-01-15 01:59:42 +00:00
peterl%netscape.com
b0fe9100a0 made font color also set text decoration color
Checkin during red tree approved by sar
1999-01-15 01:58:41 +00:00
peterl%netscape.com
e86b440abd better base URL support
Checkin during red tree approved by sar
1999-01-15 01:57:58 +00:00
peterl%netscape.com
4d6c75857f changed parent/child ref/counting policy
Checkin during red tree approved by sar
1999-01-15 01:57:05 +00:00
peterl%netscape.com
7623bb0e4e added better base url support
tweaks to attribute change notification

Checkin during red tree approved by sar
1999-01-15 01:56:18 +00:00
peterl%netscape.com
609b48d91d added GetBaseURL
Checkin during red tree approved by sar
1999-01-15 01:53:50 +00:00
kipp%netscape.com
402aa6541a Stop using reflow commands for frame structure changes; instead invoke methods on the frames which then generate reflow commands as needed 1999-01-15 01:30:12 +00:00
sfraser%netscape.com
524b4090da Fix a couple of warnings by making callbacks static. 1999-01-14 23:37:57 +00:00
vidur%netscape.com
895ce771ea Moved text and comment code out of HTML-specific directories. Completed CloneNode for elements. Completed factory methods for intersection of XML and HTML. 1999-01-14 23:14:02 +00:00
troy%netscape.com
036e6852f2 Removed the content-parent frame pointer. Now we just have the one geometric
parent
1999-01-14 05:16:23 +00:00
troy%netscape.com
cc9c6e9338 Fix for bug #2316. Added back some code I removed because I didn't think we
needed it, but without out it 'color' doesn't inherit properly
1999-01-14 05:14:11 +00:00
troy%netscape.com
5c75ea66f0 Fix for bug #2276, and some initial support for 'right' and 'bottom'
for absolutely positioned elements
1999-01-13 06:37:31 +00:00
troy%netscape.com
4332a082d5 Re-commiting my fucking changes... 1999-01-13 00:44:48 +00:00
cltbld%netscape.com
89457008d5 backing out changes made against a red tree 1999-01-13 00:00:57 +00:00
vidur%netscape.com
145af966ed Fix for bug 1258. Content sink flushes tags when it sees a script, but makes sure that reflow doesn't happen until its safe again. 1999-01-12 23:49:13 +00:00
troy%netscape.com
b72a94c761 Fixed a memory leak 1999-01-12 23:17:49 +00:00
waterson%netscape.com
6644cf58c5 Obsoleted. 1999-01-12 19:42:36 +00:00
kipp%netscape.com
cd76455b98 Use new flag defines 1999-01-12 16:42:03 +00:00
vidur%netscape.com
d63e315360 Added new namespace/attribute parsing methods to nsIContent 1999-01-12 16:38:28 +00:00
vidur%netscape.com
274a4add3e Second pass of attributes as nodes. Improved namespace management - XML elements now hold on to their containing namespace. Fixed Get/SetDOMAttriute naming issue. Added new namespace parsing methods to nsIContent 1999-01-12 16:37:24 +00:00
vidur%netscape.com
3a4638a52c new files 1999-01-12 08:45:23 +00:00
waterson%netscape.com
086f25dbe1 Initial revision. (Not yet in the build.) 1999-01-12 05:32:30 +00:00
troy%netscape.com
0ec574a5c1 Fix for bug #2285. Just reseting the mFlags isn't enough, because the PaintBackground()
member function ignores the flags and checks for a non-empty URL. This way is safer and
should work in all cases
1999-01-11 19:44:22 +00:00
troy%netscape.com
82966e298c Hooked up marginwidth and marginheight attributes to change the 'margin'
property instead of the 'padding' property
1999-01-09 04:31:51 +00:00
rickg%netscape.com
8f11084fc8 sync up with mods to the parser 1999-01-09 01:11:37 +00:00
kipp%netscape.com
ef74e3273a Implement GetAreas; cleanup some whitespace; removed some out of date comments 1999-01-09 00:17:07 +00:00
kipp%netscape.com
00cbea9c70 Removed a spurious Addref of an atom 1999-01-09 00:16:42 +00:00
kipp%netscape.com
063d9973c9 Added some whitespace 1999-01-09 00:16:07 +00:00
kipp%netscape.com
30202d5e7c Reformatted a comment 1999-01-09 00:15:54 +00:00
kipp%netscape.com
4d283102bd Store maps as nsIDOMHTMLMapElement instead of the obsolete nsIImageMap 1999-01-09 00:15:19 +00:00
kipp%netscape.com
0448f13e03 Use dom content objects for map/area tags; add map to the content model 1999-01-09 00:14:53 +00:00
kipp%netscape.com
4cbb066ec7 Added new atom 1999-01-09 00:12:28 +00:00
kipp%netscape.com
6d30c6dc81 Added missing forward decl of nsIAtom 1999-01-09 00:11:10 +00:00
joki%netscape.com
d798c3e079 Move focus shifting code from nsScrollingView.cpp to nsEventStateManager.cpp 1999-01-08 21:13:59 +00:00
karnaze%netscape.com
c2cfb8b82f dom table methods, moved align="char" data members from nsReflowState to nsHTMLReflowState 1999-01-08 18:57:40 +00:00
troy%netscape.com
20fbd1e186 Added support for 'right' and 'bottom' properties. Changed to using a
nsStyleSides struct to hold all the offsets
1999-01-08 04:47:46 +00:00
troy%netscape.com
b0aeb44419 Fix for bug #2054. If the HTML element's background is 'transparent' then it
uses the BODY's background property
1999-01-08 01:14:59 +00:00
akkana%netscape.com
9249c01cfc Remove erroneous NOT_IMPLEMENTED return 1999-01-07 21:06:43 +00:00
troy%netscape.com
c876ae8a25 Changed ContentRemoved() to also generate a reflow command for the placeholder
for an absolutely positioned frame. Also made sure the child list name is
properly set for the reflow command for the absolutely positioned frame
1999-01-07 05:03:53 +00:00
karnaze%netscape.com
c111662c1f Preliminary changes to support align="char" 1999-01-07 01:00:07 +00:00
brade%netscape.com
08f3275254 reduce compiler warnings on Macintosh by adding comparisons in while loops (around assignments) 1999-01-06 20:00:56 +00:00
brade%netscape.com
84072d957e reduce Macintosh compiler warnings by making function static/private 1999-01-06 19:55:57 +00:00
harishd%netscape.com
55c83966cf Added code to take care of CSS properties
that wouldn't allow negative values.
1999-01-06 19:25:25 +00:00
brade%netscape.com
3e75d671d1 reduce Macintosh compiler warnings by making function static/private 1999-01-06 18:51:16 +00:00
brade%netscape.com
8727d91f50 reduce Macintosh compiler warnings by adding prototype 1999-01-06 18:44:59 +00:00
brade%netscape.com
5f008f5785 reduce Macintosh compiler warnings by adding static to private function 1999-01-06 18:41:05 +00:00
peterl%netscape.com
b3ae3a8483 added GetStyleImpact
cleaned up api
1999-01-06 01:25:39 +00:00
peterl%netscape.com
b1a4f51802 fixed namespace used for attributes via the DOM apis
capture style hint data when setting style attribute
1999-01-06 01:24:49 +00:00
peterl%netscape.com
294454c806 changed DOM attribute methods to return the return value from the underlying attribute mechanism 1999-01-06 01:20:54 +00:00
vidur%netscape.com
2934b39e2c Work in progres to get out-of-line document.write working. Created Reset() method in nsDocument. Fix for bug 1668. 1999-01-06 00:32:41 +00:00
harishd%netscape.com
6d3a1438bd Added type ( test/css ) checking for STYLE tag 1999-01-06 00:19:46 +00:00
kmcclusk%netscape.com
6cc574b43f Defaultchecked attribute is set to match the checked attribute just after
the radio button or checkbox element is created. Checkboxes and Radio buttons
maintain their current state using the checked attribute stored in the
content model. They no longer use the nsIWidget to maintain their current setting.
Checkboxes and Radio buttons now print correctly. (i.e checked/unchecked state matches the
screen.)
1999-01-06 00:02:27 +00:00
kipp%netscape.com
b3ad196bb0 Consolidated character set macros into this file 1999-01-05 23:01:32 +00:00
waterson%netscape.com
379ac6d48b Added LXR comments. 1999-01-05 21:57:59 +00:00
troy%netscape.com
3d957f5d86 Improved GetAbsoluteContainingBlock() a bit. It still needs to handle scrolled
elements
1999-01-05 05:51:22 +00:00
waterson%netscape.com
78fa98a324 Landed RDF_122898_BRANCH onto the trunk. 1999-01-05 03:53:15 +00:00
jfrancis%netscape.com
6c9dce9b65 satisfying compiler oddities 1999-01-04 17:44:20 +00:00
jfrancis%netscape.com
58623fe2e1 bug fixing range gravity code; general cleanup 1999-01-04 16:48:33 +00:00
buster%netscape.com
353da933fb fixed bug 1999, frame="void" was removing cell borders as well as the table frame 1999-01-03 22:30:23 +00:00
jfrancis%netscape.com
ff9cf6ef75 adding range gravity for dom text nodes 1999-01-03 14:29:54 +00:00
jfrancis%netscape.com
bb23b3dbd6 more dom range gravity work 1998-12-30 08:28:16 +00:00
troy%netscape.com
d56587e4cb Fixed it so XML documents display again 1998-12-29 05:51:11 +00:00
troy%netscape.com
d9b4fa08c0 Fixed a problem with absolutely positioned tables not working properly 1998-12-29 05:35:42 +00:00
troy%netscape.com
583682a5c1 Renamed FindFrameWithContent() to GetPrimaryFrameFor() 1998-12-29 04:45:18 +00:00
troy%netscape.com
7b5cc03059 Moved logic that deals with moving absolutely positioned frames out of the
flow to the frame construction code
1998-12-29 03:38:16 +00:00
nisheeth%netscape.com
0855a01677 Definition and implementation of nsXSLContentSink. The XSL content sink
is instantiated for an XSL stylesheet and constructs
the XSL rule model as the stylesheet gets parsed by the parser.

Checking in the first cut.  These files are not part of the build yet.  Just
checking in so that they get backed up while I am away on my 3 week vacation.
1998-12-27 08:48:00 +00:00
nisheeth%netscape.com
a6036fc264 Checking in initial tests for the first XSL prototype. 1998-12-27 08:25:54 +00:00
nisheeth%netscape.com
7a8631dcf7 Adding code protected by an ifdef for making the XML content sink initiate
the load of an XSL stylesheet when it sees a stylesheet PI with an XSL
content type.
1998-12-27 08:24:04 +00:00
waterson%netscape.com
374a53ba9d Fixed CID header file. 1998-12-24 06:33:16 +00:00
waterson%netscape.com
6a227c1d03 Initial revision. Separated from mozilla/rdf/include. Not yet in the build. 1998-12-24 05:07:14 +00:00
peterl%netscape.com
8b9304316e fix a ref counting bug with class atoms 1998-12-21 18:38:44 +00:00
troy%netscape.com
6493c0fc74 Renamed NS_NewHTMLFrame() to NS_NewRootFrame() 1998-12-21 18:22:44 +00:00
brade%netscape.com
400bea8f9d remove extra comma to reduce warnings on Mac 1998-12-21 16:39:17 +00:00
rods%netscape.com
cdc4c9ba17 Added better default processing of hint 1998-12-21 13:29:32 +00:00
peterl%netscape.com
66066e1f3c fixed a crasher when mapping list or table style with a null parent context 1998-12-21 07:48:12 +00:00
peterl%netscape.com
650a9f3060 fix spelling
fix namespace of HTML element's attributes
1998-12-21 05:59:40 +00:00
peterl%netscape.com
cdecfbc7dd fix spelling 1998-12-21 05:58:58 +00:00
peterl%netscape.com
01b2811d2e fix spelling
moved inline automatic key object out of line for buggy unix compilers
1998-12-21 05:58:31 +00:00
peterl%netscape.com
3cf603abf4 added support for the 'xmlns' pseudo namespace 1998-12-21 05:56:51 +00:00
troy%netscape.com
9619058141 Changed the frame hierarchy, and changed how scrolling works. Also added
nsAreaFrame which replaces nsBodyFrame which is no longer used
1998-12-20 23:29:47 +00:00
peterl%netscape.com
887cd5f867 sync to new attribute api 1998-12-20 01:21:23 +00:00
peterl%netscape.com
7dd7b861c5 attribute selector work 1998-12-20 01:19:22 +00:00
peterl%netscape.com
1106a4c943 fix equals to not be case sensative 1998-12-20 01:18:47 +00:00
peterl%netscape.com
e2abd8b98e sync to new attribute api
added multiple class support
1998-12-20 01:17:50 +00:00
peterl%netscape.com
7bdfe8b5c1 implement multiple class support
implement attribute selector support
1998-12-20 01:17:05 +00:00
peterl%netscape.com
1742808c87 added case sensativity flag to attribute selectors 1998-12-20 01:16:20 +00:00
peterl%netscape.com
7c4d428475 fixes to attribute selector parsing 1998-12-20 01:15:18 +00:00
peterl%netscape.com
582b88e0ae fix background flags initial value
tweak table inheritance quirk
1998-12-20 01:11:36 +00:00
peterl%netscape.com
8200c3233f made get strength const 1998-12-20 01:08:31 +00:00
peterl%netscape.com
babdb0cd05 changed attribute api to take atoms & namespace 1998-12-20 01:08:13 +00:00
akkana%netscape.com
a34d223b25 Add a comment explaining ComparePoints 1998-12-18 23:13:25 +00:00
akkana%netscape.com
a6109b9b6d Fix startup crash -- when setting one endpoint with the other one null, collapse the range 1998-12-18 23:12:29 +00:00
michaelp%netscape.com
166576867e Fixed default hint for attribute changed - it wasn't being set.
Special-cased SRC attribute for nsHTMLImageElement.
1998-12-18 19:02:36 +00:00
kipp%netscape.com
40c2cfef07 Fixed numerous compiler warnings (hopefully) from the mac build 1998-12-18 17:34:34 +00:00
karnaze%netscape.com
00b411a715 added remaining dom methods 1998-12-18 17:05:17 +00:00
jfrancis%netscape.com
8f674885c0 More range gravity work 1998-12-18 09:32:40 +00:00
jfrancis%netscape.com
526ef0ab17 More range gravity work 1998-12-18 09:28:55 +00:00
troy%netscape.com
7f566a1613 Reverted back to previous revision, because I came up with a cleaner
solution
1998-12-18 05:23:40 +00:00
troy%netscape.com
4bd653681f Re-ordered the call to set the scroll frame's initial child list so that
the XML demos work again. This is really a temporary change until things
get fixed right...
1998-12-18 04:59:14 +00:00
scc%netscape.com
ba11eb34ad Added static IID() method. This member function will be generated automatically in the future. 1998-12-18 03:43:29 +00:00
troy%netscape.com
55fb6b65be Changed static casts so they compiled under VC 6.0 1998-12-18 03:29:51 +00:00
jfrancis%netscape.com
22ca77073e More range gravity work 1998-12-18 02:51:34 +00:00
vidur%netscape.com
ef7751a987 Added asynchronous script and style loading to XML. Moved out stream loader to netlib. 1998-12-18 01:36:41 +00:00
rods%netscape.com
3612ea4cf4 Fixed a bug I created in GetStyleHintForAttributeChange 1998-12-17 16:38:43 +00:00
rods%netscape.com
5cf287a727 Added processing hint for the "value" attribute 1998-12-17 15:27:01 +00:00
jfrancis%netscape.com
94524bd1cb Adding support for notifying content that it harbors a DOMRange. 1998-12-17 07:22:28 +00:00
sfraser%netscape.com
2917ee35b3 Add ; after class definition 1998-12-17 01:42:02 +00:00
rods%netscape.com
fc330ef44a Changed GetStyleHintForAttributeChange to return NS_STYLE_HINT_CONTENT
when there is a widget and return NS_STYLE_HINT_REFLOW when there isn't
1998-12-17 00:24:58 +00:00
buster%netscape.com
f4e91e426d oops, there were duplicate entries for border collapse values. Now there's not. 1998-12-16 22:20:44 +00:00
akkana%netscape.com
4b2fbb6849 Adding public routine ComparePoints for mjudge 1998-12-16 18:36:48 +00:00
beard%netscape.com
6dd88d5041 Fixed case of nsIHttpURL.h 1998-12-16 08:56:10 +00:00
warren%netscape.com
0580a8e5c4 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
jfrancis%netscape.com
e140fbcd98 ComparePointToRange() now reuses IsIncreasing functionality; also fixed a for loop in DeleteContents() 1998-12-15 23:58:09 +00:00
akkana%netscape.com
753ece449f Initial stab at CloneContents implementation 1998-12-15 18:47:44 +00:00
kipp%netscape.com
b4dfff8ca9 Added absmiddle to table halign values 1998-12-15 17:58:59 +00:00
kipp%netscape.com
a39ac58396 Map align=center to auto side margins 1998-12-15 17:58:45 +00:00
shaver%netscape.com
30635270f8 Add --enable-debug=module1,module2 to selective turn on debugging.
Remove --enable-dom, because Mariner is dead (sob).
Rename some MODULE= lines to make the afore-mentioned --enable-debug
technique actually useful.  Feel free to recategorize.
Fix libraptorhtml.so link bogosity by disabling shared lib generation for the
sub-archives (libraptor*_s.a), so that we can put bin before lib in the
library path and still get the right effect.  We could disable static-lib
generation in most other places and cut the build time down a fair bit, too.
[NOTE: I'm getting on a train...msw@gimp.org has agreed to be my tinderbox
buddy.  Thanks, Matt!]
1998-12-15 16:32:37 +00:00
vidur%netscape.com
fd093d0d82 Enabled asynchronous loading of SCRIPT SRC=, STYLE SRC= and LINK elements for style sheets. Changed nsIScriptContext to not be dependent on JavaScript. 1998-12-15 06:10:59 +00:00
jfrancis%netscape.com
6a7b88171d implemented toString() + minor fixmeups 1998-12-15 04:42:29 +00:00
jfrancis%netscape.com
d12bffd83f adding nsContentIterator 1998-12-14 23:17:52 +00:00
jfrancis%netscape.com
2c9b124126 First Checked In. 1998-12-14 23:16:31 +00:00
mjudge%netscape.com
2f5ca67ece adding in selection 1998-12-14 18:34:14 +00:00
av%netscape.com
080a4bf40d Making object tag to display alternative context 1998-12-13 21:44:55 +00:00
vidur%netscape.com
3a9dd64bbf Work in progress of async loading of SCRIPT and STYLE with SRC attributes. Content sinks can now return a BLOCK_PARSER return code, forcing the parser to block. nsIParser::EnableParser can be used to unblock. Also introduced nsIContentSink::SetParser. 1998-12-11 17:02:37 +00:00
peterl%netscape.com
5b4cdf46ee moved name space management to name space manager, tweaked apis 1998-12-11 02:53:49 +00:00
peterl%netscape.com
e54b306cf1 added css atoms 1998-12-11 02:51:05 +00:00
peterl%netscape.com
11b7d1b081 added support for CSS2 selector syntax 1998-12-11 02:50:43 +00:00
peterl%netscape.com
025b5533c7 support for CSS2 selector systax 1998-12-11 02:50:01 +00:00
peterl%netscape.com
a16ab20767 added case sensativity switch 1998-12-11 02:48:40 +00:00
peterl%netscape.com
d256c41dce sync css selector output to new selector syntax 1998-12-11 02:48:00 +00:00