192 Commits

Author SHA1 Message Date
hyatt%netscape.com
fe110b68b9 Tweaks to be able to see the RowReflowState over in trees
git-svn-id: svn://10.0.0.236/trunk@44961 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 00:43:53 +00:00
karnaze%netscape.com
42a0e08a9e bug 1271 - percentage height cells, added GetNumCellsOriginatingInRow, fixed GetNumCellsOriginatingInCol
git-svn-id: svn://10.0.0.236/trunk@44534 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 21:49:18 +00:00
karnaze%netscape.com
112f671dfe replaced debug flags with class. removed compiler warnings.
git-svn-id: svn://10.0.0.236/trunk@44283 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 12:01:31 +00:00
troy%netscape.com
88368a0250 Minor cleanup
git-svn-id: svn://10.0.0.236/trunk@44026 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 21:24:42 +00:00
troy%netscape.com
b583c2d31c Optimized incremental reflow and split some code out into member functions
so there's less dusplication of code


git-svn-id: svn://10.0.0.236/trunk@44017 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 20:16:32 +00:00
karnaze%netscape.com
1ae768f9a1 bug 11944 - correct placement of row group using table border/padding. bug 625 - reinitialized col sizes before 2nd pass 1 reflow.
git-svn-id: svn://10.0.0.236/trunk@43971 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 06:38:07 +00:00
brade%netscape.com
14f64deece remove mac compiler warning
git-svn-id: svn://10.0.0.236/trunk@43817 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 13:32:23 +00:00
karnaze%netscape.com
5e4439a661 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


git-svn-id: svn://10.0.0.236/trunk@43641 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 19:52:37 +00:00
troy%netscape.com
8a85938908 Changed to table incremental reflow
git-svn-id: svn://10.0.0.236/trunk@43548 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 03:51:25 +00:00
karnaze%netscape.com
35434b326b bug 3517.
Always get border-collapse from nsTableFrame::GetBorderCollapseStyle.
Added several null checks for border edges.
Added check in nsTableFrame::DidComputeHorizontal to replace null edges with trival ones.


git-svn-id: svn://10.0.0.236/trunk@42871 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 00:49:10 +00:00
troy%netscape.com
421d2fb7eb Made sure that column cache is invalidated if necessary when appending rows
frames and cell frames


git-svn-id: svn://10.0.0.236/trunk@42656 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 15:12:50 +00:00
troy%netscape.com
908cf77ed6 Fix for bug #11393
git-svn-id: svn://10.0.0.236/trunk@42599 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 00:31:02 +00:00
troy%netscape.com
9733d9f0ae Changed to new command reflow handling
git-svn-id: svn://10.0.0.236/trunk@41933 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 02:41:27 +00:00
troy%netscape.com
6287040813 Work-in-progress for table handling of reflow commands
git-svn-id: svn://10.0.0.236/trunk@41773 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-01 22:01:37 +00:00
karnaze%netscape.com
e21f3ad4c8 bug 10809, incremental reflow of nested tables now reflows children.
git-svn-id: svn://10.0.0.236/trunk@41562 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 23:19:52 +00:00
karnaze%netscape.com
382b9863de new nsCellMap, BasicTableLayoutStrategy, plus various fixes to table
frames while testing the new cell map and strategy


git-svn-id: svn://10.0.0.236/trunk@41454 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 08:09:02 +00:00
troy%netscape.com
a314bc3877 Renamed some nsFrameList member functions
git-svn-id: svn://10.0.0.236/trunk@40595 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 04:00:57 +00:00
mjudge%netscape.com
21a15def92 fixing table selection again. also adding parameter to nsIFocusTracker that allows us to get the current caret location. I am also stopping nsTableRowFrame from putting blue border around itself since cells are a high enough granularity. made a change to nsIFrame GetPosition to remove some useless parameters ect. this caused me to change nsDOMEvent.cpp and some other places.
MJ


git-svn-id: svn://10.0.0.236/trunk@34640 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:08:17 +00:00
karnaze%netscape.com
16daf5e57c bug 6459 - incremental reflow methods call DeleteFrame instead of RemoveFrame
git-svn-id: svn://10.0.0.236/trunk@34544 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 02:29:34 +00:00
karnaze%netscape.com
0e237e981a support for backgrounds on table elements in both compatibility modes
git-svn-id: svn://10.0.0.236/trunk@34067 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:10:25 +00:00
kipp%netscape.com
de60169b67 Reworked frame factory methods; fixed bug 4519
git-svn-id: svn://10.0.0.236/trunk@31154 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 22:03:29 +00:00
karnaze%netscape.com
871f0a7dd9 bug 3103 - resizing table based on height attribute now considers row spans of cells.
git-svn-id: svn://10.0.0.236/trunk@30149 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:15:56 +00:00
karnaze%netscape.com
375be2284d bug 5838 - right-to-left handling of col span at right edge
git-svn-id: svn://10.0.0.236/trunk@30058 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 03:31:07 +00:00
karnaze%netscape.com
4c449cb10f support for right-to-left direction
git-svn-id: svn://10.0.0.236/trunk@28645 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 03:51:58 +00:00
troy%netscape.com
b435e27ac9 Removed SetInitialChildList() and now we inherit the base class version
which does the same thing


