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

3812 Коммитов

Автор SHA1 Сообщение Дата
mcafee%netscape.com 94d5a492ea TestSpaceManager now builds on Linux 1999-02-02 03:31:44 +00:00
mcafee%netscape.com 14f3ed03d3 I can't find nscoord.h, yanking this for Linux 1999-02-02 03:30:38 +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
sfraser%netscape.com dc69b753a1 Add method to nsIDOMSelection to get focus and anchor nodes and offsets, and implemenations for these in nsRangeList.cpp 1999-02-02 02:13:09 +00:00
mjudge%netscape.com ceb08a0190 scoping incorrect for for loops on vc5.0 didnt catch this. nasty habbit of mine. 1999-02-02 01:18:41 +00:00
mjudge%netscape.com d8dc98b1ba commas trailing on enum illegal even if vc50 says its ok 1999-02-02 01:16:57 +00:00
mjudge%netscape.com cd2d3d137c keyboard navigation of selection. adding API for nsIFrame. fixing nsFrame and nstextframe to reflect the implementations of the nsIFrame API. nsRangeList implements the handlekeyevent now. 1999-02-02 00:23:40 +00:00
kmcclusk%netscape.com d71b7f88d5 TextAreas now initialize their content area using default text specified in
the HTML File.
1999-02-01 23:49:21 +00:00
kmcclusk%netscape.com ab7e565d59 Modified nsTextControlFrame::Paint to correctly paint the contents of a
multi-line text area.
1999-02-01 23:09:06 +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
kipp%netscape.com c529fc11be Fixed invocation bug that mac compiler caught 1999-02-01 19:08:30 +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 f1c963f7b5 Made sure that fixed positioned elements gets a widget 1999-02-01 18:36:23 +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 e88d265480 new 1999-02-01 17:37:11 +00:00
kipp%netscape.com 42312a552c Fixed pseudo style atom value 1999-02-01 17:34:31 +00:00
kipp%netscape.com 1f09f944d9 Added anonymous block style rule 1999-02-01 17:34:16 +00:00
kipp%netscape.com b23b120a19 Implement TreatFrameAsBlock 1999-02-01 17:32:49 +00:00
kipp%netscape.com 12322a8a10 Added another TreatFrameAsBlock method 1999-02-01 17:32:33 +00:00
kipp%netscape.com e6c0c373a9 Updated a comment 1999-02-01 17:32:19 +00:00
kipp%netscape.com a548c870f8 Minor bug fixing; reworked PullFrame; added VerifyParent 1999-02-01 17:32:05 +00:00
kipp%netscape.com ddc318eee2 Added some comments :-) 1999-02-01 17:31:37 +00:00
kipp%netscape.com c2a13558a4 Removed ReplaceFrame 1999-02-01 17:31:21 +00:00
kipp%netscape.com 0887e5eedf Removed ReplaceFrame; tweaked frame updates impls 1999-02-01 17:31:10 +00:00
kipp%netscape.com bcca9bcff4 Fixed up debug output 1999-02-01 17:29:58 +00:00
kipp%netscape.com 50b6da75a7 Implement anonymous block frame code; fixup base class InsertNewFrames to support multiple frame insertion 1999-02-01 17:29:37 +00:00
kipp%netscape.com 859dde6287 Renamed InsertNewFrame->s; defined nsAnonymousBlock class 1999-02-01 17:28:39 +00:00
kipp%netscape.com 7e4600613e Rewritten to use an anon. block frame to manage block children 1999-02-01 17:27:56 +00:00
kipp%netscape.com 64610329f0 Cleaned up comments; removed ReplaceFrame from the API 1999-02-01 17:25:30 +00:00
troy%netscape.com acbe598a4f Fixed logic that determines whether there's currently a visible vertical
scrollbar
1999-02-01 16:32:54 +00:00
rickg%netscape.com 06970832e3 mondo improvements to DTD 1999-02-01 04:24:37 +00:00
troy%netscape.com ffda88e293 Removed some merge conflicts that someone must have accidentally checked in 1999-01-31 19:50:52 +00:00
troy%netscape.com f987894585 Changed Reflow() to make sure the desired-size members of the reflow metrics
struct are set in the case where there is no child frame
1999-01-31 18:46:22 +00:00
mcafee%netscape.com 94fe9213e9 Removing unnecessary rules, cleaning this up a bit 1999-01-31 09:39:09 +00:00
troy%netscape.com 25be57b96c Fix for bug# 2780: changed root-frame and scroll-frame code to take into
account mCombinedArea
1999-01-31 05:12:02 +00:00
troy%netscape.com 7c0d5680c3 Changed ReflowFixedFrame() to take the computed left and top margin into
account when placing the child
1999-01-31 05:09:29 +00:00
troy%netscape.com 051df63e8f Added code to force an absolutely positioned child that ignored its
computed height to be the correct height
1999-01-30 18:12:38 +00:00
troy%netscape.com 5cd1cbadbf Added code to make sure that a fixed child frame ends up with the correct height
evebn if it disregards the computed height value
1999-01-30 17:39:29 +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
troy%netscape.com f2d3dd631e Fixed leak of nsIHTMLDocument interface in GetImageMap() 1999-01-30 01:04:35 +00:00
akkana%netscape.com 6db99a172d Add IsCollapsed; add collapsed case to DeleteFromDocument 1999-01-30 01:02:44 +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 bb2686580f Changed TriggerLink() to release its reference to the nsILinkHandler interface,
and I changed HandleEvent() to make nsIURL interface returned by the call to
GetDocumentURL() is released
1999-01-30 00:34:06 +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 1f23bcc408 Fixing my build horkage ... forgot this file. Very sorry! 1999-01-29 20:08:38 +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
buster%netscape.com 3f9d48c279 fixed a nasty bug where some incremental reflow cases of a table with collapsing borders would crash.
One example of the crash is changing the style of a cell via DOM.
Also fixed an error in the API of nsTableColFrame
1999-01-29 18:49:32 +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 acc552124f Fixed memory leak of a nsRadioControlGroup object 1999-01-29 06:01:15 +00:00
troy%netscape.com 94cf1a6dcd Fixed memory leak of AREA content object in ProcessAREATag() 1999-01-29 05:37:45 +00:00
troy%netscape.com cd804349fe Fixed a couple of memory leaks 1999-01-29 05:05:02 +00:00
troy%netscape.com 01b9469528 Fix for bug #2743. Improved the logic which predicts whether a vertical scrollbar
is needed
1999-01-29 04:29:10 +00:00
pinkerton%netscape.com aeca994050 Don't hardcode twip size. 1999-01-29 02:01:16 +00:00
hyatt%netscape.com 447fcbbc12 Using the attribute selector instead. 1999-01-29 00:58:01 +00:00
pinkerton%netscape.com e4838d11c4 Grippies now handle rollover and respect css styles. 1999-01-28 23:58:18 +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 affac5fac7 Modified GetText to take extra paramater to indicate whether it should return
the current text value or the initial text value
1999-01-28 21:58:01 +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
troy%netscape.com 78d4cd7331 More work-in-progress for fixed positioning 1999-01-28 17:14:13 +00:00
michaelp%netscape.com 0084e8879d modified for new DrawString()/GetWidth() APIs. 1999-01-28 05:03:58 +00:00
kmcclusk%netscape.com 5a79b5eb07 Call GetDefaultValue instead of GetCurrentValue in GetChecked when the aGetInitialValue
flag is set to TRUE.
1999-01-28 00:43:49 +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
harishd%netscape.com 82420c7328 Changing the variable aElementColor to aBorderColor in Painborder(),
PaintBorderEdge(), DrawSide(), and MakeBevelColor().
The computed colors for all the  border style should be based on
the actual 'border-side-color' not the element's color after all.
1999-01-28 00:31:47 +00:00
buster%netscape.com e7df15b90b primarily comments and documentation
also removed nsTableFrame::QueryInterface() because it was just extraneous, and it made
an assumption about what class nsTableFrame derives from.  Let the vtable do its work...
1999-01-27 19:29:24 +00:00
kmcclusk%netscape.com 87b47319d8 Replaced defaultchecked with checked 1999-01-27 19:19:07 +00:00
pinkerton%netscape.com 5e4fa9e2d6 make toolbars a little wider in their parent frame. 1999-01-27 19:15:01 +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 9eef28cab4 Improvements to the tree widget to implement expanding and collapsing
nodes.
1999-01-27 12:17:35 +00:00
hyatt%netscape.com 104e6beaba Implemented selection in the tree view. 1999-01-27 10:10:37 +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 74497032ef Adding nsTreeCellFrame.cpp to project. 1999-01-27 07:46:10 +00:00
hyatt%netscape.com 2608a14608 Adding tree cell frame. 1999-01-27 07:31:14 +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 1741d8cae3 Changed Reflow() to take into account absolutely positioned child
frames when computing the desired size
1999-01-27 05:58:43 +00:00
troy%netscape.com ff371f2925 Added work-in-progress for 'fixed' positioning 1999-01-27 05:37:55 +00:00
troy%netscape.com fd60d0f87e Added helper function IsAbsolutelyPositioned() to nsStylePosition 1999-01-27 05:35:54 +00:00
rods%netscape.com 45ef69a207 Added BUTTON.ROLLOVER and BUTTON.DIABLED pseudo-classes 1999-01-27 04:22:35 +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
rods%netscape.com f065094abf Added rollover pseudo-class processing for mouse enter and exit 1999-01-27 04:09:12 +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
pollmann%netscape.com d088640ae9 Bug 1958: Submit value for checkboxes or "on" for checkboxes with no value. 1999-01-27 02:33:16 +00:00
mjudge%netscape.com db58635679 Must allow for the fact that content may be nsnull in ALL cases. 1999-01-27 02:15:38 +00:00
pinkerton%netscape.com 2549f2d4dd Got reflow working so that it lays out its children one right after the other, leaving room for a grippy to be drawn. 1999-01-27 02:11:07 +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
waterson%netscape.com 98efa72355 Exposed EventListenerManager. 1999-01-27 00:58:49 +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
pollmann%netscape.com 2e602c76d7 Bug 1958: Submit x, y coords for unnamed image elements. Submit coords only once. 1999-01-27 00:25:40 +00:00
vidur%netscape.com 995b47b08a First pass implementation of document.implementation 1999-01-27 00:12:33 +00:00
mjudge%netscape.com 82a538fe8c Fixing rangelist to look at frame content not the frame hierarchy do decide if you clicked on the background frame. 1999-01-26 23:49:17 +00:00
kmcclusk%netscape.com e342fc0ca1 Added GetPrimaryFrame utility method. 1999-01-26 23:43:52 +00:00
pollmann%netscape.com 34845beb96 Bug 2279: Don't create widgets for hidden form elements. 1999-01-26 22:11:59 +00:00
troy%netscape.com 2fb9c64835 Fixed a problem in CalculateLeftRightMargin() 1999-01-26 16:34:08 +00:00
rpotts%netscape.com f1724f97b9 The AttributeChanged(...) method of all form controls now call their base class AttributeChanged() method. Also implemented the disabled attribute in the base class... 1999-01-26 07:57:54 +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
rickg%netscape.com e53c0df266 missed this API change 1999-01-26 01:45:40 +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 0259257541 Adding support for tree indentation. nsTreeIndentation.cpp 1999-01-26 01:20:28 +00:00
hyatt%netscape.com 2ce7b53770 Added support for tree indentation. 1999-01-26 01:12:51 +00:00
mjudge%netscape.com 91be934323 oops ifdef 0 is bad should be if 0 1999-01-26 01:01:56 +00:00
mjudge%netscape.com bec224216c turning off printf debug statements in debug to speed up resizing 1999-01-26 00:40:39 +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
mjudge%netscape.com 9bb5d8a906 changing paintunicodestring and paintasciistring to map from content coordinates to painttext coordinatres. in get position, i am now mapping from paint coordinates to content coordinates. also, the frames themselves now set the focus and anchor for a nsIFocusTracker passed in object. 1999-01-25 23:29:53 +00:00
mjudge%netscape.com 16720c497b keeping the selection code pure by not knowing anything about the graphic representation of the selection. just offset to offset. adding code to reselect the anchor and focus frame in the nsIFocusTracker by passing it to the nsIFrame setselectedcontent method. 1999-01-25 23:28:59 +00:00
mjudge%netscape.com 5ac012630e adding parameters to setselectedcontent. This will keep down overhead of the nsIFrame implementation and still not allow outsiders to talk to their presshell. so please forgive this grown method. this extra parameter will maintain the anchor and focus point after reflow 1999-01-25 23:28:23 +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
kmcclusk%netscape.com 4f72556760 Added SetProperty/GetProperty methods to nsIFormControlFrame. Added stub
implementations for all classes that derive from nsIFormControlFrame
1999-01-25 22:16:27 +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
amusil%netscape.com 43c91b3dff *** empty log message *** 1999-01-25 10:10:29 +00:00
sudu%netscape.com c94385ee94 OJI MozClassic to raptor merge 1999-01-25 08:05:00 +00:00
mjudge%netscape.com 110a084f10 adding same code to paintAscii as i did to paintUnicode 1999-01-25 01:53:40 +00:00
mjudge%netscape.com 55f9005e7a ok I am changing nsPresShell to "do the right thing". The virtual methods to support nsIFocusTracker needed to use the MACROS the same as the rest of the methods. I also moved the growing inline methods to their own method declarations. pres shell also needs to send itself as a focus tracker to "reset selection" to allow a callback to reset the frames that will be the focus and anchor frames for the future. getting frames from content is easy, getting the exact frame with an offset as well is difficult. nsTextFrame does some funny things with whitespaces that was throwing off the selection code. one minute the beginning of a word is offset 1 then it grows to 2 if the whitespace on the previous line wraps. I also put limits on the selection drawing. the drawing was happening after reflow, but before reset selection. this made the selection drawing extend beyond the legal limits of the "textlength". P.S. since the paint unicode and paint ascii are so similar, is it better to make a helper func to do the common things? or maybe make another method just to save namespace? 1999-01-25 01:48:01 +00:00
mjudge%netscape.com 58db313754 Focus tracker needs to send the tracker to the implementation of selection so that it can update the tracker as to which frame(s) should be considered the focus frames ect. This is not yet working fully. Everything I am checking in will stay, I simply have a decision to make as to exactly what to do next. RangeList also had some modifications to better selection 1999-01-25 01:42:34 +00:00
pierre%netscape.com 0c1e5ae10f added nsViewportFrame.cpp for Troy 1999-01-24 22:01:58 +00:00
troy%netscape.com b3714ebc19 Initial check-in 1999-01-24 20:36:46 +00:00
mjudge%netscape.com cb811b7c69 This checkin will stop the double addref to the incomming ranges. The problem was that the changing of the old array of voids and the nsVoidPtr array do NOT addref whereas the nsISupportsArray DOES! I suspected as much. I have removed the offending code and I believe this should make selection much cleaner. 1999-01-23 20:43:13 +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 62bc285367 added helper methods for selecting & querying alternate style sheets 1999-01-23 07:03:46 +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 0a224a2382 simplified setting doc style sheets (set now manages ordering) 1999-01-23 07:01:02 +00:00
peterl%netscape.com 50635cc188 added accessors to get & set alternate style sheets 1999-01-23 07:00:39 +00:00
peterl%netscape.com b8cf627e7d added header data accesors 1999-01-23 07:00:10 +00:00
troy%netscape.com b8e3d41dab Part of the fix for bug #2502. For the time being mark relative/absolute positioned
views as having transparent content
1999-01-23 05:47:55 +00:00
troy%netscape.com 0a2d359c38 Added check for unconstrained width/height of the containing block when
computing 'offsets'
1999-01-23 04:49:15 +00:00
troy%netscape.com efc7c95a53 Added XXX comment indicating that the #if 0 code in Init() is causing
a memory leak...
1999-01-23 02:38:16 +00:00
akkana%netscape.com 581ab7e058 remove some verbose debugging messages 1999-01-23 00:38:54 +00:00
troy%netscape.com 3cca5e2907 Turned off debug message that was outputing to the console 1999-01-23 00:20:58 +00:00
vidur%netscape.com f7657749c8 Implemented splitText for text nodes 1999-01-23 00:10:08 +00:00
akkana%netscape.com 56752ba2ed 2028: Get selection highlighting working on Linux 1999-01-23 00:00:46 +00:00
troy%netscape.com ff22a7c1f6 Fixed ReflowTemp() so it's doing a legal incremental reflow, and changed
Reflow() so it does a minimally acceptable job of handling incremental reflow
commands...
1999-01-22 23:10:02 +00:00
troy%netscape.com eab0e22fa7 Changed Reflow() to make sure we remove the reflow command for
incremental reflow commands passing through us
1999-01-22 23:08:42 +00:00
troy%netscape.com 626cdf9ca8 Changed ContentChanged() to generate a reflow command 1999-01-22 23:07:09 +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 eb58eec877 StyleContext passed onto PaintBorder() 1999-01-22 22:38:34 +00:00
harishd%netscape.com 123e7f3a4c StyleContext passed onto PaintBorder()/PaintArrow() 1999-01-22 22:35:12 +00:00
harishd%netscape.com baf7b197c8 StyleContext passed onto PaintArrow() 1999-01-22 22:34:28 +00:00
harishd%netscape.com 2d6c909024 styleContext is passed onto PaintBorder()/PaintArrow() 1999-01-22 22:31:15 +00:00
harishd%netscape.com c53ae7e35c StyleContext info. is passed on into PaintBorder() 1999-01-22 22:30:02 +00:00
harishd%netscape.com 86da618186 Stylecontext is passed to PaintBorder() 1999-01-22 22:28:12 +00:00
harishd%netscape.com 11e90148bb PaintBorder() method has stylecontext info. 1999-01-22 22:27:19 +00:00
harishd%netscape.com d913194001 PaintBorder() modified to accept styleContext 1999-01-22 22:26:29 +00:00
harishd%netscape.com 7daec328c6 Passing styleContext info. to PaintBorder(). 1999-01-22 22:25:58 +00:00
harishd%netscape.com 317d0d7c4e Passing stylecontext into Paintborder() 1999-01-22 22:25:00 +00:00
harishd%netscape.com abbf50e310 Got stylecontext info into PaintBorder() for displaying
CSS borders.
1999-01-22 22:24:05 +00:00
harishd%netscape.com 69aa3480e6 Modified the PaintBorder(), MakeBevelColor(), DrawSide(),
PaintBorderEdge() methods.
1999-01-22 22:22:26 +00:00
kmcclusk%netscape.com eb492feecc Removed code which set the defaultchecked from the checked attribute. 1999-01-22 22:14:58 +00:00
mjudge%netscape.com ee295b609b selection rocks ass 1999-01-22 22:04:54 +00:00
kmcclusk%netscape.com a10ae5d40d Removed nsIFormControLFrame.h since it now lives in public 1999-01-22 19:22:37 +00:00
kmcclusk%netscape.com 53cd03fe10 Added missing methods to nsIFormControlFrame.h 1999-01-22 19:10:10 +00:00
mjudge%netscape.com 769d4b5a86 chagnes for selection to work 1999-01-22 18:58:14 +00:00
troy%netscape.com 3bd7fc220f Added XXX comment for ReResolveStyleContext() 1999-01-22 18:23:06 +00:00
kmcclusk%netscape.com 5c1dc21ebc Added export of nsIFormControlFrame.h for the MAC build 1999-01-22 18:21:39 +00:00
kmcclusk%netscape.com 138bea4c6e Modified Linux and Mac to export nsIFormControlFrame.h 1999-01-22 18:19:12 +00:00
kmcclusk%netscape.com d5fa03d72d Added nsIFormControlFrame to the set of files to export 1999-01-22 18:14:23 +00:00
dcone%netscape.com 0a32664a87 nsFormcontrolHelper.cpp nsListControlFrame.cpp nsCombboxcontrolframe.cpp 1999-01-22 16:08:52 +00:00
dcone%netscape.com 313f995cc4 First Checked In. 1999-01-22 16:04:08 +00:00
rods%netscape.com 5d1dc74549 Ifdef'ed out the Pluggable event code 1999-01-22 15:56:21 +00:00
rods%netscape.com dc02794a78 Initial checkin factored code from nsFormControlFrame 1999-01-22 15:47:33 +00:00
rods%netscape.com 43d1411897 initial checkin 1999-01-22 15:41:28 +00:00
rods%netscape.com b38434e04d Added nsIListControlFrame.h and nsComboboxControlFrame.h 1999-01-22 15:41:05 +00:00
rods%netscape.com 1edca9201b Added methods for creating ListControlFrame and ComboxControlFrames 1999-01-22 15:34:13 +00:00
rods%netscape.com 64f5a23191 Factored out code for helper functions for determining size and for rendering 1999-01-22 15:32:57 +00:00
rods%netscape.com fb3dd31b04 Added nsComboboxControlFrame nsListControlFrame 1999-01-22 15:32:34 +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
rods%netscape.com 4b464ba323 Removed the class def and put it in a new header nsScrollFrame.h 1999-01-22 15:23:51 +00:00
rods%netscape.com 1b7ed67e2d Initial checkin the code was in nsScrollFrame.cpp 1999-01-22 15:23:15 +00:00
jfrancis%netscape.com 87e977ff11 efficiency improvement to ComparePointToRange() 1999-01-22 08:59:26 +00:00
ramiro%netscape.com 127039e271 Ignore generated files. 1999-01-22 06:33:54 +00:00
ramiro%netscape.com 0dc7352944 Add -I flags to pick up the right style and html base headers. 1999-01-22 06:00:21 +00:00
ramiro%netscape.com a49bd4ab11 Add base to DIRS. 1999-01-22 05:59:42 +00:00
hyatt%netscape.com 1a1e8bfce6 Adding linkage for the XUL base library. 1999-01-22 04:15:29 +00:00
troy%netscape.com a1161339c0 Correction to how offsets are computed for relatively positioned elements 1999-01-22 04:12:03 +00:00
pinkerton%netscape.com 9229101e5c hooking toolbars and toolbox back up. Sigh. 1999-01-22 04:04:12 +00:00
hyatt%netscape.com ca42fdca04 added nsTreeFrame.cpp to xul/base 1999-01-22 03:40:32 +00:00
hyatt%netscape.com 04e54ba6e0 Tweak to make the XUL base library build. 1999-01-22 03:34:41 +00:00
hyatt%netscape.com 52ef97fc7c Added support for tree frame instantiation. 1999-01-22 03:31:56 +00:00
hyatt%netscape.com cc7ccabaff Adding the tree frame class. 1999-01-22 03:28:29 +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
cyeh%netscape.com 80f6a5a6d0 wrap !ifdef MOZ_DEBUG around custom .cpp rule so that if you are building optimized with
debug symbols, the rule doesn't go looking for PDB files that don't exist.
approved: kipp
1999-01-22 01:41:27 +00:00
pinkerton%netscape.com 8f02167e41 Work to get these instantiated. 1999-01-22 01:10:28 +00:00
troy%netscape.com 41250f6f85 Made handling of absolutely positioned child frames more efficient 1999-01-22 00:30:27 +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
pinkerton%netscape.com 49074672b7 remove file that shouldn't be there. mea culpa. 1999-01-21 19:25:25 +00:00
pinkerton%netscape.com 630671555e not building the base dir for now. 1999-01-21 18:56:49 +00:00
pinkerton%netscape.com 866e236afb change lib name 1999-01-21 18:44:19 +00:00
pinkerton%netscape.com 96cfc09c71 start building the base directory 1999-01-21 18:36:33 +00:00
pinkerton%netscape.com a01dfb0d0e added xul/base group and nsToolbarFrame.cpp and nsToolboxFrame.cpp 1999-01-21 18:33:29 +00:00
pinkerton%netscape.com 124c208005 get compiling 1999-01-21 18:31:48 +00:00
pinkerton%netscape.com f5582fcc95 First Checked In. 1999-01-21 18:31:39 +00:00
pinkerton%netscape.com 9112196e08 First Checked In. 1999-01-21 16:11:40 +00:00
pinkerton%netscape.com a7255be50d Moving to base/src to mimic rest of layout. 1999-01-21 16:10:03 +00:00
rpotts%netscape.com 3aad0278d5 Added support for setting the DISABLED attrivute via the DOM... 1999-01-21 09:51:28 +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
pinkerton%netscape.com 31d98fe667 First Checked In. 1999-01-21 05:49:24 +00:00
pollmann%netscape.com 04c59f0085 Bug 2279: Don't create widgets for hidden form elements. 1999-01-21 04:02:37 +00:00
danm%netscape.com 9f5ec1acde build XUL 1999-01-21 03:51:16 +00:00
danm%netscape.com e89787a2e7 build xul 1999-01-21 03:41:43 +00:00
danm%netscape.com e90a90f02e build XUL 1999-01-21 03:40:21 +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 d42a3de04b added file xul/content/src/nsXULAtoms.cpp 1999-01-21 03:32:30 +00:00
pollmann%netscape.com 4ad4a7c1d6 Bug 1958: Fixing an apparent typo. 1999-01-21 03:09:25 +00:00
danm%netscape.com 57ae1e3dd3 new xul directory 1999-01-21 01:56:05 +00:00
buster%netscape.com c0c0ab4bbb put in Mike's change to Clear the selection when we take focus
this fixes the bug that the collection of ranges was monotonically increasing to infinity
as you clicked around in the document.
1999-01-20 23:23:28 +00:00
buster%netscape.com fc8952dd64 fixed bug 2516. The InitChildList code needed to check display types before
assigning the mCaptionFrame member variable.
1999-01-20 07:27:06 +00:00
troy%netscape.com 0f8e34e2e2 Added additional parameter to GetNext() that specifies whether the frame is
removed from the path. This allows peeking at the next frame in the reflow
chain
1999-01-20 05:11:17 +00:00
troy%netscape.com e875904fe9 Added additional parameter to GetNext() that allows peeking at the next
frame in the reflow command
1999-01-20 05:10:12 +00:00
troy%netscape.com 4dd1d39c67 Added XXX reminder for myself 1999-01-20 04:50:35 +00:00
troy%netscape.com 174494f84c Removed some scroll related logic that was causing computed widths to be
computed incorrectly. Now the scroll frame handles it
1999-01-20 03:43:33 +00:00
vidur%netscape.com 6748215978 Fixing build bustage 1999-01-20 00:50:07 +00:00
mjudge%netscape.com d52a50ae45 fiximg text selection for frames in frames 1999-01-19 23:36:06 +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
mjudge%netscape.com f6b3ddb015 fixing selection a little 1999-01-19 17:41:08 +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
pinkerton%netscape.com f53f3619cd added nsGenericDomNodeList.cpp 1999-01-19 16:39:10 +00:00
vidur%netscape.com 792728fe8b new file - base class for other node lists 1999-01-19 15:50:20 +00:00
mjudge%netscape.com dd0328320e selection should work now more or less 1999-01-19 06:42:39 +00:00
troy%netscape.com 36158ba506 Changed it so the DidReflow() temporary hack doesn't apply to scrolled
frames
1999-01-19 06:00:08 +00:00
troy%netscape.com ac82f1774c Fixed it so computedHeight is correctly computed 1999-01-19 05:59:24 +00:00
troy%netscape.com aebbda5000 Minor cleanup 1999-01-19 05:18:26 +00:00
troy%netscape.com 0c55cb8b0e Part of the fix for bug #2485 1999-01-19 05:17:39 +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
mjudge%netscape.com aba9473cdf fixing linux 1999-01-19 01:00:31 +00:00
mjudge%netscape.com e46eacb369 update for linux 1999-01-19 00:40:38 +00:00
mjudge%netscape.com 5d5d6e1e5d trying to fix linux.. 1999-01-19 00:32:51 +00:00
mjudge%netscape.com 603ddb2c0a test check 1999-01-19 00:13:07 +00:00
buster%netscape.com 45846b7bca workaround for bug 2476: check for null child list before calling nsFrameList::AppendFrames 1999-01-18 23:54:23 +00:00
mjudge%netscape.com 34430366b2 Files for selection across frames. 1999-01-18 22:57:12 +00:00
troy%netscape.com 48365eb8a1 Changed to position absolute child elements relative to the padding edge not the
border edge
1999-01-18 19:30:42 +00:00
troy%netscape.com a855ea42a4 Improvements to absolute positioning code 1999-01-18 17:27:27 +00:00
troy%netscape.com 3af8d238b7 Initial check-in 1999-01-18 17:26:49 +00:00
rods%netscape.com 99b3af960d Initial checkin 1999-01-18 15:14:00 +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
troy%netscape.com 685b7256a3 Fix for bug #2450; 'padding' wasn't getting handled properly 1999-01-18 00:48:59 +00:00
karnaze%netscape.com 7b139f6c8e scrollable row groups 1999-01-17 23:35:56 +00:00
troy%netscape.com e805654323 Added 'computedMargin' to nsHTMLReflowState, which replaced the individual
margin values (e.g., computedLeftMargin)
1999-01-17 05:43:02 +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
troy%netscape.com 7103b076b4 Changed nsHTMLReflowState to compute 'offsets' for relatively positioned
elements
1999-01-16 20:58:17 +00:00
hyatt%netscape.com ab7046faba Added code to support CLSID instantiation. Approved by amusil and av. 1999-01-16 02:43:51 +00:00
kipp%netscape.com 418cd0251c Removed List code now that base class dumps all child lists 1999-01-16 00:19:30 +00:00
kipp%netscape.com 10f24c7ebf Update List implementations to use GetAdditionalChildLists so that all lists of children are dumped out automatically 1999-01-16 00:19:10 +00:00
kipp%netscape.com 7f96144059 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +00:00
sfraser%netscape.com 13930cd646 Fix build bustage. 1999-01-15 23:47:23 +00:00
kipp%netscape.com f5a62509c1 new 1999-01-15 22:53:51 +00:00
kipp%netscape.com 4243726f6a Switch to using nsFrameList for frame lists 1999-01-15 22:53:39 +00:00
kipp%netscape.com 065905fa0b Used revised version of nsContainerFrame that uses an nsFrameList instead of a raw nsIFrame* 1999-01-15 22:52:05 +00:00
joki%netscape.com fd239d7a9b Fix bogus return value on GetImageMap 1999-01-15 22:26:30 +00:00
harishd%netscape.com 0c5b75e5d4 Added two new border style defines that
would be used later.
1999-01-15 22:24:29 +00:00
michaelp%netscape.com 176f1f8e82 fixed busted javascript. 1999-01-15 22:16:40 +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
buster%netscape.com 952eb9a53e comments and removal of dead code 1999-01-15 19:55:19 +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
troy%netscape.com 6d63084a70 Fix for bug #1998. Now we render the background image over the padding area and not over the border area 1999-01-15 18:25:58 +00:00
kipp%netscape.com 73cb7e9384 Fixed absolute positioning bug I introduced in my last checkin 1999-01-15 17:33:00 +00:00
troy%netscape.com e075d4bfbc Fixed an assert that was getting hit for absolutely positioned elements 1999-01-15 04:28:17 +00:00
pierre%netscape.com c0847f7e1e added html/base/src/nsFrameList.cpp for Kipp 1999-01-15 03:51:15 +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
peterl%netscape.com 9da8904e62 added style hint "none"
Checkin during red tree approved by sar
1999-01-15 01:53:03 +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
kipp%netscape.com a1c6f729a4 Implement temporary versions of AppendFrames/InsertFrames/RemoveFrame; stub out ReplaceFrame 1999-01-15 01:29:15 +00:00
kipp%netscape.com 173b41fc39 Added nsFrameList to the build 1999-01-15 01:28:46 +00:00
kipp%netscape.com 6302998324 Added append/insert/remove/replace methods 1999-01-15 01:28:28 +00:00
kipp%netscape.com 5c160586ce new 1999-01-15 01:28:07 +00:00
sfraser%netscape.com 524b4090da Fix a couple of warnings by making callbacks static. 1999-01-14 23:37:57 +00:00
sfraser%netscape.com 10008ae720 Moved nsTextNode.cpp, nsCommentNode.cpp, nsGenericDOMDataNode.cpp from html/content to base (for vidur) 1999-01-14 23:37:18 +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
troy%netscape.com f332dc3305 Re-committing my fucking changes... 1999-01-13 00:38:29 +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
troy%netscape.com 72f689c40f Moved a NS_RELEASE to a different point so we're less likely to have a non-local exit
miss the release
1999-01-12 23:17:20 +00:00
pollmann%netscape.com fbbcce31c9 Bug 2234: Crash on JS Submit(). 1999-01-12 23:11:26 +00:00
dcone%netscape.com 338936ac7f Added files nsDomAttribute.cpp, nsDomAttributeMap.cpp, nsGenericXMLElement.cpp 1999-01-12 16:54:30 +00:00
kipp%netscape.com cd76455b98 Use new flag defines 1999-01-12 16:42:03 +00:00
kipp%netscape.com 3c5005ec2d Clean up block frame flags 1999-01-12 16:41:30 +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
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
troy%netscape.com 4f14253e33 Turned off assert 1999-01-09 01:43:02 +00:00
rickg%netscape.com 8f11084fc8 sync up with mods to the parser 1999-01-09 01:11:37 +00:00
kipp%netscape.com 10a89709d7 new 1999-01-09 00:18:08 +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 75891f558f nuked 1999-01-09 00:14:17 +00:00
kipp%netscape.com 4fb3f00732 Removed a turd 1999-01-09 00:14:09 +00:00
kipp%netscape.com d1dd0f55bd Reworked to use dom content objects for holding the raw map data and observering content changes and updating the 'compiled' map 1999-01-09 00:13:53 +00:00
kipp%netscape.com 19e73d1f62 Use nsImageMap 1999-01-09 00:13:19 +00:00
kipp%netscape.com b8a8b7e309 Changed over to using nsImageMap instead of nsIImageMap 1999-01-09 00:12:49 +00:00
kipp%netscape.com 4cbb066ec7 Added new atom 1999-01-09 00:12:28 +00:00
kipp%netscape.com 1de1edbd74 Added defines and comments indicating which parts of the frames reflow state are reserved 1999-01-09 00:11:40 +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 c502a142cc Fix for bug #2040. Changed BODY to use margin and not padding now that #2054 is fixed 1999-01-08 02:51:07 +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 53c57c79a1 Added BackgroundIsTransparent() member function to nsStyleColor 1999-01-08 01:13:34 +00:00
akkana%netscape.com 9249c01cfc Remove erroneous NOT_IMPLEMENTED return 1999-01-07 21:06:43 +00:00
rpotts%netscape.com 7b357b07fc Changes for the new EventQueueService... 1999-01-07 07:47:25 +00:00
troy%netscape.com 6d753e4c78 Changed to handle FrameRemoved reflow command for an absolutely positioned
child frame
1999-01-07 05:46:26 +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
troy%netscape.com b9a4ba7918 Fixed FindFrameWithContent() to do a better job of recognizing placeholder
frames and skipping them
1999-01-07 04:47:43 +00:00
buster%netscape.com ef57c474ae just documentation 1999-01-07 02:16:10 +00:00
karnaze%netscape.com c111662c1f Preliminary changes to support align="char" 1999-01-07 01:00:07 +00:00
akkana%netscape.com f1828152bf Fix Linux build 1999-01-06 21:18:47 +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 91a6767a69 added #include and removed extra copy of prototype 1999-01-06 19:58:01 +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 7bc19df3f9 reduce Macintosh compiler warnings by adding prototype 1999-01-06 18:53:59 +00:00
brade%netscape.com 2ad8ae0483 reduce Macintosh compiler warnings byadding prototype 1999-01-06 18:52:58 +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 e061c6cf15 reduce Macintosh compiler warnings by making functions static/private 1999-01-06 18:45:28 +00:00
brade%netscape.com 8727d91f50 reduce Macintosh compiler warnings by adding prototype 1999-01-06 18:44:59 +00:00
brade%netscape.com c79a8d793c reduce Macintosh compiler warnings by making function private 1999-01-06 18:43:39 +00:00
brade%netscape.com 960bcd5cfd reduce Macintosh compiler warnings by making functions private 1999-01-06 18:43:18 +00:00
brade%netscape.com 5f008f5785 reduce Macintosh compiler warnings by adding static to private function 1999-01-06 18:41:05 +00:00
brade%netscape.com 2c9cd20a7c reduce Macintosh compiler warnings by adding prototypes 1999-01-06 18:39:52 +00:00
troy%netscape.com 9ceceead01 This time I think I got 'em in alphabetical order... 1999-01-06 04:41:47 +00:00
troy%netscape.com 67c86e0b0b Did a better job of alphabetizing the source files 1999-01-06 04:39:33 +00:00
troy%netscape.com dbc6ce7c5c Renamed nsFRameReflowState.cpp to nsHTMLReflowState.cpp 1999-01-06 03:46:55 +00:00
mcmullen%netscape.com a87443b507 As requested by Troy, added nsHTMLReflowState.cpp and removed nsFrameReflowState.cpp 1999-01-06 02:16:46 +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 458c7b51da Fix for bug 1954. Cloned text nodes (and comments) carry along the original data 1999-01-06 00:57:17 +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 4b3e1eebad Replaced "maxSize" member if nsReflowState with "availableWidth" and
"availableHeight"
1999-01-05 23:31:18 +00:00
kipp%netscape.com 844a41c615 Use macros from nsTextFragment 1999-01-05 23:02:27 +00:00
kipp%netscape.com 50b331f35c Reinstated the last set of checkins that were backed out 1999-01-05 23:01:54 +00:00
kipp%netscape.com b3ad196bb0 Consolidated character set macros into this file 1999-01-05 23:01:32 +00:00
troy%netscape.com a423353676 Initial check-in 1999-01-05 19:44:41 +00:00
donm%netscape.com 9b2666a111 backing out changes against a long red tree. would like to clear
the hook.  -donm
1999-01-05 18:16:05 +00:00
kipp%netscape.com e29f665a91 Fix handling of removed-child incremental reflow to no longer crash (bug #1941); also disabled incremental behavior for remove and inserted for now so that layout looks correct 1999-01-05 17:50:41 +00:00
kipp%netscape.com 3a981f0215 Removed aPrevSibling from DoRemoveFrame's arg list 1999-01-05 17:49:44 +00:00
amusil%netscape.com 440e32a530 Added plugin.shlb 1999-01-05 09:34:54 +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
troy%netscape.com 850f9b5598 Cleaned up some old references to margins which aren't applicable to row group
frames and row frames (because internal table elements don't have margins)
1999-01-05 00:41:40 +00:00
amusil%netscape.com 0adb3694fe Temporary workaround so that plugins display correctly. This will change after support for
CSS borders and padding are added.
1999-01-04 23:45:38 +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
jfrancis%netscape.com e5cc7df1b0 fixing build bustage 1999-01-04 15:24:31 +00:00
jfrancis%netscape.com da48ead009 disabling some range stuff while I fix it 1999-01-04 13:06:43 +00:00
troy%netscape.com c5ec74eb54 Changed nsISpaceManager interface to conform to XP-COM conventions on
return values
1999-01-04 04:54: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
buster%netscape.com 4ee5cb0ef1 comments, so many comments! 1999-01-03 19:23:21 +00:00
buster%netscape.com 1b814a3efe preliminary work for cell inheritence of valign and halign attributes from col(group) and row(group)
according to css 2 spec
1999-01-03 19:22:40 +00:00
buster%netscape.com 5c8da0287c fixed a bug in fixed layout initial reflow with spanning cells 1999-01-03 19:20:13 +00:00
jfrancis%netscape.com ff9cf6ef75 adding range gravity for dom text nodes 1999-01-03 14:29:54 +00:00
troy%netscape.com 99455f5082 Moved enum and replaced it with #defines 1999-01-03 00:31:46 +00:00
troy%netscape.com 16ca348baa Fixe for test8 hitting an assert 1999-01-03 00:15:56 +00:00
troy%netscape.com eb188f8529 Changed comment to reflect the current state of the tree 1999-01-02 23:05:08 +00:00
troy%netscape.com a8d603caa3 Changed computed width calculation for internal table elements to take
border/padding into account
1999-01-02 22:54:12 +00:00
troy%netscape.com 1d0d15f303 Added logic to make sure that internal table elements have reasonable
values for the computed width/height
1999-01-02 21:03:51 +00:00
troy%netscape.com 5f3db9d048 Added :CELL-CONTENT rule for the area-frame that's inside the table cell.
Sets the 'display' property to 'block' to override the default value of
'inline'
1999-01-02 21:01:37 +00:00
troy%netscape.com 097f73ee6c Changed CreatePlaceholderFrame() to use a pseudo element style context
(:PLACEHOLDER-FRAME) for the placeholder frame. This way it looks like an
inline static frame with a specified size of (0, 0)
1999-01-02 20:51:43 +00:00
troy%netscape.com b8f80c0efa Fix for bug 2109. If the child's maxSize.width is smaller than the containing
block's computed width then use it instead
1999-01-02 19:21:32 +00:00
troy%netscape.com c30da1d1ee Changed InitConstraints() to handle inline, block-level, and floated elements
(replaced and non-replaced)
1998-12-31 23:07:00 +00:00
troy%netscape.com 8e168ef086 Better computation of computed width and height and margins for block-level
elements
1998-12-31 05:35:38 +00:00
jfrancis%netscape.com 55ddc9db00 Adding Range to repository & layout factory 1998-12-31 02:32:28 +00:00
buster%netscape.com 0664302426 collapsing border bug fixes 1998-12-30 23:23:45 +00:00
buster%netscape.com 46621cf846 empty cells now are sized correctly. 1998-12-30 22:41:08 +00:00
buster%netscape.com 0609bf2754 collapsing borders with odd width have correct width now 1998-12-30 22:40:36 +00:00
buster%netscape.com ae7cb6e3da right dashed borders now work
dashed borders along a span now mostly work
1998-12-30 22:39:49 +00:00
vidur%netscape.com 566459d539 Separated class intialization from name registration in namespace management code 1998-12-30 21:35:35 +00:00
troy%netscape.com 4591f9d2ad Changed width/height constraints in nsHTMLReflowState struct 1998-12-30 17:50:00 +00:00
jfrancis%netscape.com bb23b3dbd6 more dom range gravity work 1998-12-30 08:28:16 +00:00
buster%netscape.com 714c427896 collapsing border computation and conflict resolution 1998-12-30 06:48:15 +00:00
buster%netscape.com c34896d000 CSS2 table collapsing border rendering 1998-12-30 06:47:26 +00:00
buster%netscape.com 8ba2100bef added mInsideNeighbor to nsBorderEdge, allowing fast access for an outside edge to
it's neighboring inside edge.  value is undefined for inside edges.
1998-12-30 06:46:35 +00:00
jfrancis%netscape.com 6569ea5527 removing nsAbsoluteFrame.cpp, since it seems to have disappeared. 1998-12-29 07:24:32 +00:00
beard%netscape.com 7439f06f70 Removed nsBodyFrame.cpp per Troy's request. 1998-12-29 06:08:02 +00:00
troy%netscape.com ee997bddd1 Fixed it up to compile, because the Mac is still building it... 1998-12-29 05:54:59 +00:00
troy%netscape.com 14ae1a9919 Fixed it up to compile again, because the Mac is still building it... 1998-12-29 05:53:54 +00:00
troy%netscape.com d56587e4cb Fixed it so XML documents display again 1998-12-29 05:51:11 +00:00
troy%netscape.com eb99e22e68 Removed debug output that was probably checked in by mistake 1998-12-29 05:37: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 487a0952b3 Changed some of the member functions to conform to XP-COM conventions for
returning a nsresult
1998-12-29 04:56:31 +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
rpotts%netscape.com 0786f8d0d7 Fire the OnSubmit event on the form not the input field... 1998-12-28 21:28:53 +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