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

2752 Коммитов

Автор SHA1 Сообщение Дата
troy%netscape.com f4fa3f7761 Added missing NS_RELEASE of the content object in GetMarginHeight() 1998-11-21 17:30:41 +00:00
troy%netscape.com 8de6eceb4c Added NS_RELEASE to fixed memory leak after calling ChildAt() 1998-11-21 17:22:31 +00:00
kipp%netscape.com 10ba8ddaf3 Fix up painting issue; if we end up with a negative damage area then convert to damaging everything 1998-11-21 17:21:18 +00:00
troy%netscape.com c2ce5154a9 Improved efficiency by avoiding the dreadfully slow NS_MakeAbsoluteURL() and
only setting the image loader's URL and base URL for the initial reflow
1998-11-21 04:04:41 +00:00
kipp%netscape.com ffad68e9fb Fixed scroll-frame code to properly fill in the max-element-size 1998-11-21 03:52:01 +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
cyeh%netscape.com e9d3c67427 Removing static makefiles as a part of the transition to Autoconf. I have taken great
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.

If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com.
1998-11-21 00:34:32 +00:00
joki%netscape.com ecbb1182ec Fixing a submit/reset event bug, frame destruction reentrancy bug, and an imagemap bug. 1998-11-21 00:19:36 +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 6f7c3a6fe4 removed a spurious GetContent that was the cause of a memory leak 1998-11-20 23:10:47 +00:00
kipp%netscape.com 60c53ba992 Use revised GetContainingBlockContentWidth method 1998-11-20 22:28:00 +00:00
kipp%netscape.com 73da35cd18 Support margins on the child frame 1998-11-20 22:27:33 +00:00
kipp%netscape.com 1b29a31cc1 Work around more bugs in the style context code and use old margin calculations; factored get-containing-block-width better 1998-11-20 22:27:21 +00:00
kipp%netscape.com a67079f75c Disable fixed behavior when we are shrink wrapping so that floating tables (for example) can ignore their width if necessary 1998-11-20 22:24:20 +00:00
kipp%netscape.com 23b5a4de99 Made HTML a block (which it is going to be someday) so that percentage margins in the BODY will be computed correctly 1998-11-20 22:21:38 +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 9fe1e3b039 added :TABLE pseudo-style 1998-11-20 21:06:59 +00:00
buster%netscape.com d27c0b5dd5 added tablePseudo 1998-11-20 21:05:31 +00:00
kipp%netscape.com 64d09e5c2b Added support for StyleChanged reflow reason 1998-11-20 17:41:44 +00:00
kipp%netscape.com b8165246b1 Temporary workaround for style issue 1998-11-20 17:39:11 +00:00
kipp%netscape.com 6cd4b39d8a Use new classname for base class; port to updated nsLeafFrame methods 1998-11-20 17:22:08 +00:00
kipp%netscape.com 5e9c8f2b68 Port to updated nsLeafFrame methods 1998-11-20 17:21:49 +00:00
kipp%netscape.com 15dc65b188 Removed a compiler warning 1998-11-20 17:21:22 +00:00
kipp%netscape.com 182b39b75c Added mBorderPadding to cache computed value in case percentages are used; renamed class to nsImageFrame 1998-11-20 17:21:02 +00:00
kipp%netscape.com 9bea95a9e5 Use revised API's for computing the border/padding 1998-11-20 17:20:29 +00:00
kipp%netscape.com dd79ab7df4 Define new API's to compute margin/border/padding/border+padding and handle percentages correctly 1998-11-20 17:19:26 +00:00
kipp%netscape.com 1dcf401615 Use revised API's to get percentage padding/borders value right 1998-11-20 17:18:58 +00:00
kipp%netscape.com 11afdb9a02 Use revised margin calculation api's; center blocks that have auto margins 1998-11-20 17:18:12 +00:00
kipp%netscape.com 9b4b622e6b Use Get methods from style context instead of deprecated methods 1998-11-20 17:13:28 +00:00
kipp%netscape.com acaf1d1728 Updated leaf api's to better support caching of computed border/padding when percentages are used 1998-11-20 17:13:02 +00:00
kipp%netscape.com 8af5904e8b Added mBorderPadding to cache computed value in case percentages are used 1998-11-20 17:12:39 +00:00
kipp%netscape.com 39d05f6503 Added mBorderPadding to cache computed value in case percentages are used; renamed class to nsImageFrame 1998-11-20 17:12:25 +00:00
alecf%netscape.com f2f58f18c5 fix casting problems for gcc 2.7.2.3 1998-11-20 09:29:58 +00:00
troy%netscape.com 4c40e51b3b Added temporary workaround to image frame code to compensate for the fact
that HandleEvent() and GetCursor() are being called with the point not being
translated to the frame's local coordinate space
1998-11-20 06:31:55 +00:00
troy%netscape.com 27d81bc8ce Removed some #include lines that are no longer needed 1998-11-20 05:22:45 +00:00
morse%netscape.com ec45040d4e fix for single signon 1998-11-20 05:01:32 +00:00
buster%netscape.com cae6af5e35 removed obsolete include of nsTableFrame 1998-11-20 01:04:43 +00:00
buster%netscape.com a03be26dfc handles "height" attribute 1998-11-20 01:03:45 +00:00
buster%netscape.com c85d0477a1 implemented table height algorithms. also made a slight modification to
the way a table finds its container's width.
1998-11-20 01:01:25 +00:00
kipp%netscape.com 9ba745a7a8 Improved the regression dump data somewhat 1998-11-19 18:51:53 +00:00
kipp%netscape.com 318a5e31e4 Override FrameForPoint so that floaters/bullets get events 1998-11-19 18:09:57 +00:00
kipp%netscape.com 7da5f1c798 Factored out FrameForPoint code into one that takes a particular list 1998-11-19 18:09:03 +00:00
kipp%netscape.com a66a18832e Added XMLQuote to quote special characters; changed MakeFrameName to avoid needing quoting 1998-11-19 17:55:22 +00:00
kipp%netscape.com 63107e9026 Added DumpRegressionData; revised ListTag; added GetFrameName 1998-11-19 17:22:29 +00:00
kipp%netscape.com 0702a9d059 Fix build bustage (hopefully) 1998-11-19 05:37:59 +00:00
troy%netscape.com 0572f002c4 Changed to make sure we mark the absolutely positioned element's view as
having transparent content if the visibility is hidden
1998-11-19 04:26:51 +00:00
troy%netscape.com 82e5ab4bdd Fixed it so that we don't ignore painting child frames of a parent frame
thas has "visibility:hidden", because child elements can override their
parent's visibility
1998-11-19 03:52:29 +00:00
joki%netscape.com 76afffebc9 Adding more backwards compat DOM support (event.which, pageX, and pageY) 1998-11-19 03:20:21 +00:00
troy%netscape.com f91a6a8b9f Fix for bug #1265. For incremental reflow now checks for the case where the new
height is smaller than the old height and makes sure we erase the entire area
1998-11-19 01:39:07 +00:00
joki%netscape.com c3708b2ed8 Modify event flow to avoid walking into trashed frames. 1998-11-19 00:43:36 +00:00
joki%netscape.com 86806ec906 Prevent multiple firings of DOM click events on buttons. 1998-11-19 00:42:38 +00:00
kipp%netscape.com b2d1e15cbc Use new methods in nsHTMLReflowState to discover the proper width to base the text-indent percentage on (bug #1048) 1998-11-19 00:00:18 +00:00
kipp%netscape.com 309f5bcc0c Added two new utility methods on nsHTMLReflowState for finding a containing block's reflow state and for finding a containing blocks content width 1998-11-18 23:59:49 +00:00
troy%netscape.com 66dd04c602 Changed Reflow() to make sure that the child is sized at least as big as the max size
we gave it as part of the reflow command
1998-11-18 23:49:44 +00:00
troy%netscape.com 164de2fbfc Fixed SetInitialChildList() so "frame" doesn't get reset after processing
the legend frame
1998-11-18 22:14:55 +00:00
buster%netscape.com d84790df55 Proportional column width based on HTML attributes is now implemented. proportional "multilength" syntax ("1*")
now works on COL and COLGROUP.  Bug 1128.
1998-11-18 22:10:02 +00:00
jfrancis%netscape.com bcc46f0f0f shared lib conversion, phase 1 1998-11-18 06:36:44 +00:00
buster%netscape.com 95be4abe33 impl of DOM table.deleteRow 1998-11-18 06:30:13 +00:00
troy%netscape.com 63dc45e1f2 Added some constants to use when referring to child list name indices 1998-11-18 06:13:58 +00:00
buster%netscape.com a6bce85696 impl for DOM table.InsertRow 1998-11-18 06:06:37 +00:00
joki%netscape.com 7716dc91e8 Reworking internal event code to use nsIFrame::GetFrameForPoint
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
1998-11-18 05:25:26 +00:00
janc%netscape.com f85435bb25 New css parser test 1998-11-18 04:42:37 +00:00
janc%netscape.com 4c326ba5c7 update css parser test 1998-11-18 04:40:13 +00:00
janc%netscape.com 68248ac24b update CSS Parser test 1998-11-18 04:39:13 +00:00
morse%netscape.com 18d1bc714d update for single signon 1998-11-18 04:38:13 +00:00
troy%netscape.com e579ba153c Removed mFlags from nsBodyFrame and now we use the mFlags defined by
nsBlockFrame
1998-11-18 04:16:03 +00:00
troy%netscape.com c73b30691c Fixed a couple of cases where I missed calling the base class 1998-11-18 04:06:19 +00:00
troy%netscape.com 7fc5ecd18a Removed mChildCount member data 1998-11-18 03:44:08 +00:00
troy%netscape.com c3fc0b9164 Made sure the block's SetFlags() member function is called. This fixes shrink
wrapping so it works again
1998-11-18 03:27:04 +00:00
peterl%netscape.com 239ca35fcd cursor style cleanup 1998-11-18 02:23:39 +00:00
peterl%netscape.com c053568936 cleaned up cursor style handling 1998-11-18 02:11:54 +00:00
peterl%netscape.com 00ae8e9cc9 use proper pseudo tag for text style contexts 1998-11-18 02:11:27 +00:00
peterl%netscape.com 819ac307fd cleaned up cursor handling 1998-11-18 02:10:45 +00:00
peterl%netscape.com 90e19c51d8 added text pseudo tag 1998-11-18 02:09:53 +00:00
peterl%netscape.com 487e5722bc remove style_cursor_inherit 1998-11-18 02:08:45 +00:00
peterl%netscape.com 2be9de7378 fixed comment 1998-11-18 02:08:30 +00:00
janc%netscape.com d81b65f197 New CSS Parser test. 1998-11-18 01:53:02 +00:00
janc%netscape.com d29846e4a1 New CSS Parser Test 1998-11-18 01:24:30 +00:00
janc%netscape.com 54503090c9 New CSS Parser test. 1998-11-18 01:15:17 +00:00
janc%netscape.com e744b7c7f1 New CSS Parser test 1998-11-18 00:58:49 +00:00
amusil%netscape.com 7056b1cf59 Bug fix for 1201. Now use the size parameters from the object tag as a determinant of size. 1998-11-17 23:29:20 +00:00
buster%netscape.com fb18ad6ce1 impl for DOM methods table.create(THead|TFoot|Caption) and deleteCaption 1998-11-17 23:09:59 +00:00
dcone%netscape.com 846022a83f updated steve clarks changes, added genericElementCollection 1998-11-17 22:38:03 +00:00
kipp%netscape.com 02b071a3cc Revised max-element-size computation somewhat so that floaters are accounted for better 1998-11-17 22:28:51 +00:00
buster%netscape.com 885cad24a8 new module 1998-11-17 22:20:59 +00:00
buster%netscape.com 1238f3f20c renamed TableElementCollection to GenericElementCollection, and factored it into
it's own module for reuse.
1998-11-17 21:40:38 +00:00
troy%netscape.com 1626c62353 Changed the body to be a subclass of nsBlockFrame rather than contain a
block frame
1998-11-17 16:37:39 +00:00
buster%netscape.com 07ba2a028f implementation of rows() and tBodies() 1998-11-17 16:32:29 +00:00
kipp%netscape.com cc720770f8 Made SetTitle call ReduceEntities for bug #1398 1998-11-17 16:29:25 +00:00
troy%netscape.com 9724362dc1 Fixed CreateWrapperFrame() so it resets the geometric and content parent pointers
of the frame being wrapped
1998-11-17 05:47:06 +00:00
pierre%netscape.com cdd56749b2 fix build: added nsGenericDOMHTMLCollection.cpp 1998-11-17 03:23:02 +00:00
troy%netscape.com 0e8c33d9f8 Fixed problem that caused Mac build to break 1998-11-17 02:37:47 +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
kipp%netscape.com fc05c445ab Fixed up incremental reflow for content-changed and removed floaters 1998-11-17 01:04:45 +00:00
kipp%netscape.com cccd83b118 Added in nsHTMLReflowState argument to ReflowFrame so that callers can properly initialize it 1998-11-17 01:04:21 +00:00
kipp%netscape.com f6330021e3 Tidy up; added some tracing 1998-11-17 01:03:59 +00:00
kipp%netscape.com a6068414c3 Removed DidReflow hack again 1998-11-17 01:03:41 +00:00
kipp%netscape.com c483da9937 Look on all lists for frames 1998-11-17 01:03:28 +00:00
buster%netscape.com 8b61eb7b90 work in progress for full DOM support for tables 1998-11-16 23:31:24 +00:00
troy%netscape.com 9cd4790d2a Changed Reflow() to deal with reflow commands targeted at the root frame 1998-11-16 23:16:03 +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 e8775482db Added null pointer check in DidSetStyleContext(). This keeps us from crashing
on XML documents
1998-11-16 21:45:24 +00:00
troy%netscape.com 2a2f8800c3 Reinstated hack to have the placeholder frame forward the DidReflow() notification
to the floated frame. Needed until the block frame properly handles FirstChild()
and returns the list of floated frames
1998-11-16 18:33:21 +00:00
troy%netscape.com 3aedaace4d Split class declaration out into a separate header file so the body frame
can be a derived class
1998-11-16 17:11:12 +00:00
buster%netscape.com 655121b757 added storage in styleTable for a column's width contribution from cells that
have colspan>1.
1998-11-16 06:47:24 +00:00
buster%netscape.com 8e34bbc78e irrationally-specified table (one where the width attributes of various rows don't add up to the same value,
and/or to the width attribute on the table itself), the rule is to try to give the column the largest value
assigned to it by any cell intersecting that column.
Separate storage is maintained for a column's natural desired width (width from any source other than a cell
with a colspan) and the maximum contribution to the column's width from any cell with a colspan.
1998-11-16 06:46:00 +00:00
vidur%netscape.com 4f929ce5e4 First pass to allow HTML forms to be embedded inside XML documents. 1998-11-16 06:16:17 +00:00
kipp%netscape.com c2f5352414 Removed extraneous bullet padding that was left-over from the pre-pseudo-style days 1998-11-15 01:17:05 +00:00
kipp%netscape.com b6bfdde86b Attempt to compute max-element-size better 1998-11-15 01:13:44 +00:00
kipp%netscape.com 893f94febe Tidy the max-element-size code 1998-11-15 01:13:25 +00:00
kipp%netscape.com 01ab7c46e5 Cleaned up OL/UL margins 1998-11-15 01:13:00 +00:00
kipp%netscape.com ddebf67fd2 Properly walk up the tree to find the real color 1998-11-15 00:20:52 +00:00
kipp%netscape.com c4ba29cb0e Added some more null-pointer checking to DOM methods 1998-11-14 22:51:43 +00:00
kipp%netscape.com 5dbc0c6813 Fixed bug #1257: the bug was that we were overrunning the transformers malloc'd buffer because the mBufferLength was never being updated 1998-11-14 22:27:50 +00:00
kipp%netscape.com 067ccadbec Removed and unused member variable 1998-11-14 22:27:06 +00:00
kipp%netscape.com 32ac80c46e Fixed frame-removed crash case (when we run out kids); bug #691 1998-11-14 21:57:38 +00:00
kipp%netscape.com 6a5fdb0d24 Basic support for :first-letter pseudo-elements 1998-11-14 21:01:26 +00:00
kipp%netscape.com ae98b19f78 Eliminated NewFrame 1998-11-14 19:28:34 +00:00
kipp%netscape.com 06f4321aef Modified List code to list floater list and bullet better; support multiple child lists; manage floater list properly 1998-11-14 19:28:11 +00:00
kipp%netscape.com cb000488cc Removed hacks that were mostly block-frame bug workarounds 1998-11-14 19:26:57 +00:00
kipp%netscape.com d6c6996310 DidReflow now supports multiple child lists; added DeleteFrameList helper method 1998-11-14 19:25:34 +00:00
michaelp%netscape.com f186598ef5 changes for pixel scaling/printing. 1998-11-14 01:52:27 +00:00
vidur%netscape.com 733321ca8f Added Xlink support 1998-11-14 00:22:10 +00:00
vidur%netscape.com a349a1e4a6 Added support for XLink - simple links and show=replace or new. Modified nsILinkHandler interface. 1998-11-14 00:21:19 +00:00
joki%netscape.com a8b6fbcdee Modify cursor types from default to inherit (they're the same internally right now) 1998-11-14 00:00:03 +00:00
joki%netscape.com ddbcabb89b Modify cursor setting code to check css cursor setting for containers. 1998-11-13 23:58:52 +00:00
karnaze%netscape.com 3f513d4bc8 bug 1374 (hometown.aol.com crash on resize) 1998-11-13 23:44:50 +00:00
karnaze%netscape.com 4966c30661 bug 1226 for form control with native widgets. Other controls are still not working. 1998-11-13 23:13:42 +00:00
karnaze%netscape.com 0127b1609d bug 1357 involving a hidden control not getting submitted 1998-11-13 23:10:52 +00:00
vidur%netscape.com c1951f680d Generic HTML collection base class 1998-11-13 22:30:23 +00:00
troy%netscape.com 1c27114106 Changed GetLoadImageFailed() so it checks with the image loader rather
than just using the value of mLoadImageFailed. Fixes bug #1287
1998-11-13 21:31:50 +00:00
troy%netscape.com 40b7cbed0f Changed Notify() to call NotifyError() if the notification type is
nsImageNotification_kAborted. This ensures that the NS_IMAGE_LOAD_STATUS_ERROR
load status bit is set and that the frame gets repainted
1998-11-13 21:21:15 +00:00
troy%netscape.com 7951179a5a Added check for SRC being an empty string 1998-11-13 18:38:16 +00:00
troy%netscape.com 82a2a9305d Changed it so that if there's a NULL URL then we set the mLoadImageFailed
flag and don't try and load the broken image URL. Only on Windows for now
until Mac and Unix support the image icons
1998-11-13 17:00:54 +00:00
troy%netscape.com eb159f3ddc Changed Notify() to handle nsImageNotification_kAborted and set the image load
status to NS_IMAGE_LOAD_STATUS_ERROR
1998-11-13 06:24:33 +00:00
troy%netscape.com 81c2bd2649 Removed an assert that was incorrect and that triggered when print
previewing test1
1998-11-13 05:17:08 +00:00
rickg%netscape.com a19e47c210 fixed a crash that someone missed 1998-11-13 04:58:35 +00:00
rickg%netscape.com 1a47a78ee2 allow view-source on XML 1998-11-13 04:36:46 +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 2df2615474 Null check for prefs. The MozillaControl doesn't set up prefs correctly quite yet (and might never will). 1998-11-13 02:47:33 +00:00
troy%netscape.com 413669e5d5 Added ListTag() member function 1998-11-13 02:20:31 +00:00
kin%netscape.com 04cf7298a2 Fixed library name typo to fix build bustage on Unix. 1998-11-13 01:33:29 +00:00
vidur%netscape.com 30cdfe13ca XML example with scripting 1998-11-12 23:57:54 +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
kipp%netscape.com e105be2a27 Actually advance the dest pointer so a copy occurs (doh!) 1998-11-12 23:33:12 +00:00
kipp%netscape.com 7adcd09313 Fixed a memory leak with text editing 1998-11-12 23:31:38 +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
joki%netscape.com ab25720208 DOM Support: nsHTMLDocument body property 1998-11-12 22:25:51 +00:00
kipp%netscape.com 803e6b8d23 Fixed margin collapsing bug 1998-11-12 22:24:46 +00:00
joki%netscape.com 1bf1b70ed9 Fix bug where the DOM event bubbling process was overriding previous event status codes. 1998-11-12 21:35:27 +00:00
buster%netscape.com 15a156711c fixed a tiny bug in handling unexpected frames in a row 1998-11-12 21:04:41 +00:00
buster%netscape.com 45f8b315a9 rowgroup pseudo-frames for rows inserted directly into a table 1998-11-12 20:45:28 +00:00
alecf%netscape.com 6bcf771870 fix for unix bustage 1998-11-12 20:27:31 +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
kipp%netscape.com b8e7c399a3 Fixed some serious bugs in list bullet placement that prevented some relatively easy cases from working at all; this fixes up most outside list bullet cases 1998-11-12 18:19:22 +00:00
kipp%netscape.com fc16d5fc42 init the html atoms too...(temporary) 1998-11-12 18:16:25 +00:00
vidur%netscape.com b947ced837 Modified stylesheet 1998-11-12 17:17:48 +00:00
vidur%netscape.com d73eed6d2e new 1998-11-12 16:36:02 +00:00
kipp%netscape.com 364129b3c8 Fixed list numbering to work again (whoops!); added support for display: compact (just the beginnings); more work-in-progress for :first-letter support 1998-11-12 16:32:56 +00:00
kipp%netscape.com e2b660feac Support for display: compact 1998-11-12 16:32:19 +00:00
kipp%netscape.com 8552f6c72f Some support for first-letter style 1998-11-12 16:31:38 +00:00
vidur%netscape.com 9a325834e4 Factored GetAttributStyleSheet method into separate nsHTMLContentContainer interface that can be implemented by both HTML and XML document classes. 1998-11-12 07:54:12 +00:00
vidur%netscape.com 29d606fae2 Got rid of bogus dependency on XMLContent 1998-11-12 07:06:47 +00:00
troy%netscape.com 2b42a0d8a6 Changed slightly the check for whether the vertical scrollbar will be hidden.
This way it works better for XML documents that have an initial value for the
overflow property
1998-11-12 03:56:57 +00:00
pinkerton%netscape.com 871ff3ab98 Add xml/layout files. 1998-11-12 01:05:48 +00:00
pinkerton%netscape.com 693ace888d Fix build bustage. Add xml/document files and nsGenericElement.cpp 1998-11-12 01:00:58 +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
rickg%netscape.com c16dd335a5 enabled view-source 1998-11-11 20:31:45 +00:00
buster%netscape.com daf8cc32db support for frame and rules attribute 1998-11-11 19:56:02 +00:00
buster%netscape.com baaa18677b fix for default cell padding and cell spacing 1998-11-11 19:54:23 +00:00
troy%netscape.com bdd1ad3abf Fixed memory leak 1998-11-11 16:50:51 +00:00
rickg%netscape.com bac5cf794d first pass support for view-source 1998-11-11 11:55:32 +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
kipp%netscape.com 2035e515d7 Added a sleazy implementation of css2's run-in display type 1998-11-11 03:55:55 +00:00
kipp%netscape.com 62e7b29754 Added a method to support propogation of the mRunInFrame info down into the reflow of a block 1998-11-11 03:55:23 +00:00
kipp%netscape.com 898a0138ad Added run-in and compact display types to the TreatFrameAsBlockFrame method 1998-11-11 03:54:47 +00:00
kipp%netscape.com b33c7a8030 Added mRunInFrame to the html reflow state so that run-in frame handling can be forwarded from a parent block to a child block 1998-11-11 03:54:15 +00:00
cls%seawood.org 92dbfec844 Fixes to resource install for xpfe. Fixes to make MOZ_NATIVE_* work again. Thanks to Jeremy Lea <reg@shale.csir.co.za> for the diffs. 1998-11-11 01:53:49 +00:00
karnaze%netscape.com 739d650e16 fixed <frameset frameborder=no> allowed frame resizing 1998-11-10 20:49:51 +00:00
kipp%netscape.com 6594f8745d Fixed AddFrame method hiding 1998-11-10 19:20:53 +00:00
kipp%netscape.com f775a3a3ef Removed unused include 1998-11-10 19:16:32 +00:00
cls%seawood.org c953650146 Sync'd with Makefile. Thanks to Steve Morrison <smorrison@gte.com> for pointing this out. 1998-11-10 18:14:24 +00:00
kipp%netscape.com 70b6a98a18 Use lineLayout object to pass on floater to the containing block 1998-11-10 18:04:34 +00:00
kipp%netscape.com 936937c930 Added InitFloater 1998-11-10 18:04:19 +00:00
kipp%netscape.com 181745629e Use geometric parent to get containing block of the floater 1998-11-10 18:04:10 +00:00
kipp%netscape.com b9b94688c5 Removed obsolete IIDs 1998-11-10 18:03:53 +00:00
kipp%netscape.com 978ab18324 Removed GetReflowMetrics 1998-11-10 18:03:42 +00:00
kipp%netscape.com ebf7629df3 Tidy up by removing some old junky code 1998-11-10 18:03:29 +00:00
kipp%netscape.com abcd8bb746 nuked 1998-11-10 18:02:20 +00:00
kipp%netscape.com 03015215fe Added a reminder to the ua.css 1998-11-10 18:00:46 +00:00
kipp%netscape.com 2b8c7fce52 Removed the unused GetReflowMetrics method (it may come back in a different form some day) 1998-11-10 18:00:08 +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
troy%netscape.com d78c313324 Added GetChildListName() member function 1998-11-10 04:31:02 +00:00
rickg%netscape.com f0462a14da changed contentsink API to support XML 1998-11-10 04:13:59 +00:00
pierre%netscape.com 072b282717 fix build: added nsImageControlFrame.cpp 1998-11-10 02:26:13 +00:00
joki%netscape.com 2ab59c86be Stop dual event flow through both frames kids and view kids. Now flows through views. 1998-11-10 00:35:30 +00:00
kipp%netscape.com 4f710d172f Create a block frame for run-in and compact frames 1998-11-09 23:35:44 +00:00
kipp%netscape.com 6c26fb46b7 Improved the table warning diagnostic 1998-11-09 23:35:05 +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 6d88f202dd Added GetAdditionalChildListName() as a way to discover additional
named child lists at runtime
1998-11-09 19:59:33 +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
kipp%netscape.com 777b189df1 Disabled some more dubious br/margin code 1998-11-09 17:54:37 +00:00
vidur%netscape.com 96f4bbec57 Fix to GetFirstChild/GetLastChild from Michael Leventhal (mle@citec.fi) 1998-11-09 17:51:18 +00:00
kipp%netscape.com 7f7afdabd3 Repaired marginwidth/marginheight handling code 1998-11-09 17:51:05 +00:00
kipp%netscape.com 58eb43e339 Some spot error handling improvements to fix a crash in http://checkmate/raptor/js98/test3.html 1998-11-09 16:21:18 +00:00
troy%netscape.com 98356c0bea That part about the frame deleted reflow command being a list was a
bit overzealous. It can't be. Maybe at some point we'll have an
argument that specifies the number of frames to delete
1998-11-08 00:26:56 +00:00
troy%netscape.com 602e157092 Added some comments clarifying that appended, inserted, and deleted reflow
commands take a child list (i.e. more than one frame)
1998-11-08 00:24:40 +00:00
troy%netscape.com a923a9baa3 Changed PostCreateWidget() code to use the "default value" when setting
the widget's initial value
1998-11-07 17:47:57 +00:00
troy%netscape.com d41a655b4a Changed implementation of DefaultValue to use the value of the "value"
attribute
1998-11-07 17:46:12 +00:00
troy%netscape.com 6bedb3e504 Added code to StringToAttribute() to handle "border" attribute 1998-11-07 05:27:39 +00:00
troy%netscape.com 8a9dc6e18f Added a copy of the UpdateImageFrame() code from nsImageFrame, so that
when the image size arrives we get notified so we can kick off an
incremental reflow
1998-11-07 03:56:11 +00:00
troy%netscape.com b36b8458c4 Fixed DamageRepairFrame() to correctly handle the case where the
target frame has a view
1998-11-07 02:00:21 +00:00
buster%netscape.com 12aa0f3695 fixed the bug where events were not getting passed down to content inside
of cells with rowspans.  Basically, I just override HandleEvent() in nsTableRowGroupFrame
to ask nsTableRowFrame::Contains(), rather than the default action which is to
just use the child's rect.
1998-11-07 00:36:37 +00:00
troy%netscape.com 8ba697af42 Added a hack to make sure that the floated frame gets a DidReflow notification 1998-11-07 00:03:45 +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
pinkerton%netscape.com f2288a825a implicit int not supported anymore. 1998-11-06 17:24:58 +00:00
troy%netscape.com 64cdfa1e59 Changed to make the Mac compiler happy... 1998-11-06 17:24:08 +00:00
troy%netscape.com 591108e12c Added a comment 1998-11-06 16:24:21 +00:00
troy%netscape.com 70b4af0366 Added support for using foreground color and background color from user
preferences. Also made it so we observe the preferences, get a callback if
they change, and then do a style change reflow
1998-11-06 16:16:01 +00:00
joki%netscape.com 7e3ff11eff Fixup calls to DumpCellMap() with NS_DEBUG #ifdefs 1998-11-06 02:38:17 +00:00
kipp%netscape.com bb0641ee17 Fixed nowrap support by computing max-element-size better 1998-11-06 02:09:21 +00:00
peterl%netscape.com fa0074c6e2 fixed text-decorations some more 1998-11-06 01:06:26 +00:00
peterl%netscape.com 077d785b93 sync to declaration api change 1998-11-06 00:59:03 +00:00
peterl%netscape.com 2cdbac2a3e added table-layout
added mix/max width/height
made text-decoration not be cumulative
1998-11-06 00:58:23 +00:00
peterl%netscape.com 96a9c7b186 removed char* apis
fixed ! important property ordering
fixed CSSOM access to ! important properties
1998-11-06 00:56:28 +00:00
peterl%netscape.com 27305475ea removed char* method types 1998-11-06 00:52:57 +00:00
peterl%netscape.com 582d848efb sync to declaration api change 1998-11-06 00:52:30 +00:00
peterl%netscape.com 9bcd308ff6 added default style for INS, DEL & DFN 1998-11-06 00:51:46 +00:00
peterl%netscape.com 805b209384 turned bilnking off when the attribute goes away 1998-11-06 00:50:27 +00:00
peterl%netscape.com 35b4b23fb3 added min/max width/height
made table inheritance block be conditional on compatibility mode
1998-11-06 00:49:04 +00:00
peterl%netscape.com 4f39d9e6ee added min/max width/height 1998-11-06 00:48:14 +00:00
buster%netscape.com d5affd8ba1 various small fixes and clean up 1998-11-05 21:42:46 +00:00
troy%netscape.com b6be5bac08 Changed BODY frame to create a continuing block frame during Init() if
the body has a prev-in-flow
1998-11-05 21:41:12 +00:00
kipp%netscape.com bb4b401919 Temporary fix to get rid of the green text 1998-11-05 19:38:32 +00:00
kipp%netscape.com 2a74a81c52 Fixed a few more floater bugs; fixed incremental reflow bug with regards to BR tags (clear=all for example); support :first-line properly; work in progress on :first-letter 1998-11-05 19:33:01 +00:00
kipp%netscape.com d0621404ea Make sure overflow lists get ReResolved too 1998-11-05 19:31:59 +00:00
kipp%netscape.com 5f25ba22a1 Added UpdateStyleContexts for support change-out of style contexts 1998-11-05 19:31:39 +00:00
kipp%netscape.com e03c2fecf4 Added code to repair the style-contexts when pushing/pulling frames for support of :first-line and :first-letter (and so on!) 1998-11-05 19:31:16 +00:00
kipp%netscape.com 6b89b66097 Added GetAvailWidth 1998-11-05 19:30:45 +00:00
kipp%netscape.com 4c08039b44 Added some first-letter support 1998-11-05 19:30:31 +00:00
kipp%netscape.com fbf61162cc Eliminated hacky version of :first-line support; lay some groundwork for :first-letter support 1998-11-05 19:27:42 +00:00
pinkerton%netscape.com a88e09a2bc Fix build bustage. Add nsSimplePageSequence.cp 1998-11-05 16:25:52 +00:00
troy%netscape.com 2868c31d7c Make sure Linux links okay 1998-11-05 06:16: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
troy%netscape.com e87cadb9e2 Updated to work with new frame construction code 1998-11-05 06:12:57 +00:00
troy%netscape.com 24ddb74d95 Added simple page sequence formatting object 1998-11-04 23:21:50 +00:00
janc%netscape.com 8fe11d33b4 New CSS parser test 1998-11-04 23:08:16 +00:00
troy%netscape.com b30f491a5b Removed code for RootContentFrame class which is no longer used 1998-11-04 21:02:32 +00:00
buster%netscape.com db4987a8d2 removed some inefficiencies in finding the parent table frame.
Now the parent table frame is cached in the reflow state.
1998-11-04 20:09:19 +00:00
buster%netscape.com 1b3ee90d82 nsHTMLReflowCommand now knows what attribute triggered a StyleChanged notification 1998-11-04 19:34:34 +00:00
buster%netscape.com 5c6d17bdd7 in default 2-pass layout, tables with auto width and with all columns coord width now act like auto width tables,
not like specified width (which you might logically expect since all column widths are specified, but sadly that's
not the way Nav or IE interprets this case. )
nsTableFrame's use of IsPseudoFrame has been removed.
1998-11-04 19:33:27 +00:00
buster%netscape.com d75f439504 nsHTMLReflowCommand now has mAttribute, the attribute that triggered StyleChanged reflow
for reflow commands of type other than StyleChanged, mAttribute is nsnull.
1998-11-04 19:26:25 +00:00
troy%netscape.com 11502d021b Added some temporary code to GetContainingBlock() to make sure we return
a frame that supports the nsIAbsoluteItems interface
1998-11-04 05:35:33 +00:00
michaelp%netscape.com 6f7deed7e4 removed widget parameters from nsIView::Init(). added CreateWidget() and SetWidget()
APIs to replace this functionality. also added CreateScrollControls() to
nsIScrollableView.
1998-11-04 04:14:10 +00:00
kipp%netscape.com be3f546677 Added an assertion 1998-11-04 00:29:39 +00:00
kipp%netscape.com 9f2ed7dced Removed my style-changed work-around from last time (because it breaks incremental reflow badly); revised QueryInterface to use the revised way of casting 1998-11-04 00:29:17 +00:00
shaver%netscape.com a326735b23 need to reorder libs to make it link correctly 1998-11-04 00:26:44 +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 776a2683ef sync to style resolution api changes 1998-11-03 20:33:43 +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
peterl%netscape.com 9d15cc0b80 changed inheritance of colors
hacked inheritance of vert align for now
1998-11-03 20:31:21 +00:00
peterl%netscape.com d20c2aa1e1 added inherit rules for table child elements 1998-11-03 20:25:23 +00:00
peterl%netscape.com bdb87c7e07 sync to style resolution api changes
added reresolve support
1998-11-03 20:23:15 +00:00
peterl%netscape.com d66e00cc37 decoupled style context resolution from frames 1998-11-03 20:20:07 +00:00
peterl%netscape.com a184103f85 removed context hashtable code
decoupled style context resolution from frames
1998-11-03 20:19:28 +00:00
peterl%netscape.com c8a8304961 added pseudo tag support
removed backstop rule count
removed reparent
1998-11-03 20:18:40 +00:00
peterl%netscape.com 8069fc8bda decoupled style resolution api from frame system 1998-11-03 20:16:23 +00:00
peterl%netscape.com 409bdc4cd3 added pseudo element tag 1998-11-03 20:15:59 +00:00
peterl%netscape.com 5468869bd9 removed pres context from get style context api
added re-resolve style method
1998-11-03 20:15:24 +00:00
cls%seawood.org f50c938b76 Removed classic build Makefiles from configure.in
Changed --enable-fe to --enable-toolkit which takes a single argument.
Changed MOZ_FE to MOZ_TOOLKIT.
Removed USE_NGLAYOUT and USE_NGLAYOUT_GTK.
Removed FULL_STATIC_BUILD and --enable-min-shared.
Removed checks for gnome and qt.
1998-11-03 15:48:45 +00:00
michaelp%netscape.com a5066c14af changed nsIView::Init() so that it no longer takes an opacity value. this
allows the view manager to maintain global state re: opacity.
1998-11-03 06:36:36 +00:00
kipp%netscape.com e0bc053899 Whompage to remove unused extra arg to the NS_IMPL_*_ATTR macros 1998-11-03 01:08:02 +00:00
troy%netscape.com b1b2c83060 Added some temporary code to ensure that the floated frame is deleted 1998-11-02 23:57:25 +00:00
joki%netscape.com fa7cb8280b Adding submit event type 1998-11-02 23:05:46 +00:00
buster%netscape.com a27bed26af tables were not properly respecting maxElementSize in cells with colspan. now they do. 1998-11-02 22:19:17 +00:00
joki%netscape.com 01f2edce02 Remove extra comma from end of nsDOMEvent enum 1998-11-02 21:21:19 +00:00
akkana%netscape.com 0dd8772526 Changes over the weekend broke the IRIX build by removing the LD_ALL
and LD_NONE directives which enable the linker to combine dynamic
and static objects.
This puts them back.
1998-11-02 20:19:30 +00:00
buster%netscape.com 4769e1eae6 fixed rowspan/cell height problem where subsequent rowspanning cells can
effect previous cell heights.
1998-11-02 18:32:14 +00:00
ramiro%netscape.com 4481349d0d Add support for GTK base timer. Rename the 'unix' timer lib to 'motif' 1998-11-02 14:32:12 +00:00
msw%gimp.org 0f6cd7a49a Fix build bustage. 1998-11-02 13:34:51 +00:00
ramiro%netscape.com ffd97fa403 Use -lfoo for libs instead of hardcoding to $(DIST)/bin/libfoo.so. This
makes more unix linker happy.
1998-11-02 11:58:23 +00:00
troy%netscape.com 10c06c1b72 Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
and HaveFixedContentHeight()
1998-11-01 01:29:00 +00:00
kipp%netscape.com 769f9406a0 nit changes 1998-10-31 22:53:00 +00:00
kipp%netscape.com 2034afb7a2 Removed a private assert 1998-10-31 22:50:38 +00:00
kipp%netscape.com fc442fff49 Removed mInlineAware 1998-10-31 22:50:26 +00:00
kipp%netscape.com 55531d7ce2 Added vertical alignment tracing; use new line layout white-space handling routines 1998-10-31 22:50:16 +00:00
kipp%netscape.com 4cedea6f5b Reworked white-space compression flags so that inline-reflow can detect white-space aware frames properly 1998-10-31 22:48:56 +00:00
kipp%netscape.com d78d1dba7c Use revised line-layout whitespace compression methods; fixed trim to not trim out compressed whitespace; fixed code to break multi-span words when the first placable frame contains a breakable point 1998-10-31 22:48:21 +00:00
kipp%netscape.com 40ce227095 Support hspace/vspace properly 1998-10-31 22:45:39 +00:00
troy%netscape.com 1d38fe07e0 Changed InitConstraints() to set the constraint to be "fixed content"
rather than "constrained" if there's an explicit width or height property
specified
1998-10-31 17:56:37 +00:00
troy%netscape.com 4303137409 Added code to invalidate the frame after a resize if there is border or
padding. Otherwise the border/padding area was left dirty
1998-10-31 04:40:01 +00:00
troy%netscape.com d3505a9da8 Added release of content object in SetDocumentInChildrenOf. This fixes a
memory leak
1998-10-31 04:00:25 +00:00
sar%netscape.com 3c377dfdf7 nsDOMEVent.h -> nsDOMEvent.h to fix build bustage 1998-10-31 02:15:35 +00:00
kipp%netscape.com 9155526492 Removed bogus line-height that caused lots of tables to look wrong (bug #636) 1998-10-31 00:23:52 +00:00
troy%netscape.com 89d12b0182 Changed DeleteFrame() to prevent unwanted view event dispatch during frame
destruction
1998-10-30 23:38:03 +00:00
akkana%netscape.com 0f568a12b6 Put back the part of the old IRIX clause that doesn't break gcc/egcs 1998-10-30 23:35:01 +00:00
buster%netscape.com 8e569cbd83 implemented basic attribute changed handling. most things currently work, those that don't will work better after Peter
lands some style context resolution changes.
1998-10-30 23:08:34 +00:00