314 Commits

Author SHA1 Message Date
kipp%netscape.com
a8300fda29 Stop using reflow commands for frame structure changes; instead invoke methods on the frames which then generate reflow commands as needed
git-svn-id: svn://10.0.0.236/trunk@17813 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 01:30:12 +00:00
troy%netscape.com
ecc9f6f19d Removed the content-parent frame pointer. Now we just have the one geometric
parent


git-svn-id: svn://10.0.0.236/trunk@17702 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 05:16:23 +00:00
troy%netscape.com
e69d38cccb Fix for bug #2276, and some initial support for 'right' and 'bottom'
for absolutely positioned elements


git-svn-id: svn://10.0.0.236/trunk@17644 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 06:37:31 +00:00
troy%netscape.com
bbcce4c71a Re-commiting my fucking changes...
git-svn-id: svn://10.0.0.236/trunk@17633 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 00:44:48 +00:00
cltbld%netscape.com
cd62100e23 backing out changes made against a red tree
git-svn-id: svn://10.0.0.236/trunk@17628 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 00:00:57 +00:00
troy%netscape.com
9654e78020 Fixed a memory leak
git-svn-id: svn://10.0.0.236/trunk@17624 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 23:17:49 +00:00
kipp%netscape.com
c5c21eff17 Use new flag defines
git-svn-id: svn://10.0.0.236/trunk@17586 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 16:42:03 +00:00
karnaze%netscape.com
35bfe95ab7 dom table methods, moved align="char" data members from nsReflowState to nsHTMLReflowState
git-svn-id: svn://10.0.0.236/trunk@17382 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 18:57:40 +00:00
troy%netscape.com
f1e9e67f66 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


git-svn-id: svn://10.0.0.236/trunk@17303 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 05:03:53 +00:00
troy%netscape.com
dd7cc8fddc Improved GetAbsoluteContainingBlock() a bit. It still needs to handle scrolled
elements


git-svn-id: svn://10.0.0.236/trunk@17143 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 05:51:22 +00:00
troy%netscape.com
d12c228d7d Fixed it so XML documents display again
git-svn-id: svn://10.0.0.236/trunk@16931 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 05:51:11 +00:00
troy%netscape.com
798ca8add0 Fixed a problem with absolutely positioned tables not working properly
git-svn-id: svn://10.0.0.236/trunk@16929 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 05:35:42 +00:00
troy%netscape.com
43b0f05bb3 Renamed FindFrameWithContent() to GetPrimaryFrameFor()
git-svn-id: svn://10.0.0.236/trunk@16927 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 04:45:18 +00:00
troy%netscape.com
9a7f94d20b Moved logic that deals with moving absolutely positioned frames out of the
flow to the frame construction code


git-svn-id: svn://10.0.0.236/trunk@16924 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 03:38:16 +00:00
troy%netscape.com
e14ddad715 Renamed NS_NewHTMLFrame() to NS_NewRootFrame()
git-svn-id: svn://10.0.0.236/trunk@16758 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 18:22:44 +00:00
troy%netscape.com
53950b34bb Changed the frame hierarchy, and changed how scrolling works. Also added
nsAreaFrame which replaces nsBodyFrame which is no longer used


git-svn-id: svn://10.0.0.236/trunk@16734 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 23:29:47 +00:00
peterl%netscape.com
52a0043631 sync to new attribute api
git-svn-id: svn://10.0.0.236/trunk@16723 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 01:21:23 +00:00
troy%netscape.com
2bada305e0 Reverted back to previous revision, because I came up with a cleaner
solution


git-svn-id: svn://10.0.0.236/trunk@16645 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 05:23:40 +00:00
troy%netscape.com
f5bb9f4438 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...


git-svn-id: svn://10.0.0.236/trunk@16643 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 04:59:14 +00:00
warren%netscape.com
5f54c1af03 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener.
git-svn-id: svn://10.0.0.236/trunk@16495 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 05:40:20 +00:00
av%netscape.com
e8905988f4 Making object tag to display alternative context
git-svn-id: svn://10.0.0.236/trunk@16338 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 21:44:55 +00:00
nisheeth%netscape.com
fef1fc5b4d Changed nsHTMLStyleSheetImpl::AttributeChanged() so that it asks the
content objects for style change hint.  Removed tag specific code in this function.


git-svn-id: svn://10.0.0.236/trunk@16184 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 23:49:13 +00:00
troy%netscape.com
cf9c18e0c5 Changed wrapping of floated elements so the wrapping happens inside of
ConstructFrameByDisplayType(), and now we only wrap frames of display
type 'block' and 'inline'


git-svn-id: svn://10.0.0.236/trunk@15919 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 18:44:40 +00:00
troy%netscape.com
d6d9c0b157 Temporary change to make sure we don't wrap floated tables in a BODY frame
git-svn-id: svn://10.0.0.236/trunk@15813 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 23:51:16 +00:00
troy%netscape.com
16560ce56e 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


