mats.palmgren%bredband.net
34a45a87f6
Make the CSS 'ch' length unit work in most cases. b=363573 r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@217089 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 14:06:42 +00:00
dbaron%dbaron.org
1d1477169f
Fix bad interaction of colspan handling with AddMinCoord's magic to deal with specified coord widths. Substantive changes by bzbarsky, comments by me. r+sr=dbaron/bzbarsky b=363150
...
git-svn-id: svn://10.0.0.236/trunk@216792 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 05:38:19 +00:00
dbaron%dbaron.org
1ca9f3f372
Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
...
git-svn-id: svn://10.0.0.236/trunk@216738 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 05:38:33 +00:00
bmlk%gmx.de
50b673d369
fix potential 0 deref bug 333351 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@194412 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-14 16:21:21 +00:00
dbaron%dbaron.org
9911a9b756
Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +00:00
darin%meer.net
70deb5f58d
fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@193272 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 18:40:56 +00:00
timeless%mozdev.org
faf573a28d
Bug 298277 remove useless references to nsVoidArray
...
r=dbaron sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@191016 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 10:30:59 +00:00
timeless%mozdev.org
a05383ef1b
Bug 106386 Correct misspellings in source code
...
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@185018 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 22:05:24 +00:00
bmlk%gmx.de
96883f3c47
look for originating table cells only at places where they are supposed to be bug 313295 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@183240 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-29 13:45:38 +00:00
bmlk%gmx.de
0cb4778ab7
build warnings (shadow + unused variables) bug 287097 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@171163 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-24 19:02:59 +00:00
roc+%cs.cmu.edu
ab88d1e1ac
Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
...
git-svn-id: svn://10.0.0.236/trunk@162269 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 02:28:03 +00:00
bryner%brianryner.com
865734bf2f
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
...
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
bryner%brianryner.com
b17b3249f7
Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@160067 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 19:41:39 +00:00
jim_nance%yahoo.com
36c92b47d6
Fix bug 241599 - Speed up table layotu code by reducing GetCellInfoAt() calls. r=bernd sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@159313 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 01:49:18 +00:00
gerv%gerv.net
2ac510b678
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
jim_nance%yahoo.com
d0e0a7f7dd
Fix Bug 236703 - Make the table layout code faster and smaller.
...
r=bernd sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@154731 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 23:51:33 +00:00
bmlk%gmx.de
7eb545bb4e
reduce prescontext usage in basic layout strategy bug 229457 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@150759 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-28 17:02:40 +00:00
bmlk%gmx.de
557ab433ca
OS/2 crash prevention, make sure that a division by zero can not occure, bug 221975, r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@149254 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-13 17:34:46 +00:00
bmlk%gmx.de
52c5a559e1
include previously removed borderpadding and cellspacing, bug 215629, r=jkeiser sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@147248 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 16:04:54 +00:00
bmlk%gmx.de
deb5f49052
overflow area implementation for table frames, bug 173277 r=jkeiser sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@146838 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 16:26:30 +00:00
bmlk%gmx.de
05fac045c1
avoid marking columns that only have a desired width empty, what would exclude them from space redistribution, bug 194024, r=jkeiser sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@143140 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-31 14:15:56 +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
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
karnaze%netscape.com
50553919ea
bug 160014 - recalc cellspacing total when balancing. sr=kin, r=kmcclusk
...
git-svn-id: svn://10.0.0.236/trunk@129631 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-15 01:59:21 +00:00
bernd.mielke%snafu.de
38f87f8a57
bug 131687 Take into acount MIN_adj width as it has been included in totals before r=karnaze sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@124473 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 04:39:16 +00:00
karnaze%netscape.com
6b5f0435d2
bug 127544 - fixed asserts when there are no cells in a row group and there is a column. sr=kin, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@123625 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 22:35:59 +00:00
bernd.mielke%snafu.de
886ec4bd2d
removal of debug cruft bug 146474 r=karnaze sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@122269 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-29 18:55:34 +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
karnaze%netscape.com
0536167ed4
bug 128876 - expanded border collapse damage area to include spanners. sr=roc, r=bernd, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@116060 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 15:33:49 +00:00
karnaze%netscape.com
430941b018
bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@114937 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 15:48:28 +00:00
bernd.mielke%snafu.de
26bd706ce7
wider use of GetEffectiveColCount bug 100034 r=karnaze sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@114671 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 06:03:36 +00:00
karnaze%netscape.com
f9dc3f03b9
bug 51023 - reduce the size of table related frame classes. sr=kin.
...
git-svn-id: svn://10.0.0.236/trunk@109358 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 15:05:51 +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
84205c2f3e
Fix bug "IFrames repositioned by whitespace in HTML" (no number yet) - give cols with no content 0 width unless they have style width, sr=kin, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@103837 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 13:49:26 +00:00
karnaze%netscape.com
4072b4f8d3
bug 48827 - round column width to even pixel when calculating percent column. sr=attinasi,r=bernd
...
git-svn-id: svn://10.0.0.236/trunk@101622 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-22 04:24:10 +00:00
bernd.mielke%snafu.de
4dc7faa6dd
Lookup column specified fixed width before computing the colspans,
...
this is necessary for a reasonable min width distribution. bug 32841 r=karnaze
sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@101090 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-15 07:20:18 +00:00
karnaze%netscape.com
1fa8130ddb
bug 80762 - improved calc of basis for auto table when there are pct cells/cols. Skipped calc for fixed width table. sr=attinasi, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@100529 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 21:26:02 +00:00
karnaze%netscape.com
d73eed89ce
bug 91934 - Added static UpdateCol and call it when a cell changes width even though a rebalance is not needed. Stopped storing fix width in col as max of min and fix.
...
bug 92647 incorrectly had this description (it should have said - correct calculate preferred table widths and cache the value). sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@100395 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-06 14:18:50 +00:00
karnaze%netscape.com
dc533afd4b
bug 92647 - Added static UpdateCol and call it when a cell changes width even though a rebalance is not needed. Stopped storing fix width in col as max of min and fix. sr=attinasi, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@100393 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-06 13:58:46 +00:00
bernd.mielke%snafu.de
2ca7d9b2aa
bug 45486 fixing percent colspans iterate over from the inner to the outer colspan
...
cleanup in header files, some documentation, removing cruft
bug 55694 use reflowstate.availwidth if is usefull
r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@99323 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 19:15:01 +00:00
bernd.mielke%snafu.de
bd49af42b2
encapsulate printf's in BasicTableLayoutStrategy.cpp
...
bug 78770 r= karnaze sr = atttinasi
git-svn-id: svn://10.0.0.236/trunk@95138 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 14:56:09 +00:00
bernd.mielke%snafu.de
dcb3684974
overwrite spurious percent colspan widths - bug 46944 r=karnaze sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@93233 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 04:03:48 +00:00
bernd.mielke%snafu.de
16c67e7c6b
checkin of the remaining lines from my previous patch for bug 47432.
...
thanks to dbaron r=karnaze sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@92746 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-19 19:11:17 +00:00
bernd.mielke%snafu.de
431aac1d4d
fix my bustage
...
git-svn-id: svn://10.0.0.236/trunk@92523 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 05:34:10 +00:00
bernd.mielke%snafu.de
f053ce605d
look first for the inner colspans if more than one colspan start in a column
...
bug 47432 r=karnazesr =attinasi
git-svn-id: svn://10.0.0.236/trunk@92514 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 04:32:32 +00:00
karnaze%netscape.com
371c47e0e3
bug 60807 - revised patch to handle 2 regression test cases.
...
git-svn-id: svn://10.0.0.236/trunk@92358 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-15 20:49:09 +00:00
karnaze%netscape.com
2aba039789
bug 60807 - reduce avail width by fixed widths when calculating colspan widths. sr=attinasi, r=bernd.mielke@snafu.de
...
git-svn-id: svn://10.0.0.236/trunk@92356 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-15 17:08:04 +00:00
karnaze%netscape.com
222cdae092
bug 72396 - fix CalcBorderBoxWidth to not use unconstrained width. Fix column balancing to be skipped when there is an unconstrained width. sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@90348 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 23:15:49 +00:00