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

308 Коммитов

Автор SHA1 Сообщение Дата
kipp%netscape.com 9088d3fb1e Use new flag defines 1999-01-12 16:42:03 +00:00
karnaze%netscape.com ec97d3900b dom table methods, moved align="char" data members from nsReflowState to nsHTMLReflowState 1999-01-08 18:57:40 +00:00
troy%netscape.com 4141e3d219 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 fabb2fd184 Improved GetAbsoluteContainingBlock() a bit. It still needs to handle scrolled
elements
1999-01-05 05:51:22 +00:00
troy%netscape.com 2d45b350be Fixed it so XML documents display again 1998-12-29 05:51:11 +00:00
troy%netscape.com 4982bfd126 Fixed a problem with absolutely positioned tables not working properly 1998-12-29 05:35:42 +00:00
troy%netscape.com 7baf302727 Renamed FindFrameWithContent() to GetPrimaryFrameFor() 1998-12-29 04:45:18 +00:00
troy%netscape.com e1f9e8b29f 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 900f469395 Renamed NS_NewHTMLFrame() to NS_NewRootFrame() 1998-12-21 18:22:44 +00:00
troy%netscape.com c9dedf070c 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 e75a76898d sync to new attribute api 1998-12-20 01:21:23 +00:00
troy%netscape.com 441ef12d7d Reverted back to previous revision, because I came up with a cleaner
solution
1998-12-18 05:23:40 +00:00
troy%netscape.com 60363a423b 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 b22a4e72fd Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
av%netscape.com 0fa0a7f9d5 Making object tag to display alternative context 1998-12-13 21:44:55 +00:00
nisheeth%netscape.com 3985eb30bb 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 e7be4256f2 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 1fcf20d0f3 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 55f632387d 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 bd58bde76d 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 80545a3bd4 Changed view creation to occur when frame initialization occurs 1998-12-04 05:56:06 +00:00
troy%netscape.com 36f4bf7247 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 3cbd2aa561 Added initializers that can be used from the repository. Export nsIHTMLStyleSheet.h. 1998-12-03 20:20:35 +00:00
troy%netscape.com d97a31f115 Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
peterl%netscape.com b724dddfbc changed media type to atom 1998-12-02 00:38:14 +00:00
vidur%netscape.com e2547a120e Moved nsGenericElement to base directory. Added basic support for document fragments. 1998-11-30 07:59:11 +00:00
peterl%netscape.com 4222f0257e style change notification support 1998-11-26 01:34:53 +00:00
kipp%netscape.com ed15bc1725 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 199d61519b 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 21e1f648b1 Added nsHTMLAtoms::wrappedFramePseudo and changed ConstructFrame() to use
it instead of nsHTMLAtoms::columnPseudo
1998-11-20 23:27:59 +00:00
buster%netscape.com 074583f502 took out a dumb debug printf 1998-11-20 21:09:54 +00:00
buster%netscape.com aa0ff99ae0 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 cae6af5e35 removed obsolete include of nsTableFrame 1998-11-20 01:04:43 +00:00
peterl%netscape.com 00ae8e9cc9 use proper pseudo tag for text style contexts 1998-11-18 02:11:27 +00:00
vidur%netscape.com 4ca363e17b 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 8550f707c1 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 9b21f39f54 Added a scroll frame for print preview 1998-11-13 04:22:23 +00:00
troy%netscape.com e21c76703a Cleaned up ConstructXMLRootFrame() and added some XXX comments 1998-11-13 03:43:15 +00:00
vidur%netscape.com 632a979901 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 2b86b49c95 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 45f8b315a9 rowgroup pseudo-frames for rows inserted directly into a table 1998-11-12 20:45:28 +00:00
buster%netscape.com 9b8264930f 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 c068c96a00 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 e248cb0b50 Fixed a memory leak of a content object 1998-11-11 06:37:30 +00:00
troy%netscape.com b208618ab6 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 fd34820203 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 4f710d172f Create a block frame for run-in and compact frames 1998-11-09 23:35:44 +00:00
karnaze%netscape.com 44b5b9e670 form control content attribute changes (not all) reflected in layout; fixed scrolling on <iframe>, <frame>;
added nsImageControlFrame to handle <input type=image>.
1998-11-09 23:30:16 +00:00
troy%netscape.com 02915d3677 First of a few changes to allow frames to have multiple child lists.
FirstChild() now takes an additional argument which is the name of the
child list.
1998-11-09 19:40:27 +00:00
troy%netscape.com 1ef01c4b61 Fixed ConstructFrame() so it creates the scroll frame first. This ensures
the style context hierarchy is correct
1998-11-06 17:57:24 +00:00
troy%netscape.com cc8a206808 Changed frame construction code to create a simple page sequence frame
when paginated
1998-11-05 06:13:55 +00:00
buster%netscape.com 1b3ee90d82 nsHTMLReflowCommand now knows what attribute triggered a StyleChanged notification 1998-11-04 19:34:34 +00:00
peterl%netscape.com e3cd00d3b0 made parent context no longer be optional on re-resolve style context method 1998-11-03 21:29:14 +00:00
peterl%netscape.com 69ad11bff6 sync to style resolution api changes
moved style context re-resolving to frame land
1998-11-03 20:33:23 +00:00
troy%netscape.com 10c06c1b72 Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
and HaveFixedContentHeight()
1998-11-01 01:29:00 +00:00
buster%netscape.com e82356e5d9 factored AttributeChanged so when deciding what to do in response to a change,
common attributes are checked first, then content-specific handlers are asked
1998-10-30 23:06:14 +00:00
buster%netscape.com d8ae00b810 some extremely preliminary work for styleChanged incremental reflow 1998-10-30 07:57:44 +00:00
troy%netscape.com 37c1eb59c2 Changed to use a scroll frame for the BODY 1998-10-29 23:25:02 +00:00
kipp%netscape.com 76945822e1 Pass in opactity to view manager in case it changed 1998-10-28 02:05:05 +00:00
peterl%netscape.com d10c5c6553 removed depth style remap (context does it for us now) 1998-10-27 03:03:49 +00:00
peterl%netscape.com d51752e653 added aural style hint 1998-10-26 23:21:19 +00:00
troy%netscape.com c4862c491c Changed some comments 1998-10-24 05:03:55 +00:00
karnaze%netscape.com 1610cecf5a implemented <LABEL>; document maintains list of forms as created; form element properly releases form controls. 1998-10-22 23:00:37 +00:00
troy%netscape.com 6005461750 Added new pseudo class style :SCROLLED-CONTENT 1998-10-22 20:12:34 +00:00
buster%netscape.com 05f76c4440 preliminary code to resolve parent frame issues for table frames 1998-10-21 22:24:59 +00:00
karnaze%netscape.com 6dce0be4e1 fixed bug 958, checkboxes wrong background when not checked, select always multiple, text & texarea not reset. html 4 button work in progress. 1998-10-13 21:31:26 +00:00
troy%netscape.com 7391b96095 Work in progress on scroll frame code 1998-10-12 22:13:23 +00:00
buster%netscape.com 37e93ed6b7 support nsTableOuterFrame incremental reflow 1998-10-09 19:59:45 +00:00
troy%netscape.com cc44601bb8 Removed GetContentIndex() from nsIFrame 1998-10-08 20:35:16 +00:00
karnaze%netscape.com 580dde94fe fieldset, legend support. fixed bug #987 1998-10-08 04:38:41 +00:00
peterl%netscape.com 56dd6acce2 init hash code to make purify happy 1998-10-08 01:32:41 +00:00
kipp%netscape.com ef4d185fa7 never create frames when display is none 1998-10-06 00:43:48 +00:00
troy%netscape.com 933dc19df8 Changed some code to use XPCOM ref counting related macros 1998-10-05 05:11:18 +00:00
peterl%netscape.com e2c4541df8 added attribute & content changed code 1998-09-29 23:51:28 +00:00
kipp%netscape.com dc4362fa13 Changed factory method to parameterize the shrink wrapping behavior 1998-09-29 03:44:25 +00:00
michaelp%netscape.com b308bcd473 object tag no longer processes it's children (i put troy's change from thursday
in a comment until the parser is sorted out).
1998-09-27 22:44:26 +00:00
troy%netscape.com d5336ff9ad Moved ContentReplaced() handler code to style system 1998-09-25 22:47:00 +00:00
kipp%netscape.com a1010ce974 Renamed FrameDeleted to FrameRemoved 1998-09-25 16:12:13 +00:00
troy%netscape.com 318174a3d8 Moved ContentDeleted() document notification code to the style system which
generates the reflow command
1998-09-25 05:13:06 +00:00
troy%netscape.com 450e900440 Added call to ProcessChildren() for OBJECT tag 1998-09-24 20:35:59 +00:00
troy%netscape.com 88d8d60841 Removed a comment that is no longer applicable 1998-09-23 21:55:41 +00:00
karnaze%netscape.com b7d357fce8 Converted forms to use the new content model classes and better separate content from layout. 1998-09-23 17:16:51 +00:00
troy%netscape.com cbc01b084c Fixed an off by one problem in the ContentInserted() code 1998-09-23 04:25:49 +00:00
buster%netscape.com c663125cd3 captions now work properly with new frame layout strategy.
nsTableOuterFrame->mFirstChild==nsTableOuterFrame->mInnerTableFrame, always.
1998-09-20 04:50:08 +00:00
troy%netscape.com a0d36cd575 Changes to ContentInserted() handler 1998-09-18 21:28:21 +00:00
troy%netscape.com b6c1cfd2b8 Removed content delegates 1998-09-18 17:18:37 +00:00
troy%netscape.com 740f73d46a Cleaned up frame construction code 1998-09-17 04:07:58 +00:00
peterl%netscape.com 9326c0f61f connected xheight, fixed font realtive sizes,
fixed text-decoration
1998-09-17 00:19:47 +00:00
troy%netscape.com 517a28dfaa Changed ContentAppended() to not walk up the frame hierarchy looking
for a frame that maps the parent content object that changed
1998-09-17 00:06:46 +00:00
troy%netscape.com abdd161d93 Frame construction changes for tables 1998-09-16 17:19:20 +00:00
buster%netscape.com c47f9bbfcb nsStyleConsts.h added some HTML 4 consts for tables
nsHTMLAtoms.cpp,h             added some HTML 4 strings for tables
nsHTMLParts.h                 added constructors for new table content classes
nsGenericHTMLElement.cpp,h    added table frame creation, common table attribute parsing
nsHTMLTable*Element.cpp       these are the new table content classes
nsHTMLContentSink.cpp         enabled the new content and removed the old
nsHTMLStyleSheet.cpp          fixed the table style optimizations to work with new content
nsTable*Frame.cpp             these work with the new content
1998-09-15 17:58:24 +00:00
kipp%netscape.com 46acb2313a Removed css/layout directory 1998-09-15 00:19:49 +00:00
troy%netscape.com 7d331e2c97 Added overloaded ConstructFrame() member function. Prep work for table
changes
1998-09-14 21:16:01 +00:00
troy%netscape.com 2766a78b70 Changes ProcessChildren() to return the child list and leave it to the caller
(ConstructFrame() member function) to call Init()
1998-09-12 23:51:57 +00:00
troy%netscape.com 8444a92233 Part of frame construction changes 1998-09-12 04:46:35 +00:00
peterl%netscape.com 4192bbe6e8 fixed content ref count bugs in ContentAppended 1998-09-12 02:46:09 +00:00
troy%netscape.com 21eebef753 Fixed leak of reflow command 1998-09-11 18:57:54 +00:00
peterl%netscape.com 991dab3f18 added strength api to style rule 1998-09-11 02:07:58 +00:00
troy%netscape.com 585ef01470 Hooked back up IFRAME 1998-09-10 21:03:16 +00:00
troy%netscape.com f370908aef Phase one of frame construction changes 1998-09-10 19:32:14 +00:00
peterl%netscape.com 9099acfd69 changed the way map attributes into is connected 1998-09-05 04:00:06 +00:00
peterl%netscape.com 703a2a4274 COMified interface
made first attribute local
added support for attr uniquing
1998-09-02 02:10:44 +00:00
kipp%netscape.com ed22b370c4 XPCOM'ized nsIContent and nsIHTMLContent 1998-08-29 20:20:38 +00:00
peterl%netscape.com 0839a8ef32 added table cell style rule inheritance 1998-08-27 00:50:52 +00:00
kipp%netscape.com 08e80f94e6 Init refcnt for html anchor rules 1998-08-04 23:06:39 +00:00
peterl%netscape.com e5cf0b2266 added body link color support 1998-07-25 01:20:48 +00:00
peterl 3c44130d7a added pseudo frame support 1998-05-18 21:11:08 +00:00
kipp 4717009d75 moved to pub 1998-04-13 20:24:54 +00:00