Commit Graph

2753 Commits

Author SHA1 Message Date
buster%netscape.com
aab5ae636e fixed the aweful nested table problems 1998-11-22 08:56:19 +00:00
troy%netscape.com
f8167669a4 Added missing NS_RELEASE of the content object in GetMarginHeight() 1998-11-21 17:30:41 +00:00
troy%netscape.com
2ba5d0b0ac Added NS_RELEASE to fixed memory leak after calling ChildAt() 1998-11-21 17:22:31 +00:00
kipp%netscape.com
3418cf24af 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
9b6b15c587 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
55cb6eedb8 Fixed scroll-frame code to properly fill in the max-element-size 1998-11-21 03:52:01 +00:00
buster%netscape.com
ee5912363a 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
65038e9551 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
b3039514cf 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
4893fa0a92 Added nsHTMLAtoms::wrappedFramePseudo and changed ConstructFrame() to use
it instead of nsHTMLAtoms::columnPseudo
1998-11-20 23:27:59 +00:00
buster%netscape.com
888de27782 removed a spurious GetContent that was the cause of a memory leak 1998-11-20 23:10:47 +00:00
kipp%netscape.com
04dea9e450 Use revised GetContainingBlockContentWidth method 1998-11-20 22:28:00 +00:00
kipp%netscape.com
11b6602001 Support margins on the child frame 1998-11-20 22:27:33 +00:00
kipp%netscape.com
708e34ce7a 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
12c4f09bc1 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
fd8a5d1360 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
926252607e took out a dumb debug printf 1998-11-20 21:09:54 +00:00
buster%netscape.com
496fd7d73e 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
54996e3fa5 added :TABLE pseudo-style 1998-11-20 21:06:59 +00:00
buster%netscape.com
ace67d6fb2 added tablePseudo 1998-11-20 21:05:31 +00:00
kipp%netscape.com
be3aca0f4e Added support for StyleChanged reflow reason 1998-11-20 17:41:44 +00:00
kipp%netscape.com
27d8038001 Temporary workaround for style issue 1998-11-20 17:39:11 +00:00
kipp%netscape.com
22b57f3531 Use new classname for base class; port to updated nsLeafFrame methods 1998-11-20 17:22:08 +00:00
kipp%netscape.com
64129e939e Port to updated nsLeafFrame methods 1998-11-20 17:21:49 +00:00
kipp%netscape.com
c73e99e135 Removed a compiler warning 1998-11-20 17:21:22 +00:00
kipp%netscape.com
8a2735c01b 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
c9013931ab Use revised API's for computing the border/padding 1998-11-20 17:20:29 +00:00
kipp%netscape.com
79dd1e596d 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
7b0a080513 Use revised API's to get percentage padding/borders value right 1998-11-20 17:18:58 +00:00
kipp%netscape.com
19a31f599b Use revised margin calculation api's; center blocks that have auto margins 1998-11-20 17:18:12 +00:00
kipp%netscape.com
ac2b613d40 Use Get methods from style context instead of deprecated methods 1998-11-20 17:13:28 +00:00
kipp%netscape.com
deb074f83f 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
200bf59a53 Added mBorderPadding to cache computed value in case percentages are used 1998-11-20 17:12:39 +00:00
kipp%netscape.com
f4b67a0608 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
9e8f173714 fix casting problems for gcc 2.7.2.3 1998-11-20 09:29:58 +00:00
troy%netscape.com
79aed9646d 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
5bdb79ef7f Removed some #include lines that are no longer needed 1998-11-20 05:22:45 +00:00
morse%netscape.com
856a1575fb fix for single signon 1998-11-20 05:01:32 +00:00
buster%netscape.com
fedd9bbb6a removed obsolete include of nsTableFrame 1998-11-20 01:04:43 +00:00
buster%netscape.com
90252c33df handles "height" attribute 1998-11-20 01:03:45 +00:00
buster%netscape.com
4c98e2689d 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
9582e9f3ec Improved the regression dump data somewhat 1998-11-19 18:51:53 +00:00
kipp%netscape.com
157425553e Override FrameForPoint so that floaters/bullets get events 1998-11-19 18:09:57 +00:00
kipp%netscape.com
f120c59e08 Factored out FrameForPoint code into one that takes a particular list 1998-11-19 18:09:03 +00:00
kipp%netscape.com
50e5afb598 Added XMLQuote to quote special characters; changed MakeFrameName to avoid needing quoting 1998-11-19 17:55:22 +00:00
kipp%netscape.com
a6926809f0 Added DumpRegressionData; revised ListTag; added GetFrameName 1998-11-19 17:22:29 +00:00
kipp%netscape.com
24571c1d42 Fix build bustage (hopefully) 1998-11-19 05:37:59 +00:00
troy%netscape.com
53d3c08626 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
89d24c72ce 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
5700dacf30 Adding more backwards compat DOM support (event.which, pageX, and pageY) 1998-11-19 03:20:21 +00:00
troy%netscape.com
22f284d54b 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
65520ba928 Modify event flow to avoid walking into trashed frames. 1998-11-19 00:43:36 +00:00
joki%netscape.com
4c99ecc9ce Prevent multiple firings of DOM click events on buttons. 1998-11-19 00:42:38 +00:00
kipp%netscape.com
0fc2a76de0 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
6681f98a46 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
d4cf65cd18 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
60863f9b77 Fixed SetInitialChildList() so "frame" doesn't get reset after processing
the legend frame
1998-11-18 22:14:55 +00:00
buster%netscape.com
3795eaac7c 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
d54d3fa258 shared lib conversion, phase 1 1998-11-18 06:36:44 +00:00
buster%netscape.com
da354a499c impl of DOM table.deleteRow 1998-11-18 06:30:13 +00:00
troy%netscape.com
9d1564cf4a Added some constants to use when referring to child list name indices 1998-11-18 06:13:58 +00:00
buster%netscape.com
9f0bc3a6db impl for DOM table.InsertRow 1998-11-18 06:06:37 +00:00
joki%netscape.com
77fd9c2652 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
532b5e6ff5 New css parser test 1998-11-18 04:42:37 +00:00
janc%netscape.com
6b5588ab09 update css parser test 1998-11-18 04:40:13 +00:00
janc%netscape.com
5ee7d42e2a update CSS Parser test 1998-11-18 04:39:13 +00:00
morse%netscape.com
cbcbe77b8a update for single signon 1998-11-18 04:38:13 +00:00
troy%netscape.com
69fb6f5543 Removed mFlags from nsBodyFrame and now we use the mFlags defined by
nsBlockFrame
1998-11-18 04:16:03 +00:00
troy%netscape.com
cab003320a Fixed a couple of cases where I missed calling the base class 1998-11-18 04:06:19 +00:00
troy%netscape.com
2fdc3b4633 Removed mChildCount member data 1998-11-18 03:44:08 +00:00
troy%netscape.com
74212908e2 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
fa2ffaf5bd cursor style cleanup 1998-11-18 02:23:39 +00:00
peterl%netscape.com
265c4ca8a7 cleaned up cursor style handling 1998-11-18 02:11:54 +00:00
peterl%netscape.com
e7b84c9f31 use proper pseudo tag for text style contexts 1998-11-18 02:11:27 +00:00
peterl%netscape.com
8345b5f818 cleaned up cursor handling 1998-11-18 02:10:45 +00:00
peterl%netscape.com
e26b45e286 added text pseudo tag 1998-11-18 02:09:53 +00:00
peterl%netscape.com
9d95cfa114 remove style_cursor_inherit 1998-11-18 02:08:45 +00:00
peterl%netscape.com
7675978299 fixed comment 1998-11-18 02:08:30 +00:00
janc%netscape.com
8a36652088 New CSS Parser test. 1998-11-18 01:53:02 +00:00
janc%netscape.com
f600987979 New CSS Parser Test 1998-11-18 01:24:30 +00:00
janc%netscape.com
a139b2f1bc New CSS Parser test. 1998-11-18 01:15:17 +00:00
janc%netscape.com
a99b4cef97 New CSS Parser test 1998-11-18 00:58:49 +00:00
amusil%netscape.com
e960e8007a 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
387c75adf8 impl for DOM methods table.create(THead|TFoot|Caption) and deleteCaption 1998-11-17 23:09:59 +00:00
dcone%netscape.com
c18c0a30a7 updated steve clarks changes, added genericElementCollection 1998-11-17 22:38:03 +00:00
kipp%netscape.com
552551e512 Revised max-element-size computation somewhat so that floaters are accounted for better 1998-11-17 22:28:51 +00:00
buster%netscape.com
63d84c5b52 new module 1998-11-17 22:20:59 +00:00
buster%netscape.com
148fd4ca84 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
f350be91c1 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
d14f0035d3 implementation of rows() and tBodies() 1998-11-17 16:32:29 +00:00
kipp%netscape.com
2098c2a448 Made SetTitle call ReduceEntities for bug #1398 1998-11-17 16:29:25 +00:00
troy%netscape.com
4f1b20b058 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
d23d602d77 fix build: added nsGenericDOMHTMLCollection.cpp 1998-11-17 03:23:02 +00:00
troy%netscape.com
688027c9d3 Fixed problem that caused Mac build to break 1998-11-17 02:37:47 +00:00
vidur%netscape.com
026c273104 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
2757f6e3d4 Fixed up incremental reflow for content-changed and removed floaters 1998-11-17 01:04:45 +00:00
kipp%netscape.com
389de1de86 Added in nsHTMLReflowState argument to ReflowFrame so that callers can properly initialize it 1998-11-17 01:04:21 +00:00
kipp%netscape.com
b1f6b6473f Tidy up; added some tracing 1998-11-17 01:03:59 +00:00
kipp%netscape.com
b4c8bce4e2 Removed DidReflow hack again 1998-11-17 01:03:41 +00:00
kipp%netscape.com
c3aca28e6c Look on all lists for frames 1998-11-17 01:03:28 +00:00
buster%netscape.com
573ce4b643 work in progress for full DOM support for tables 1998-11-16 23:31:24 +00:00
troy%netscape.com
bb256efbb7 Changed Reflow() to deal with reflow commands targeted at the root frame 1998-11-16 23:16:03 +00:00
troy%netscape.com
4a3de77c51 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
bd01f5a4c1 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
a435cf3ef5 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
d6a65c024a 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
e46627bcf6 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
21e08756c0 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
a56f770bde First pass to allow HTML forms to be embedded inside XML documents. 1998-11-16 06:16:17 +00:00
kipp%netscape.com
11b65a83d4 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
e45a5dc20c Attempt to compute max-element-size better 1998-11-15 01:13:44 +00:00
kipp%netscape.com
40136f9ee9 Tidy the max-element-size code 1998-11-15 01:13:25 +00:00
kipp%netscape.com
68c8ed8188 Cleaned up OL/UL margins 1998-11-15 01:13:00 +00:00
kipp%netscape.com
e9a7d36567 Properly walk up the tree to find the real color 1998-11-15 00:20:52 +00:00
kipp%netscape.com
aadaf47fc1 Added some more null-pointer checking to DOM methods 1998-11-14 22:51:43 +00:00
kipp%netscape.com
6ad169555b 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
7c3763c3e0 Removed and unused member variable 1998-11-14 22:27:06 +00:00
kipp%netscape.com
68f8209644 Fixed frame-removed crash case (when we run out kids); bug #691 1998-11-14 21:57:38 +00:00
kipp%netscape.com
6bc24733d4 Basic support for :first-letter pseudo-elements 1998-11-14 21:01:26 +00:00
kipp%netscape.com
973c0a528c Eliminated NewFrame 1998-11-14 19:28:34 +00:00
kipp%netscape.com
f064456558 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
381815af96 Removed hacks that were mostly block-frame bug workarounds 1998-11-14 19:26:57 +00:00
kipp%netscape.com
11391735ba DidReflow now supports multiple child lists; added DeleteFrameList helper method 1998-11-14 19:25:34 +00:00
michaelp%netscape.com
7a9e1a4bc1 changes for pixel scaling/printing. 1998-11-14 01:52:27 +00:00
vidur%netscape.com
f0e94f9767 Added Xlink support 1998-11-14 00:22:10 +00:00
vidur%netscape.com
d5fc2aaaea 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
75313e6a08 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
d316927b48 Modify cursor setting code to check css cursor setting for containers. 1998-11-13 23:58:52 +00:00
karnaze%netscape.com
1eafba94d2 bug 1374 (hometown.aol.com crash on resize) 1998-11-13 23:44:50 +00:00
karnaze%netscape.com
cce53e947f 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
581d6a571f bug 1357 involving a hidden control not getting submitted 1998-11-13 23:10:52 +00:00
vidur%netscape.com
d011a88573 Generic HTML collection base class 1998-11-13 22:30:23 +00:00
troy%netscape.com
87eff9d2bf 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
d28f4a59b4 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
59a9e518ba Added check for SRC being an empty string 1998-11-13 18:38:16 +00:00
troy%netscape.com
36fd247c25 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
2384ae57fa 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
59c09cffdc Removed an assert that was incorrect and that triggered when print
previewing test1
1998-11-13 05:17:08 +00:00
rickg%netscape.com
ba3ddb1078 fixed a crash that someone missed 1998-11-13 04:58:35 +00:00
rickg%netscape.com
2f234d74a2 allow view-source on XML 1998-11-13 04:36:46 +00:00
troy%netscape.com
555b09f7bd Added a scroll frame for print preview 1998-11-13 04:22:23 +00:00
troy%netscape.com
61080e7a03 Cleaned up ConstructXMLRootFrame() and added some XXX comments 1998-11-13 03:43:15 +00:00
vidur%netscape.com
0e59484bfd 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
8e56559948 Added ListTag() member function 1998-11-13 02:20:31 +00:00
kin%netscape.com
78a4fe45d4 Fixed library name typo to fix build bustage on Unix. 1998-11-13 01:33:29 +00:00
vidur%netscape.com
8f7d93e602 XML example with scripting 1998-11-12 23:57:54 +00:00
vidur%netscape.com
dbf2544c2b 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
799be9555b Actually advance the dest pointer so a copy occurs (doh!) 1998-11-12 23:33:12 +00:00
kipp%netscape.com
9fb85819e5 Fixed a memory leak with text editing 1998-11-12 23:31:38 +00:00
troy%netscape.com
532ccd2885 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
29554883d9 DOM Support: nsHTMLDocument body property 1998-11-12 22:25:51 +00:00
kipp%netscape.com
ac0565a8f8 Fixed margin collapsing bug 1998-11-12 22:24:46 +00:00
joki%netscape.com
b1ee1a8ae9 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
cc897db604 fixed a tiny bug in handling unexpected frames in a row 1998-11-12 21:04:41 +00:00
buster%netscape.com
f076fcd5be rowgroup pseudo-frames for rows inserted directly into a table 1998-11-12 20:45:28 +00:00
alecf%netscape.com
72b7591567 fix for unix bustage 1998-11-12 20:27:31 +00:00
buster%netscape.com
f4b68564d6 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
f554f82547 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
7314e95171 init the html atoms too...(temporary) 1998-11-12 18:16:25 +00:00
vidur%netscape.com
4bc4f6896a Modified stylesheet 1998-11-12 17:17:48 +00:00
vidur%netscape.com
f137d57503 new 1998-11-12 16:36:02 +00:00
kipp%netscape.com
784d48c0a8 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
4520864b33 Support for display: compact 1998-11-12 16:32:19 +00:00
kipp%netscape.com
45356c7502 Some support for first-letter style 1998-11-12 16:31:38 +00:00
vidur%netscape.com
f1f2518804 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
c896ffad62 Got rid of bogus dependency on XMLContent 1998-11-12 07:06:47 +00:00
troy%netscape.com
383e706f7d 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
efcfcf91b6 Add xml/layout files. 1998-11-12 01:05:48 +00:00
pinkerton%netscape.com
752f9c5981 Fix build bustage. Add xml/document files and nsGenericElement.cpp 1998-11-12 01:00:58 +00:00
vidur%netscape.com
8723f8326b 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
d3b71028ee enabled view-source 1998-11-11 20:31:45 +00:00
buster%netscape.com
ce19ab8f3c support for frame and rules attribute 1998-11-11 19:56:02 +00:00
buster%netscape.com
1666eee663 fix for default cell padding and cell spacing 1998-11-11 19:54:23 +00:00
troy%netscape.com
f9a029ea12 Fixed memory leak 1998-11-11 16:50:51 +00:00
rickg%netscape.com
c737f0ffa8 first pass support for view-source 1998-11-11 11:55:32 +00:00
troy%netscape.com
690b52766a Fixed a memory leak of a content object 1998-11-11 06:37:30 +00:00
troy%netscape.com
3c6f99e1d7 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
2f43e35996 Added a sleazy implementation of css2's run-in display type 1998-11-11 03:55:55 +00:00
kipp%netscape.com
85c8ae6bcf 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
add7918774 Added run-in and compact display types to the TreatFrameAsBlockFrame method 1998-11-11 03:54:47 +00:00
kipp%netscape.com
dfbd908044 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
288a1c7f8c 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
0051a7f8b8 fixed <frameset frameborder=no> allowed frame resizing 1998-11-10 20:49:51 +00:00
kipp%netscape.com
ef7315d187 Fixed AddFrame method hiding 1998-11-10 19:20:53 +00:00
kipp%netscape.com
594ec210f9 Removed unused include 1998-11-10 19:16:32 +00:00
cls%seawood.org
44b5869de6 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
a6ea00c527 Use lineLayout object to pass on floater to the containing block 1998-11-10 18:04:34 +00:00
kipp%netscape.com
8b1973c472 Added InitFloater 1998-11-10 18:04:19 +00:00
kipp%netscape.com
34bf927f85 Use geometric parent to get containing block of the floater 1998-11-10 18:04:10 +00:00
kipp%netscape.com
afb208283b Removed obsolete IIDs 1998-11-10 18:03:53 +00:00
kipp%netscape.com
366b13adac Removed GetReflowMetrics 1998-11-10 18:03:42 +00:00
kipp%netscape.com
edd04980fc Tidy up by removing some old junky code 1998-11-10 18:03:29 +00:00
kipp%netscape.com
eaa75a51fe nuked 1998-11-10 18:02:20 +00:00
kipp%netscape.com
21c0ad58b2 Added a reminder to the ua.css 1998-11-10 18:00:46 +00:00
kipp%netscape.com
d30dab65fb 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
527ee073f8 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
6e8a40b6ce Added GetChildListName() member function 1998-11-10 04:31:02 +00:00
rickg%netscape.com
a572a000de changed contentsink API to support XML 1998-11-10 04:13:59 +00:00
pierre%netscape.com
a70be7844d fix build: added nsImageControlFrame.cpp 1998-11-10 02:26:13 +00:00
joki%netscape.com
561847577e 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
66157a9852 Create a block frame for run-in and compact frames 1998-11-09 23:35:44 +00:00
kipp%netscape.com
af89649a87 Improved the table warning diagnostic 1998-11-09 23:35:05 +00:00
karnaze%netscape.com
aec75f892e 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
9d8145f033 Added GetAdditionalChildListName() as a way to discover additional
named child lists at runtime
1998-11-09 19:59:33 +00:00
troy%netscape.com
081c78e696 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
40dbf5063b Disabled some more dubious br/margin code 1998-11-09 17:54:37 +00:00
vidur%netscape.com
c23c7bfe96 Fix to GetFirstChild/GetLastChild from Michael Leventhal (mle@citec.fi) 1998-11-09 17:51:18 +00:00
kipp%netscape.com
0332290e01 Repaired marginwidth/marginheight handling code 1998-11-09 17:51:05 +00:00
kipp%netscape.com
4cfeba185c 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
c58917a92f 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
4fea1d817c 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
3006e7c7a3 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
bb2f772b6d Changed implementation of DefaultValue to use the value of the "value"
attribute
1998-11-07 17:46:12 +00:00
troy%netscape.com
386299e3aa Added code to StringToAttribute() to handle "border" attribute 1998-11-07 05:27:39 +00:00
troy%netscape.com
e7e6f42ffc 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
e66cb75bcb 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
a8be97a521 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
5befa347fb 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
cc256d154b 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
f8a32d82cb implicit int not supported anymore. 1998-11-06 17:24:58 +00:00
troy%netscape.com
e71a43a32a Changed to make the Mac compiler happy... 1998-11-06 17:24:08 +00:00
troy%netscape.com
1fa3a99941 Added a comment 1998-11-06 16:24:21 +00:00
troy%netscape.com
3c62625d97 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
cc216cef21 Fixup calls to DumpCellMap() with NS_DEBUG #ifdefs 1998-11-06 02:38:17 +00:00
kipp%netscape.com
07564642ae Fixed nowrap support by computing max-element-size better 1998-11-06 02:09:21 +00:00
peterl%netscape.com
44c72dc670 fixed text-decorations some more 1998-11-06 01:06:26 +00:00
peterl%netscape.com
e992193567 sync to declaration api change 1998-11-06 00:59:03 +00:00
peterl%netscape.com
44ce3054b9 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
b0d65f24f9 removed char* apis
fixed ! important property ordering
fixed CSSOM access to ! important properties
1998-11-06 00:56:28 +00:00
peterl%netscape.com
c082c22d32 removed char* method types 1998-11-06 00:52:57 +00:00
peterl%netscape.com
7b042ff290 sync to declaration api change 1998-11-06 00:52:30 +00:00
peterl%netscape.com
4b024efc62 added default style for INS, DEL & DFN 1998-11-06 00:51:46 +00:00
peterl%netscape.com
eb27d38c27 turned bilnking off when the attribute goes away 1998-11-06 00:50:27 +00:00
peterl%netscape.com
a76e7fffdd 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
bed7b77103 added min/max width/height 1998-11-06 00:48:14 +00:00
buster%netscape.com
f2bd19c65b various small fixes and clean up 1998-11-05 21:42:46 +00:00
troy%netscape.com
6214cab218 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
1bafa4a69f Temporary fix to get rid of the green text 1998-11-05 19:38:32 +00:00
kipp%netscape.com
34aec22132 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
430d6b8b6f Make sure overflow lists get ReResolved too 1998-11-05 19:31:59 +00:00
kipp%netscape.com
c9dcd9009c Added UpdateStyleContexts for support change-out of style contexts 1998-11-05 19:31:39 +00:00
kipp%netscape.com
4957b3f0d6 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
e6375145fe Added GetAvailWidth 1998-11-05 19:30:45 +00:00
kipp%netscape.com
ff42a3eb90 Added some first-letter support 1998-11-05 19:30:31 +00:00
kipp%netscape.com
c4da295fd8 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
8d752f9e8f Fix build bustage. Add nsSimplePageSequence.cp 1998-11-05 16:25:52 +00:00
troy%netscape.com
d96a24b764 Make sure Linux links okay 1998-11-05 06:16:24 +00:00
troy%netscape.com
04c879d6fb Changed frame construction code to create a simple page sequence frame
when paginated
1998-11-05 06:13:55 +00:00
troy%netscape.com
22d1bd6f04 Updated to work with new frame construction code 1998-11-05 06:12:57 +00:00
troy%netscape.com
34ef7d33db Added simple page sequence formatting object 1998-11-04 23:21:50 +00:00
janc%netscape.com
c590a20096 New CSS parser test 1998-11-04 23:08:16 +00:00
troy%netscape.com
768d7859c8 Removed code for RootContentFrame class which is no longer used 1998-11-04 21:02:32 +00:00
buster%netscape.com
983a5d4e43 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
a84d47ada2 nsHTMLReflowCommand now knows what attribute triggered a StyleChanged notification 1998-11-04 19:34:34 +00:00
buster%netscape.com
95dc9f956f 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
c7dbb849e8 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
de38423189 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
dff35cf838 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
043a97b611 Added an assertion 1998-11-04 00:29:39 +00:00
kipp%netscape.com
723caba947 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
d38495bb98 need to reorder libs to make it link correctly 1998-11-04 00:26:44 +00:00
peterl%netscape.com
ed14dc36b1 made parent context no longer be optional on re-resolve style context method 1998-11-03 21:29:14 +00:00
peterl%netscape.com
cedec7bc27 sync to style resolution api changes 1998-11-03 20:33:43 +00:00
peterl%netscape.com
a753f1285d 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
0eb342abbc changed inheritance of colors
hacked inheritance of vert align for now
1998-11-03 20:31:21 +00:00
peterl%netscape.com
66e00aeb03 added inherit rules for table child elements 1998-11-03 20:25:23 +00:00
peterl%netscape.com
e046b13589 sync to style resolution api changes
added reresolve support
1998-11-03 20:23:15 +00:00
peterl%netscape.com
9a58917a1a decoupled style context resolution from frames 1998-11-03 20:20:07 +00:00
peterl%netscape.com
a539d1f903 removed context hashtable code
decoupled style context resolution from frames
1998-11-03 20:19:28 +00:00
peterl%netscape.com
15ebc84957 added pseudo tag support
removed backstop rule count
removed reparent
1998-11-03 20:18:40 +00:00
peterl%netscape.com
13bdbc9c30 decoupled style resolution api from frame system 1998-11-03 20:16:23 +00:00
peterl%netscape.com
44408018b3 added pseudo element tag 1998-11-03 20:15:59 +00:00
peterl%netscape.com
2f5892eda7 removed pres context from get style context api
added re-resolve style method
1998-11-03 20:15:24 +00:00
cls%seawood.org
f70174e61a 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
d2b75b1ba9 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
f221b92e8c Whompage to remove unused extra arg to the NS_IMPL_*_ATTR macros 1998-11-03 01:08:02 +00:00
troy%netscape.com
c347b9a308 Added some temporary code to ensure that the floated frame is deleted 1998-11-02 23:57:25 +00:00
joki%netscape.com
7a58f918de Adding submit event type 1998-11-02 23:05:46 +00:00
buster%netscape.com
fdcb34465c tables were not properly respecting maxElementSize in cells with colspan. now they do. 1998-11-02 22:19:17 +00:00
joki%netscape.com
8c8f1f249e Remove extra comma from end of nsDOMEvent enum 1998-11-02 21:21:19 +00:00
akkana%netscape.com
cd37fd933a 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
928e6c5f56 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
0ef4de0df3 Add support for GTK base timer. Rename the 'unix' timer lib to 'motif' 1998-11-02 14:32:12 +00:00
msw%gimp.org
43e7a783ca Fix build bustage. 1998-11-02 13:34:51 +00:00
ramiro%netscape.com
8063fc4cc6 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
fe4e76d9d9 Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
and HaveFixedContentHeight()
1998-11-01 01:29:00 +00:00
kipp%netscape.com
eb832dc1a3 nit changes 1998-10-31 22:53:00 +00:00
kipp%netscape.com
de68bd9637 Removed a private assert 1998-10-31 22:50:38 +00:00
kipp%netscape.com
bc8ba33541 Removed mInlineAware 1998-10-31 22:50:26 +00:00
kipp%netscape.com
12dbdf6cdd Added vertical alignment tracing; use new line layout white-space handling routines 1998-10-31 22:50:16 +00:00
kipp%netscape.com
f41818bc4c 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
3371afc510 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
3216b924ef Support hspace/vspace properly 1998-10-31 22:45:39 +00:00
troy%netscape.com
0f88fd3cc0 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
633fecba5e 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
b6d7f0aa2f Added release of content object in SetDocumentInChildrenOf. This fixes a
memory leak
1998-10-31 04:00:25 +00:00
sar%netscape.com
54b32fe09a nsDOMEVent.h -> nsDOMEvent.h to fix build bustage 1998-10-31 02:15:35 +00:00
kipp%netscape.com
e09b41d06b 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
e8b0525ac9 Changed DeleteFrame() to prevent unwanted view event dispatch during frame
destruction
1998-10-30 23:38:03 +00:00
akkana%netscape.com
bb2691d06c Put back the part of the old IRIX clause that doesn't break gcc/egcs 1998-10-30 23:35:01 +00:00