bmlk%gmx.de
20c61ed232
fixed table layout add cellspacing only for columns where cells originate. bug 220653 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@148216 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 19:29:14 +00:00
dbaron%dbaron.org
69da9d4a19
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
bmlk%gmx.de
463e729d9d
build warning fix bug 198738 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@140748 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-05 15:36:31 +00:00
bmlk%gmx.de
c94f337ec7
fix build warnings from my previous checkin
...
git-svn-id: svn://10.0.0.236/trunk@140052 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 12:21:22 +00:00
bmlk%gmx.de
46c75680d5
change table cell width to content width, bug 119100 r=jkeiser sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@139957 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 19:35:36 +00:00
bryner%netscape.com
6278746fdf
Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@136056 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 06:49:07 +00:00
bzbarsky%mit.edu
7a8ba23608
Fix allocation of whitespace in table-layout:fixed to handle rounding
...
errors better. Bug 157890, r=karnaze, sr=dbaron, a=asa
git-svn-id: svn://10.0.0.236/trunk@126040 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 02:29:03 +00:00
jst%netscape.com
0e34136ef1
Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@122039 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 00:00:34 +00:00
cathleen%netscape.com
ec77313291
eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@113659 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 01:41:13 +00:00
karnaze%netscape.com
e3817c5a55
bug 110474 - fix pixel rounding errors. sr=attinasi, r=bernd
...
git-svn-id: svn://10.0.0.236/trunk@108478 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 15:51:28 +00:00
karnaze%netscape.com
6c1a4b003e
bug 60816 use correct cell when rowspan and colspan overlap. Fix pixel rounding errors. sr=attiansi, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@106308 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 02:30:38 +00:00
gerv%gerv.net
13afb6d0f9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
...
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
karnaze%netscape.com
c76866e3ea
table reflow coalescing, table reflow face lift. sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@89462 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 06:38:59 +00:00
karnaze%netscape.com
7ed07e7ca8
bug 34176 - correct fixed table layout over allocated cols. sr=waterson, r=karnaze.
...
git-svn-id: svn://10.0.0.236/trunk@85587 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 23:44:59 +00:00
karnaze%netscape.com
0a9d87c0a3
bug 9848 - check for out of memory when calling new. r=dcone.
...
git-svn-id: svn://10.0.0.236/trunk@83133 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 15:53:55 +00:00
karnaze%netscape.com
3a14935f89
bug 14929 - Reallocate colspan adjusted col widths when there is a percent col being spanned.
...
git-svn-id: svn://10.0.0.236/trunk@78566 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 01:46:44 +00:00
karnaze%netscape.com
ba59a76950
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.
...
git-svn-id: svn://10.0.0.236/trunk@77825 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:29:50 +00:00
karnaze%netscape.com
f1700ddd48
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.
git-svn-id: svn://10.0.0.236/trunk@68947 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 00:54:00 +00:00
jdunn%netscape.com
659b2712ed
Fix problem with NS_IF_ADDREF on member variables inside of const
...
member functions. This includes removing all references to
NS_DEF_PTR and the including of nsIPtr.h
r=troy@netscape.com ,dougt@netscape.com,scc@netscape.com
# 28114
a=chofmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@61237 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 23:19:18 +00:00
karnaze%netscape.com
19635b17c5
bug 10636, 15499(partial) - correctly get margin,border,padding from reflow info. calculate it for percentage padding when reflow state not available. r=troy
...
git-svn-id: svn://10.0.0.236/trunk@60564 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 01:55:40 +00:00
troy%netscape.com
60471abd92
b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
...
child list and changed ReparentFrameView() to check it.
git-svn-id: svn://10.0.0.236/trunk@58373 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 01:16:50 +00:00
karnaze%netscape.com
b431334299
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.
git-svn-id: svn://10.0.0.236/trunk@57952 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 20:10:00 +00:00
alecf%netscape.com
81585a34d8
fix unix bustage once and for all
...
git-svn-id: svn://10.0.0.236/trunk@55953 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 00:24:33 +00:00
karnaze%netscape.com
6ffe908f39
incremental cell map, columns. Bugs 12122, 21544. r=troy,hyatt a=hofmann
...
git-svn-id: svn://10.0.0.236/trunk@55939 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 22:56:31 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
hyatt%netscape.com
61f02a1d7b
Teaching the fixed layout strategy how to deal with relative/proportional specified
...
widths.
git-svn-id: svn://10.0.0.236/trunk@45035 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 06:00:32 +00:00
karnaze%netscape.com
ecc88ac54d
bug 11944 - row group is properly offset using table border. cleaned up new incremental reflow methods.
...
git-svn-id: svn://10.0.0.236/trunk@43899 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 23:27:54 +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
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
hyatt%netscape.com
52ebdc69b8
oops. crazy_width only defined for debug builds. Changing this.
...
git-svn-id: svn://10.0.0.236/trunk@40938 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 00:32:21 +00:00
hyatt%netscape.com
d5b584d48c
Getting rid of all the printfs and complaints that fire in mailnews by making
...
the fixed table layout algorithm smarter about unconstrained width reflow.
git-svn-id: svn://10.0.0.236/trunk@40934 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-23 23:41:05 +00:00
hyatt%netscape.com
888af6b43a
Fix for assertions being thrown when fixed layout tables are flowed at an
...
unconstrained width. Instead of asserting, intrinsic first row cell widths will be
used to determine the widths of columns with percentage-specified sizes.
git-svn-id: svn://10.0.0.236/trunk@40926 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-23 20:32:18 +00:00
sspitzer%netscape.com
c35619cc53
fix crash. when I launch apprunner -pref, I hit the assertion.
...
then I crash because I dereference null.
git-svn-id: svn://10.0.0.236/trunk@37668 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 07:28:47 +00:00
karnaze%netscape.com
f286a1e3c4
bug 7243. Rewrote FixedTableLayoutStrategy::AssignPreliminaryColumnWidths
...
git-svn-id: svn://10.0.0.236/trunk@33487 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 02:42:33 +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
warren%netscape.com
cb10d9f3a0
Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray.
...
git-svn-id: svn://10.0.0.236/trunk@21585 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 08:10:24 +00:00
alecf%netscape.com
5e3cc9c98d
fix casting problems for gcc 2.7.2.3
...
git-svn-id: svn://10.0.0.236/trunk@15003 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 09:29:58 +00:00
buster%netscape.com
1b5515eaa5
rows can now be incrementally inserted, appended, and deleted.
...
git-svn-id: svn://10.0.0.236/trunk@13141 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 23:43:06 +00:00
troy%netscape.com
e191c422d9
Eliminated nsIRunaround interface, and folded space manager parameter into
...
nsHTMLReflowState structure
git-svn-id: svn://10.0.0.236/trunk@11749 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 04:10:00 +00:00
troy%netscape.com
bbc0bf61a9
Added XXX warning about retuning an unitialized variable...
...
git-svn-id: svn://10.0.0.236/trunk@11601 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 21:41:35 +00:00
buster%netscape.com
4cca9446d0
all frame initialization and related logic has moved into the various table frames' Init() methods
...
from their respective InitalReflow() methods.
table-layout=fixed now completely skips pass1 reflow and doesn't require maxElementSize
information, saving a tremendous amount of time during initial reflow.
git-svn-id: svn://10.0.0.236/trunk@10841 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 21:48:26 +00:00
buster%netscape.com
bb5e1eca75
implementation of table-layout=fixed strategy
...
git-svn-id: svn://10.0.0.236/trunk@10754 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:32:15 +00:00