karnaze%netscape.com
ca6ca2bb08
bug 27529 - round column allocations to even pixel value. bug 18955 - don't allocate a col based on desired content if there is a fixed value. r=peterl.
2000-09-01 01:29:50 +00:00
karnaze%netscape.com
6aa819edb3
bug 43732 - correctly calculate preferred width of table and cache it. r=syd.
2000-07-06 13:37:28 +00:00
anthonyd%netscape.com
e8ceb8ee1b
r:mjudge
...
fix for bug# 29785, keyboard navigation of tables in editor
not completely fixed, tables with row|column span do not navigate correctly
2000-05-11 01:04:39 +00:00
karnaze%netscape.com
2005083629
bug 29459 - strategy's table min and max width is calculated to include
...
percent and proportional cells. Stopped caching it. Calculate max element size better.
2000-05-10 00:54:00 +00:00
karnaze%netscape.com
65511dc8d6
new reflow/layout code for outer table to handle captions and margins. better % height handling.
...
row groups and rows don't include external cellspacing in there dimensions. r=troy.
2000-04-28 21:05:31 +00:00
dbaron%fas.harvard.edu
87e19c9cef
Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161.
2000-03-22 02:43:08 +00:00
karnaze%netscape.com
49f3412344
bug 10636, 15499(partial) - correctly get margin,border,padding from reflow info. calculate it for percentage padding when reflow state not available. r=troy
2000-02-12 01:55:40 +00:00
karnaze%netscape.com
2e709d5d79
bug 8524 - don't use -moz-bg-inset in standard mode. r=troy
...
bug 10269 - renamed RequiresPass1Layout to IsAutoLayout and have it force a fixed layout table (not tree) to be auto layout if the table is auto width.
2000-02-12 00:58:38 +00:00
karnaze%netscape.com
9caaf2af43
bug 24880 colspan/rowspan=0 handling, bug 22122 handle *0 proportional width; r=kmcclusk.
2000-02-01 03:23:29 +00:00
cmanske%netscape.com
acb4eb592c
Table editing (bug 20973): return reported and actual rowspan and colspan values from GetCellDataAt(), r=karnaze
2000-01-26 14:56:06 +00:00
troy%netscape.com
8a78d916a5
b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
...
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
karnaze%netscape.com
8a106ef33c
fixed printing assertions; more throughly check cell map usage for contuining frames;
...
fixed bug 24057; r=kmcclusk,cmanske; could not run mail smoke tests due to prior bustage.
2000-01-15 20:10:00 +00:00
karnaze%netscape.com
d41822031d
bugs 19061, 9879 - each top level row group gets its own cell map; CellData reduced to 4 bytes.
2000-01-13 05:29:38 +00:00
troy%netscape.com
b5bd38b59c
b=23239. Changed tables to incrementally update maximum width (natural width)
...
if requested. Now we only do a single reflow when processing table cell
incremental reflow instead of the three reflows we had to do before
2000-01-11 15:55:31 +00:00
karnaze%netscape.com
aebdc7d5fe
bug 22246 - row/col span changes on cell alter cell map and reflow table. r=kmcclusk
2000-01-04 05:31:56 +00:00
karnaze%netscape.com
0fbc252ef9
bug 12287 - honors mComputed values in reflow state and uses CSS box-sizing property.
2000-01-02 22:55:48 +00:00
karnaze%netscape.com
1949a7d733
removed caching of collapsed rows and cols as a likely fix for non reproducable bug 21652. a=hofmann, r=hyatt
1999-12-16 01:51:06 +00:00
alecf%netscape.com
ab78f88559
fix unix bustage once and for all
1999-12-14 00:24:33 +00:00
alecf%netscape.com
d24ec6790d
argh, back that out, it makes it even worse
1999-12-14 00:14:56 +00:00
alecf%netscape.com
3a301aa43c
fix unix bustage
1999-12-14 00:01:55 +00:00
karnaze%netscape.com
2eb4655c2e
incremental cell map, columns. Bugs 12122, 21544. r=troy,hyatt a=hofmann
1999-12-13 22:56:31 +00:00
hyatt%netscape.com
de2eaede42
Implementing a generalized recycler and arena for all layout frames. Hoping to improve
...
bug #9489 . Should also definitely fix bug #15916 . r=troy
1999-12-04 23:49:50 +00:00
tbogard%aol.net
af1ce8d410
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
troy%netscape.com
597b5f236b
WillReflow/DidReflow changes and changes to the way view positioning
...
and sizing works
1999-11-19 15:33:29 +00:00
dmose%mozilla.org
5312eacf8c
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
troy%netscape.com
1585a751fb
Moved a bunch of stuff out to a nsIFrameDebug interface
1999-11-01 22:12:45 +00:00
troy%netscape.com
a12c3d6c5d
Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
...
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
karnaze%netscape.com
57dc1ce399
simplified caching of column frames. split out collapsing border processing into nsBorderCollapser (checked in previously). r=troy
1999-10-28 04:09:39 +00:00
troy%netscape.com
87afecabc0
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
troy%netscape.com
5d86678e7b
r=karnaze@netscape.com
...
Save 8 bytes per table cell frame by eliminating mCollapseOffset and
using a frame property instead.
1999-10-22 02:06:22 +00:00
troy%netscape.com
0959b411de
r=kipp@netscape.com
...
Added API to get/set properties on frames. Also changed nsContainerFrame
to use a property to implement the frame overflow list. This saves 4 bytes
per container frames
1999-10-21 05:11:43 +00:00
karnaze%netscape.com
886b682461
Remove caching cell spacing as margin on cells, reducing 16 bytes and avoiding potentially unique style contexts; simplified cell margin calculations; r=troy
1999-10-20 14:18:56 +00:00
troy%netscape.com
d6fe7542eb
Space optimization for nsTableFrame. r=karnaze@netscape.com
...
- changed mBorderEdges to be heap allocated (only needed for collapsing border model)
- made the 8 boolean data members into bitfields
- changed mColumnWidths to be as small as necessary instead of defaulting its size to 100 elements
1999-10-04 23:48:05 +00:00
karnaze%netscape.com
249f8499bb
column allocation does fixed and adjusted fixed (colspans) in separate steps. Simplified AllocateConstrained. Fixed bug 14332.
1999-10-04 05:19:32 +00:00
karnaze%netscape.com
5b0679f4bf
bugs 965, 1053, 1163 - improved handling of borders; bug 10216 align, text-align on caption.
1999-09-02 00:07:14 +00:00
kipp%netscape.com
7fe2679e86
Updated SizeOf methods to not waste space when doing a non-debug build
1999-09-01 01:02:16 +00:00
kipp%netscape.com
f808fbb193
Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot
1999-08-31 03:09:40 +00:00
troy%netscape.com
a7a27982af
Changing tables to return max element size during an incremental reflow
1999-08-30 22:30:32 +00:00
hyatt%netscape.com
415182cc05
Changes to the cell map to support incremental insertion and removal of rows. Currently
...
only used by the tree widget.
1999-08-30 00:01:09 +00:00
karnaze%netscape.com
711879206c
bug 12287 - removed nsTableFrame::GetContainerWidth, renamed TableIsAutoWidth to IsAutoWidth and simplified.
1999-08-27 21:15:21 +00:00
karnaze%netscape.com
9d31e7c8a1
bug 12590 - vertical-align:middle working on cell
1999-08-27 04:29:05 +00:00
karnaze%netscape.com
7dddc57925
bug 1271 - percentage height cells, added GetNumCellsOriginatingInRow, fixed GetNumCellsOriginatingInCol
1999-08-25 21:49:18 +00:00
karnaze%netscape.com
b8e618df7b
replaced debug flags with class. removed compiler warnings.
1999-08-24 12:01:31 +00:00
karnaze%netscape.com
580f6c95ec
bug 11026 - rounding error on balancing when max element size is too large.
1999-08-23 04:41:30 +00:00
karnaze%netscape.com
6eb1c1889b
bug 11944 - correct placement of row group using table border/padding. bug 625 - reinitialized col sizes before 2nd pass 1 reflow.
1999-08-21 06:38:07 +00:00
karnaze%netscape.com
cb3ff2b8d2
bug 11944 - row group is properly offset using table border. cleaned up new incremental reflow methods.
1999-08-20 23:27:54 +00:00
karnaze%netscape.com
57ee1e4723
fix mac bustage
1999-08-19 20:36:52 +00:00
karnaze%netscape.com
7bad0d49ba
Added new incremental reflow methods.
...
CellData keeps track of row versus col spans.
nsColFrame keeps track of what cell contributed to constrained width.
nsCellMap::GetCellFrameAt replace with GetCellInfoAt
simplified nsTableCellFrame::RecalcLayoutData and removed FindLargestMargin, CalculateMargins, CalculateMargins
simplified nsTableFrame::RecalcLayoutData and removed AppendLayoutData
Added gsDebugReflow capability, remove all existing debug printf
1999-08-19 19:52:37 +00:00
troy%netscape.com
f901be20dc
Changed to table incremental reflow
1999-08-19 03:51:25 +00:00
troy%netscape.com
6b325a5196
Made sure that column cache is invalidated if necessary when appending rows
...
frames and cell frames
1999-08-07 15:12:50 +00:00
buster%netscape.com
334db030c0
fixed a memory leak, and a null pointer dereference, having to do with collapsing borders
1999-08-07 05:40:09 +00:00
cmanske%netscape.com
5a6781c3b8
Added nsITableLayout::GetTableSize() to get number of rows and columns in table. Fixup up comments for new methods
1999-08-01 16:20:14 +00:00
cmanske%netscape.com
2781d6d9a2
Adding interface for editor access to table layout data
1999-07-31 22:11:50 +00:00
karnaze%netscape.com
a88b1a3f85
new nsCellMap, BasicTableLayoutStrategy, plus various fixes to table
...
frames while testing the new cell map and strategy
1999-07-28 08:09:02 +00:00
troy%netscape.com
c551fe3166
Renamed DeleteFrame() to Destroy()
1999-07-22 02:24:52 +00:00
hyatt%netscape.com
b66c3c67f2
Landing the tree widget branch.
1999-06-23 03:02:21 +00:00
hyatt%netscape.com
000e6b29df
Added support for incremental reflow of nested row groups (yeah, baby, yeah, baby, YEAH).
1999-06-15 01:19:18 +00:00
hyatt%netscape.com
eb46905ff2
More nested row group changes.
1999-06-14 23:42:16 +00:00
hyatt%netscape.com
16d4e11bdf
More changes to allow tables to support nested row groups.
1999-06-14 08:01:00 +00:00
karnaze%netscape.com
1036c9827e
support for backgrounds on table elements in both compatibility modes
1999-06-07 21:10:25 +00:00
mjudge%netscape.com
864e061209
new table selection code drag inside and outside of tables with ease. added some overriding methods to nsTableCellFrame and nsTableFrame to make selection "draw" correctly for those containers.
1999-06-01 23:04:13 +00:00
mjudge%netscape.com
4bff71e096
reviewed sfraser approved choffman 6771 6762 UMR and Extreemly inefficient table selection code fixed simply
1999-05-20 00:52:00 +00:00
karnaze%netscape.com
ebeb68d601
support for css padding in table cells
1999-05-18 05:18:16 +00:00
kipp%netscape.com
4846f41f1f
Reworked frame factory methods; fixed bug 4519
1999-05-11 22:03:29 +00:00
karnaze%netscape.com
623aa79134
bug 3103 - resizing table based on height attribute now considers row spans of cells.
1999-05-04 19:15:56 +00:00
karnaze%netscape.com
b32fa94515
support for right-to-left direction
1999-04-22 03:51:58 +00:00
troy%netscape.com
9106c62e3e
Overflow code and pushing code now take header/footer frames into
...
account
1999-03-09 05:29:37 +00:00
buster%netscape.com
e03330c847
fixed IsNested to account for outer table frame
...
removed obsolete debug code
1999-03-01 06:40:24 +00:00
troy%netscape.com
3bdf672129
Removed nsIFrame::CreateContinuingFrame()
1999-02-25 05:31:15 +00:00
troy%netscape.com
da4193eab6
Changed nsIFrame::Init() to take an additional parameter
1999-02-25 03:27:57 +00:00
troy%netscape.com
47cbdb1e9d
Added frame type atoms for several table frame classes
1999-02-24 05:54:31 +00:00
karnaze%netscape.com
a43b2445da
collapsing rows, row groups, cols, col groups
1999-02-11 06:22:33 +00:00
troy%netscape.com
2ac7b86865
Changed GetAdditionalChildListName() and FirstChild() to use ** instead
...
of *&
1999-02-10 02:25:01 +00:00
karnaze%netscape.com
81d2fdf2cb
work in progress for table visibility=collapse
1999-02-03 23:54:32 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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