git-svn-id: svn://10.0.0.236/trunk@15799 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 21:04:56 +00:00
troy%netscape.com
89bd61bdf7 Moved view creation to frame construction code. Also moved wrapping of
floated and absolutely positioned elements to frame construction code


git-svn-id: svn://10.0.0.236/trunk@15793 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 19:03:44 +00:00
troy%netscape.com
086be65468 Changed view creation to occur when frame initialization occurs
git-svn-id: svn://10.0.0.236/trunk@15763 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 05:56:06 +00:00
troy%netscape.com
3b547e08e4 Moved logic that created a BODY frame that forms the cell's content from the
table frame code to the frame construction code


git-svn-id: svn://10.0.0.236/trunk@15755 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 02:08:51 +00:00
waterson%netscape.com
ddfb3f25e0 Added initializers that can be used from the repository. Export nsIHTMLStyleSheet.h.
git-svn-id: svn://10.0.0.236/trunk@15711 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 20:20:35 +00:00
troy%netscape.com
01f27b2a31 Added Init() member function to nsIFrame
git-svn-id: svn://10.0.0.236/trunk@15682 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 06:31:43 +00:00
peterl%netscape.com
da11cf6bba changed media type to atom
git-svn-id: svn://10.0.0.236/trunk@15587 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:38:14 +00:00
vidur%netscape.com
a8e89e05c1 Moved nsGenericElement to base directory. Added basic support for document fragments.
git-svn-id: svn://10.0.0.236/trunk@15451 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 07:59:11 +00:00
peterl%netscape.com
383116acf6 style change notification support
git-svn-id: svn://10.0.0.236/trunk@15337 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:34:53 +00:00
kipp%netscape.com
8e7b6b1767 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)
git-svn-id: svn://10.0.0.236/trunk@15304 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 16:41:06 +00:00
buster%netscape.com
4b922cdb2b removed the resolution of table pseudo-style until we can test it and
actually use it.  this was just a memory leak.


git-svn-id: svn://10.0.0.236/trunk@15086 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 00:53:03 +00:00
troy%netscape.com
021ed0f162 Added nsHTMLAtoms::wrappedFramePseudo and changed ConstructFrame() to use
it instead of nsHTMLAtoms::columnPseudo


git-svn-id: svn://10.0.0.236/trunk@15068 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 23:27:59 +00:00
buster%netscape.com
f8aed9d5de took out a dumb debug printf
git-svn-id: svn://10.0.0.236/trunk@15048 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 21:09:54 +00:00
buster%netscape.com
3e6c71822b put in a VERY temporary work-around for some crashes we're seeing as a
result of table style context's display type != TABLE


git-svn-id: svn://10.0.0.236/trunk@15047 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 21:08:06 +00:00
buster%netscape.com
7b0e777c46 removed obsolete include of nsTableFrame
git-svn-id: svn://10.0.0.236/trunk@14977 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 01:04:43 +00:00
peterl%netscape.com
8f073ecf34 use proper pseudo tag for text style contexts
git-svn-id: svn://10.0.0.236/trunk@14844 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:11:27 +00:00
vidur%netscape.com
c67a7ad987 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.
git-svn-id: svn://10.0.0.236/trunk@14781 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 02:14:38 +00:00
troy%netscape.com
62a6e8e1fe Made sure NS_BODY_THE_BODY flag is set for the body wrapper frame we
create for XML documents


git-svn-id: svn://10.0.0.236/trunk@14754 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 21:48:13 +00:00
troy%netscape.com
e8b6cc2769 Added a scroll frame for print preview
git-svn-id: svn://10.0.0.236/trunk@14582 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 04:22:23 +00:00
troy%netscape.com
13ef91147a Cleaned up ConstructXMLRootFrame() and added some XXX comments
git-svn-id: svn://10.0.0.236/trunk@14581 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 03:43:15 +00:00
vidur%netscape.com
64cb975c74 Added script handling to XML content sink. Made sure frame construction by tag wasn't done for XML.
git-svn-id: svn://10.0.0.236/trunk@14554 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 23:55:47 +00:00
troy%netscape.com
48a7503df3 Cleaned up the way construction of the root frame happens for XML documents.
We no longer create a pseudo root element


git-svn-id: svn://10.0.0.236/trunk@14543 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 23:03:35 +00:00
buster%netscape.com
839e25fcb5 rowgroup pseudo-frames for rows inserted directly into a table
git-svn-id: svn://10.0.0.236/trunk@14520 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 20:45:28 +00:00
buster%netscape.com
eeaf9cbedd col and colgroup attribute handling
colgroup pseudo frame for cols inserted directly into a table.  More like this to come...


git-svn-id: svn://10.0.0.236/trunk@14512 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 18:37:28 +00:00
vidur%netscape.com
118281d675 Added XML display support. Split nsGenericHTMLElement into generic and HTML-specific components. Minor style modification. New XML classes and interfaces.
git-svn-id: svn://10.0.0.236/trunk@14467 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 22:06:16 +00:00
troy%netscape.com
5ddc2cc432 Fixed a memory leak of a content object
git-svn-id: svn://10.0.0.236/trunk@14418 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 06:37:30 +00:00