hyatt%netscape.com
47907234fe
Made the table member variables protected so that the tree widget can
...
access them.
1999-02-03 22:35:03 +00:00
karnaze%netscape.com
6256ccca5b
Made table frame construction flexible enough to allow arbitrary content to be mapped
...
to arbitrary table related display types.
1999-01-30 15:52:19 +00:00
buster%netscape.com
3f9d48c279
fixed a nasty bug where some incremental reflow cases of a table with collapsing borders would crash.
...
One example of the crash is changing the style of a cell via DOM.
Also fixed an error in the API of nsTableColFrame
1999-01-29 18:49:32 +00:00
buster%netscape.com
e7df15b90b
primarily comments and documentation
...
also removed nsTableFrame::QueryInterface() because it was just extraneous, and it made
an assumption about what class nsTableFrame derives from. Let the vtable do its work...
1999-01-27 19:29:24 +00:00
harishd%netscape.com
eb58eec877
StyleContext passed onto PaintBorder()
1999-01-22 22:38:34 +00:00
buster%netscape.com
fc8952dd64
fixed bug 2516. The InitChildList code needed to check display types before
...
assigning the mCaptionFrame member variable.
1999-01-20 07:27:06 +00:00
buster%netscape.com
45846b7bca
workaround for bug 2476: check for null child list before calling nsFrameList::AppendFrames
1999-01-18 23:54:23 +00:00
karnaze%netscape.com
7b139f6c8e
scrollable row groups
1999-01-17 23:35:56 +00:00
kipp%netscape.com
7f96144059
Spanked away SizeOf methods and nsIListFilter
1999-01-16 00:00:50 +00:00
kipp%netscape.com
065905fa0b
Used revised version of nsContainerFrame that uses an nsFrameList instead of a raw nsIFrame*
1999-01-15 22:52:05 +00:00
buster%netscape.com
952eb9a53e
comments and removal of dead code
1999-01-15 19:55:19 +00:00
troy%netscape.com
6d63084a70
Fix for bug #1998 . Now we render the background image over the padding area and not over the border area
1999-01-15 18:25:58 +00:00
troy%netscape.com
036e6852f2
Removed the content-parent frame pointer. Now we just have the one geometric
...
parent
1999-01-14 05:16:23 +00:00
buster%netscape.com
ef57c474ae
just documentation
1999-01-07 02:16:10 +00:00
troy%netscape.com
4b3e1eebad
Replaced "maxSize" member if nsReflowState with "availableWidth" and
...
"availableHeight"
1999-01-05 23:31:18 +00:00
troy%netscape.com
850f9b5598
Cleaned up some old references to margins which aren't applicable to row group
...
frames and row frames (because internal table elements don't have margins)
1999-01-05 00:41:40 +00:00
buster%netscape.com
1b814a3efe
preliminary work for cell inheritence of valign and halign attributes from col(group) and row(group)
...
according to css 2 spec
1999-01-03 19:22:40 +00:00
buster%netscape.com
5c8da0287c
fixed a bug in fixed layout initial reflow with spanning cells
1999-01-03 19:20:13 +00:00
buster%netscape.com
0664302426
collapsing border bug fixes
1998-12-30 23:23:45 +00:00
buster%netscape.com
46621cf846
empty cells now are sized correctly.
1998-12-30 22:41:08 +00:00
buster%netscape.com
0609bf2754
collapsing borders with odd width have correct width now
1998-12-30 22:40:36 +00:00
troy%netscape.com
4591f9d2ad
Changed width/height constraints in nsHTMLReflowState struct
1998-12-30 17:50:00 +00:00
buster%netscape.com
714c427896
collapsing border computation and conflict resolution
1998-12-30 06:48:15 +00:00
troy%netscape.com
eb99e22e68
Removed debug output that was probably checked in by mistake
1998-12-29 05:37:11 +00:00
troy%netscape.com
7b5cc03059
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
buster%netscape.com
d87ab21022
WIP for collapsing borders
1998-12-23 15:47:43 +00:00
buster%netscape.com
735e53976a
WIP for collapsing borders.
1998-12-21 19:20:37 +00:00
buster%netscape.com
914c880651
collapsing borders now do rounding of odd-thickness borders correctly
...
at the pixel level. The odd pixel is always given to the right and bottom
cell borders whenever possible, and to the top and left table border otherwise.
1998-12-21 18:54:23 +00:00
buster%netscape.com
d1779f0342
beginnings of collapsing borders now implemented. Doesn't work for spanning cells yet,
...
and doesn't measure borders where the width changes along a shared edge yet.
1998-12-21 06:38:18 +00:00
peterl%netscape.com
887cd5f867
sync to new attribute api
1998-12-20 01:21:23 +00:00
kipp%netscape.com
c29e5116c7
Revised frame Paint API
1998-12-18 15:54:23 +00:00
buster%netscape.com
b64da7e7fd
WIP on border collapsing
1998-12-17 22:59:40 +00:00
buster%netscape.com
5d0af8abd5
more WIP, no new code operational
1998-12-17 07:56:24 +00:00
buster%netscape.com
07d2429c5c
WIP collapsing border implementation
...
added CompareBorderStyles, GetWidthForSide, ComputeCollapsedBorderSegment
we're now computing the left edge segments somewhat correctly.
1998-12-17 07:04:42 +00:00
buster%netscape.com
cf1dde941e
use default constructor and destructor
1998-12-17 00:19:43 +00:00
buster%netscape.com
25272ef5cf
an encapsulation of border information
1998-12-16 23:42:22 +00:00
buster%netscape.com
a7f7678ce9
WIP collapsing border work
1998-12-16 22:19:23 +00:00
buster%netscape.com
7f8a8688c4
WIP on collapsing borders
1998-12-16 17:05:14 +00:00
buster%netscape.com
d35a765d2c
clean up, removed some obsolete methods
1998-12-16 06:33:15 +00:00
troy%netscape.com
3c4ae70b04
Fixed a crash when display www.sjmercury.com paginated, because we thought
...
we could re-use our cached cell desired info and we couldn't because there
was a next-in-flow frame and so we needed to reflow the cell frame and pull-up
its next-in-flow child frames
1998-12-16 05:41:57 +00:00
troy%netscape.com
fabbe773c2
Changed SetRowIndex() to be inline and non-virtual
1998-12-16 04:31:38 +00:00
troy%netscape.com
6b60c930de
Removed InitRowData() member function which is now obsolete
1998-12-16 04:08:36 +00:00
troy%netscape.com
bd67066c8a
Some improvements to the row splitting code
1998-12-16 03:46:03 +00:00
troy%netscape.com
165f9e859f
Removed SetColIndex() which wasn't being used
1998-12-16 01:35:25 +00:00
troy%netscape.com
ca5d664aeb
Removed an assert that was being triggered in a caseI didn't expect
1998-12-15 21:26:05 +00:00
troy%netscape.com
89910f892e
Work-in-progress for splitting of table row frames
1998-12-15 16:39:09 +00:00
shaver%netscape.com
30635270f8
Add --enable-debug=module1,module2 to selective turn on debugging.
...
Remove --enable-dom, because Mariner is dead (sob).
Rename some MODULE= lines to make the afore-mentioned --enable-debug
technique actually useful. Feel free to recategorize.
Fix libraptorhtml.so link bogosity by disabling shared lib generation for the
sub-archives (libraptor*_s.a), so that we can put bin before lib in the
library path and still get the right effect. We could disable static-lib
generation in most other places and cut the build time down a fair bit, too.
[NOTE: I'm getting on a train...msw@gimp.org has agreed to be my tinderbox
buddy. Thanks, Matt!]
1998-12-15 16:32:37 +00:00
troy%netscape.com
09777c2885
Tables now clear the isTopOfPage when appropriate
1998-12-14 01:24:11 +00:00
buster%netscape.com
9bf25cc09e
fixed a minor bug in incremental reflow where the reflow state's "widthConstraint" wasn't getting set
1998-12-11 18:54:58 +00:00
buster%netscape.com
b7ab7be458
support for CSS2 style property "empty-cells"
1998-12-10 19:57:42 +00:00
buster%netscape.com
8031108e1b
tables can now have independent horizontal and vertical cell spacing
...
("cellspacing" HTML attribute == "border-spacing" CSS property, go figure...)
1998-12-09 06:37:18 +00:00
troy%netscape.com
7ec6a2c281
Added new atoms to nsLayoutAtoms for additional named frame child lists
1998-12-09 05:30:17 +00:00
troy%netscape.com
7afd123cd9
Fixed a crash when resizing the print preview window
1998-12-09 04:26:42 +00:00
buster%netscape.com
868ce29c21
fixed a minor glitch I introduced where nested tables cells were getting
...
robbed of a few pixels in width in some cases.
1998-12-08 19:18:33 +00:00
troy%netscape.com
399c1e7868
Initial table pagination support
1998-12-08 17:57:45 +00:00
buster%netscape.com
c85a6cdd73
fixed a bug in table-layout:fixed mode
...
fixed bug fixed a few small bugs
1998-12-08 01:00:14 +00:00
harishd%netscape.com
541bcbe5cd
changed the code that previously accessed mBorderStyle and mBordercolor
...
with new methods added in nsStyleSpacing
1998-12-07 19:07:45 +00:00
harishd%netscape.com
511b951294
Changed code that previously accessed mBorderStyle and mBorderColor with
...
new methods added in nsStyleSpacing
1998-12-07 19:06:55 +00:00
ramiro%netscape.com
e2b921bf3c
Add cvsignore entries for makefiles generated bu autoconf.
1998-12-05 09:07:33 +00:00
buster%netscape.com
4e927b37f3
fixed cellspacing and cellpadding handling
...
default cellspacing and cellpadding now comes from the table frame itself
other frames on longer look at the "tableStyle" struct for these values
1998-12-05 05:27:21 +00:00
wtc%netscape.com
820aec09ab
The second argument for GetStyleData needs to be 'const'.
1998-12-05 01:47:37 +00:00
troy%netscape.com
c2a37f36ad
Added NS_RELEASE of col frame pseudo element style context. This fixes a memory leak
1998-12-04 03:39:05 +00:00
troy%netscape.com
199c24d49a
Changed table frame code to call DeleteFrameList() so that the col group
...
frames are deleted
1998-12-04 03:14:28 +00:00
troy%netscape.com
4a0f9cea8f
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
buster%netscape.com
23112ce100
minor optimizations and cleanup. removed constructors that did nothing.
1998-12-03 20:19:01 +00:00
buster%netscape.com
9c4e4e9e76
the inner table frame now maintains 2 child lists: the main child lists that holds rowgroups and unknown frame
...
types, and mColGroups. Besides being cleaner and easier to maintain, this should speed some things up slightly
because I don't have to check display types every time I iterate through colgroup frames. I *know*
mColGroups contains only colgroups. I might do the same for rowgroups (that is, keep unknown frame types
in their own list as well.) But that's optional.
the inner table frame used to incorrectly create actual content objects for anonymous colgroups and cols. Now,
it just creates frames as appropriate, not content. To support this, I added some pseudo style contexts and
related atoms.
1998-12-03 18:01:35 +00:00
troy%netscape.com
2a4b2c503f
Added Init() member function to nsIFrame
1998-12-03 06:31:43 +00:00
wtc%netscape.com
59b32f50ef
This checkin (under mozilla/layout) is all about 'const'. Digital Unix's
...
C++ compiler is strict about getting 'const' right. Most of the changes
are to add 'const' to the type casts for the second argument of the
GetStyleData method, which wants a const reference.
1998-12-02 16:45:20 +00:00
buster%netscape.com
09df53a05d
fixed a bug for tables with complicated colspans and fixed widths
1998-11-30 19:06:33 +00:00
buster%netscape.com
c44861d421
fixed some nested table layout problems
1998-11-30 15:10:20 +00:00
buster%netscape.com
3ddfe1c165
2 Nav4 compatibility additions:
...
1. width=0 is treated as width=auto, not width=min
2. empty cells <td></td> are assigned a width of (2*borderWidth + 2*cellspacing + 3) pixels
The "3" is a fudge factor added by Nav and IE.
1998-11-25 18:43:56 +00:00
buster%netscape.com
87d66cfc86
removed debug output
1998-11-24 20:40:43 +00:00
buster%netscape.com
9e645e1fc6
bug 1520 (www.mirabilis.com)
...
the problem was the way table layout apportioned height from a rowspanning cell.
Now, we do 2 things correctly:
1) we handle rows with rowspanning cells and no other cells.
2) we divide the height of a rowspanning cell proportionately to the rows spanned, where the proportion is defined by
the max height of a cell in that row that has no effective rowspan.
the partial fix for bug 1431 has to do with dividing width between percent-width and fixed-width columns in the same
table. You won't see any better layout for this page (ww.boston.com) as a result of the code I added. The rest of this
fix is a bit risky, so I'm waiting until after stability push.
1998-11-24 19:41:33 +00:00
buster%netscape.com
ff561429bf
changed the logic for reflowing cells whose height is changed due to a
...
height attribute.
1998-11-23 23:07:40 +00:00
buster%netscape.com
aab5ae636e
fixed the aweful nested table problems
1998-11-22 08:56:19 +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
buster%netscape.com
888de27782
removed a spurious GetContent that was the cause of a memory leak
1998-11-20 23:10:47 +00:00
alecf%netscape.com
9e8f173714
fix casting problems for gcc 2.7.2.3
1998-11-20 09:29:58 +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
a6926809f0
Added DumpRegressionData; revised ListTag; added GetFrameName
1998-11-19 17:22:29 +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
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
michaelp%netscape.com
7a9e1a4bc1
changes for pixel scaling/printing.
1998-11-14 01:52: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
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
buster%netscape.com
ce19ab8f3c
support for frame and rules attribute
1998-11-11 19:56:02 +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
kipp%netscape.com
af89649a87
Improved the table warning diagnostic
1998-11-09 23:35:05 +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
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
joki%netscape.com
cc216cef21
Fixup calls to DumpCellMap() with NS_DEBUG #ifdefs
1998-11-06 02:38:17 +00:00
buster%netscape.com
f2bd19c65b
various small fixes and clean up
1998-11-05 21:42:46 +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
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
peterl%netscape.com
cedec7bc27
sync to style resolution api changes
1998-11-03 20:33:43 +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
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
buster%netscape.com
f01655410d
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
buster%netscape.com
03cad6390d
some extremely preliminary work for styleChanged incremental reflow
1998-10-30 07:57:44 +00:00
michaelp%netscape.com
fc225bf7c1
changes to support nsIRenderingContext that conforms to COM conventions.
1998-10-30 02:08:25 +00:00