Commit Graph

794 Commits

Author SHA1 Message Date
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
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
peterl%netscape.com
37624b3834 fixed a leak of an input stream 1999-01-23 19:28:09 +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
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
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
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
hyatt%netscape.com
32b7e34970 Adding support for the widget tag to XUL. 1999-01-21 09:26:01 +00:00
danm%netscape.com
23f9c7d07f create XUL frames 1999-01-21 03:37:37 +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
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
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
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
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
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
kipp%netscape.com
cd76455b98 Use new flag defines 1999-01-12 16:42:03 +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
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
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
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
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
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
troy%netscape.com
3d957f5d86 Improved GetAbsoluteContainingBlock() a bit. It still needs to handle scrolled
elements
1999-01-05 05:51:22 +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
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
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
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