git-svn-id: svn://10.0.0.236/trunk@27268 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:11:46 +00:00
troy%netscape.com
473511a1eb Removed some code from nsContainerFrame that is no longer needed now that'
we have nsFrameList


git-svn-id: svn://10.0.0.236/trunk@27238 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 23:46:02 +00:00
kipp%netscape.com
9e4c4cb1e3 Whacked paint methods to use new constants
git-svn-id: svn://10.0.0.236/trunk@25154 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 00:39:35 +00:00
karnaze%netscape.com
320437ece4 bug 2220; changed wording of some warnings.
git-svn-id: svn://10.0.0.236/trunk@24070 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 12:49:37 +00:00
kipp%netscape.com
b4d19704fd use new nsHTMLReflowState ctors
git-svn-id: svn://10.0.0.236/trunk@22833 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:19:09 +00:00
troy%netscape.com
b51e46e943 Removed nsIFrame::CreateContinuingFrame()
git-svn-id: svn://10.0.0.236/trunk@21866 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 05:31:15 +00:00
troy%netscape.com
f293c578fd Changed nsIFrame::Init() to take an additional parameter
git-svn-id: svn://10.0.0.236/trunk@21843 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 03:27:57 +00:00
troy%netscape.com
70b1ea8e3f Added frame type atoms for several table frame classes
git-svn-id: svn://10.0.0.236/trunk@21708 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 05:54:31 +00:00
troy%netscape.com
cc2323242f Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
not references


git-svn-id: svn://10.0.0.236/trunk@21702 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 04:48:08 +00:00
karnaze%netscape.com
6c5308ed49 added printf to flag when a table cell's max element size exceeds its desired size (for bug 3094)
git-svn-id: svn://10.0.0.236/trunk@21652 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 21:03:57 +00:00
troy%netscape.com
957c46c254 More work-in-progress for table pagination
git-svn-id: svn://10.0.0.236/trunk@21452 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 03:28:00 +00:00
troy%netscape.com
467691c69c Removed some XXX code that was temporary, but I forgot to delete
git-svn-id: svn://10.0.0.236/trunk@21254 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:05:00 +00:00
karnaze%netscape.com
6ccd350a1d collapsing rows, row groups, cols, col groups
git-svn-id: svn://10.0.0.236/trunk@20372 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 06:22:33 +00:00
buster%netscape.com
3dbeb7eb3f changed getters to be XP_COM-like, with out-params instead of return values.
this is so these getters can be bound to an XPCOM interface, nsITableCellLayout


git-svn-id: svn://10.0.0.236/trunk@20326 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 01:16:28 +00:00
troy%netscape.com
bd78450e96 Changed GetNextSibling() to use a pointer argument instead of a reference
git-svn-id: svn://10.0.0.236/trunk@20223 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 06:13:38 +00:00
troy%netscape.com
339afcce8a Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references


git-svn-id: svn://10.0.0.236/trunk@20222 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 05:38:18 +00:00
troy%netscape.com
3635a7c72c Changed GetAdditionalChildListName() and FirstChild() to use ** instead
of *&


git-svn-id: svn://10.0.0.236/trunk@20212 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 02:25:01 +00:00
troy%netscape.com
8934624982 Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters


git-svn-id: svn://10.0.0.236/trunk@20199 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 00:42:56 +00:00
kipp%netscape.com
5bebf0d77c Renamed RemoveFrame to RemoveAFrame to reduce compiler warnings
git-svn-id: svn://10.0.0.236/trunk@19695 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 16:27:18 +00:00
karnaze%netscape.com
f728c86270 work in progress for table visibility=collapse
git-svn-id: svn://10.0.0.236/trunk@19604 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 23:54:32 +00:00
kipp%netscape.com
4e355995e6 Spanked away SizeOf methods and nsIListFilter
git-svn-id: svn://10.0.0.236/trunk@17895 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 00:00:50 +00:00
kipp%netscape.com
c3040176bf Used revised version of nsContainerFrame that uses an nsFrameList instead of a raw nsIFrame*
git-svn-id: svn://10.0.0.236/trunk@17883 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:52:05 +00:00
troy%netscape.com
ecc9f6f19d Removed the content-parent frame pointer. Now we just have the one geometric
parent


git-svn-id: svn://10.0.0.236/trunk@17702 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 05:16:23 +00:00
troy%netscape.com
641be3028f Replaced "maxSize" member if nsReflowState with "availableWidth" and
"availableHeight"


git-svn-id: svn://10.0.0.236/trunk@17201 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 23:31:18 +00:00
buster%netscape.com
82750b9744 fixed a bug in fixed layout initial reflow with spanning cells
git-svn-id: svn://10.0.0.236/trunk@17077 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-03 19:20:13 +00:00
troy%netscape.com
c22f41cbf9 Changed width/height constraints in nsHTMLReflowState struct
git-svn-id: svn://10.0.0.236/trunk@16998 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 17:50:00 +00:00