Commit Graph

461 Commits

Author SHA1 Message Date
troy@netscape.com
ea0d3dbf9a Re-commiting my fucking changes... 1999-01-13 00:44:48 +00:00
cltbld@netscape.com
b5ff2d2926 backing out changes made against a red tree 1999-01-13 00:00:57 +00:00
troy@netscape.com
1db31d73ac Fixed a memory leak 1999-01-12 23:17:49 +00:00
kipp@netscape.com
0e7babe4ef Use new flag defines 1999-01-12 16:42:03 +00:00
karnaze@netscape.com
32aaee3547 dom table methods, moved align="char" data members from nsReflowState to nsHTMLReflowState 1999-01-08 18:57:40 +00:00
troy@netscape.com
7c6f181dd6 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
5517408b47 Improved GetAbsoluteContainingBlock() a bit. It still needs to handle scrolled
elements
1999-01-05 05:51:22 +00:00
troy@netscape.com
8bf7e4e9ef Fixed it so XML documents display again 1998-12-29 05:51:11 +00:00
troy@netscape.com
0b70b2e9cc Fixed a problem with absolutely positioned tables not working properly 1998-12-29 05:35:42 +00:00
troy@netscape.com
54df92ac77 Renamed FindFrameWithContent() to GetPrimaryFrameFor() 1998-12-29 04:45:18 +00:00
troy@netscape.com
6f9192bec1 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
troy@netscape.com
7acf428df5 Renamed NS_NewHTMLFrame() to NS_NewRootFrame() 1998-12-21 18:22:44 +00:00
troy@netscape.com
c15328cc97 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
97d11c8a40 sync to new attribute api 1998-12-20 01:21:23 +00:00
troy@netscape.com
b7640ef70d Reverted back to previous revision, because I came up with a cleaner
solution
1998-12-18 05:23:40 +00:00
troy@netscape.com
f33fb68f51 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
warren@netscape.com
4aaec0bad1 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
av@netscape.com
c0d3daf77a Making object tag to display alternative context 1998-12-13 21:44:55 +00:00
nisheeth@netscape.com
5405195487 Changed nsHTMLStyleSheetImpl::AttributeChanged() so that it asks the
content objects for style change hint.  Removed tag specific code in this function.
1998-12-10 23:49:13 +00:00
troy@netscape.com
8cd5844eaa Changed wrapping of floated elements so the wrapping happens inside of
ConstructFrameByDisplayType(), and now we only wrap frames of display
type 'block' and 'inline'
1998-12-07 18:44:40 +00:00
troy@netscape.com
a376aaeb6c Temporary change to make sure we don't wrap floated tables in a BODY frame 1998-12-04 23:51:16 +00:00
troy@netscape.com
a29879ee0a Moved creation of first page frame to frame construction code, and changed
it so the page frame has a view. This makes printing faster and easier
1998-12-04 21:04:56 +00:00
troy@netscape.com
f54d525b3d Moved view creation to frame construction code. Also moved wrapping of
floated and absolutely positioned elements to frame construction code
1998-12-04 19:03:44 +00:00
troy@netscape.com
e0a906e064 Changed view creation to occur when frame initialization occurs 1998-12-04 05:56:06 +00:00
troy@netscape.com
a1854c5e92 Moved logic that created a BODY frame that forms the cell's content from the
table frame code to the frame construction code
1998-12-04 02:08:51 +00:00
waterson@netscape.com
b8a2bb8bc6 Added initializers that can be used from the repository. Export nsIHTMLStyleSheet.h. 1998-12-03 20:20:35 +00:00
troy@netscape.com
e602e25924 Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
peterl@netscape.com
2dc27fad9e changed media type to atom 1998-12-02 00:38:14 +00:00
vidur@netscape.com
9782376c31 Moved nsGenericElement to base directory. Added basic support for document fragments. 1998-11-30 07:59:11 +00:00
peterl@netscape.com
b3f287d4fe style change notification support 1998-11-26 01:34:53 +00:00
kipp@netscape.com
a0a68b8f33 Fixed IsScrollable to take an extra argument so that we would only create scroll-frames around blocks using the webshells criteria if it's the body frame (bug #1608) 1998-11-25 16:41:06 +00:00
buster@netscape.com
14dff54b43 removed the resolution of table pseudo-style until we can test it and
actually use it.  this was just a memory leak.
1998-11-21 00:53:03 +00:00
troy@netscape.com
9388db0e1a Added nsHTMLAtoms::wrappedFramePseudo and changed ConstructFrame() to use
it instead of nsHTMLAtoms::columnPseudo
1998-11-20 23:27:59 +00:00
buster@netscape.com
bfe70f7a67 took out a dumb debug printf 1998-11-20 21:09:54 +00:00
buster@netscape.com
1cf8f7fd8f put in a VERY temporary work-around for some crashes we're seeing as a
result of table style context's display type != TABLE
1998-11-20 21:08:06 +00:00
buster@netscape.com
8abad581ef removed obsolete include of nsTableFrame 1998-11-20 01:04:43 +00:00
peterl@netscape.com
b8c981218c use proper pseudo tag for text style contexts 1998-11-18 02:11:27 +00:00
vidur@netscape.com
bd1aafe982 Changes to allow disabling and enabling of style sheets. Introduced ReconstructFrames to nsIFrameConstructor. CSSStyleSheets now remember their document. Temporary fix to allow text content inside CSS tables. 1998-11-17 02:14:38 +00:00
troy@netscape.com
7c35efe99f Made sure NS_BODY_THE_BODY flag is set for the body wrapper frame we
create for XML documents
1998-11-16 21:48:13 +00:00
troy@netscape.com
201ec3d3be Added a scroll frame for print preview 1998-11-13 04:22:23 +00:00
troy@netscape.com
a70b79e70d Cleaned up ConstructXMLRootFrame() and added some XXX comments 1998-11-13 03:43:15 +00:00
vidur@netscape.com
4c64fbea84 Added script handling to XML content sink. Made sure frame construction by tag wasn't done for XML. 1998-11-12 23:55:47 +00:00
troy@netscape.com
458511e568 Cleaned up the way construction of the root frame happens for XML documents.
We no longer create a pseudo root element
1998-11-12 23:03:35 +00:00
buster@netscape.com
852db0cb2c rowgroup pseudo-frames for rows inserted directly into a table 1998-11-12 20:45:28 +00:00
buster@netscape.com
3a79542dcd col and colgroup attribute handling
colgroup pseudo frame for cols inserted directly into a table.  More like this to come...
1998-11-12 18:37:28 +00:00
vidur@netscape.com
b3a92397d8 Added XML display support. Split nsGenericHTMLElement into generic and HTML-specific components. Minor style modification. New XML classes and interfaces. 1998-11-11 22:06:16 +00:00
troy@netscape.com
7f262abad9 Fixed a memory leak of a content object 1998-11-11 06:37:30 +00:00
troy@netscape.com
fa80f226d8 Eliminated the hack where the scroll frame was creating a BODY wrapper for
the scrolled frame. Now the frame construction code creates the wrapper
frame
1998-11-11 04:43:13 +00:00
troy@netscape.com
7d57a590c9 Renamed Init() to SetInitialChildList() and added an additional parameter
for the name of the child list
1998-11-10 06:05:32 +00:00
kipp@netscape.com
33fc3094d1 Create a block frame for run-in and compact frames 1998-11-09 23:35:44 +00:00