Commit Graph

249 Commits

Author SHA1 Message Date
dbaron@dbaron.org
e3be85f90e Subtract allocated parts before repeating division used for allocation to avoid rounding error of total. b=366865 r=bernd sr=roc 2007-02-18 19:49:50 +00:00
dbaron@dbaron.org
000d28f607 Stop rounding widths to pixel boundaries to fix reftest failures on Mac, which does subpixel positioning and sizing of text. b=369318 r=bernd sr=roc 2007-02-08 19:21:58 +00:00
dbaron@dbaron.org
25642beee2 Stop rounding final column widths (up) to pixel boundaries. b=349297 r=bernd sr=roc 2007-02-08 19:20:51 +00:00
sharparrow1@yahoo.com
2da748b9c2 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
bzbarsky@mit.edu
b09985c9eb Make mComputedWidth private, with a getter/setter, and make the setter update
the resize flags.  Bug 367442, r+sr=dbaron
2007-01-26 00:05:12 +00:00
bzbarsky@mit.edu
40955e1aec Fix various bugs in the column iterator's keeping track of the current row.
Bug 367749, r=bernd, sr=roc
2007-01-24 20:18:04 +00:00
bzbarsky@mit.edu
09d7e354a6 Have a faster way of iterating down the columns of a table. Bug 352461,
r=bernd, sr=roc
2007-01-22 04:32:33 +00:00
dbaron@dbaron.org
e55c85ca3c When possible, distribute min width of colspanning cells so it fits within the pref width of the spanned columns. b=363144 r=bernd sr=bzbarsky 2007-01-17 19:19:50 +00:00
dbaron@dbaron.org
01d0284e3d Fix incorrectly placed PR_MAX(), since the span* values are additions to the base values. b=365173 r=bernd sr=bzbarsky 2007-01-13 01:08:18 +00:00
dbaron@dbaron.org
269bfdc57a Accumulate column-spanning cells into column intrinsic widths separately for each number of columns spanned, in increasing order. b=363329 r=bernd sr=bzbarsky 2007-01-13 01:04:56 +00:00
timeless@mozdev.org
f4ef17d178 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
dbaron@dbaron.org
49b1914f6f Fix shadowing variable name. No bug. 2006-12-18 22:35:01 +00:00
dbaron@dbaron.org
235ed5b61b Fix handling of columns in which no cell originates (i.e., unneeded extra colspan). b=363329 Patch from Bernd Mielke, bmlk%gmx.de, with review comments addressed by me. r+sr=dbaron 2006-12-18 22:34:30 +00:00
mats.palmgren@bredband.net
8a34355d8d Make the CSS 'ch' length unit work in most cases. b=363573 r+sr=dbaron 2006-12-17 14:06:42 +00:00
dbaron@dbaron.org
fd302e6ca1 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 2006-12-09 05:38:19 +00:00
dbaron@dbaron.org
d21cb374bd 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. 2006-12-08 05:38:33 +00:00
bmlk@gmx.de
6ee0aa31aa fix potential 0 deref bug 333351 r/sr=roc 2006-04-14 16:21:21 +00:00
dbaron@dbaron.org
96634178f2 Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-04-05 00:00:44 +00:00
darin@meer.net
862ba45cb9 fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron 2006-03-30 18:40:56 +00:00
timeless@mozdev.org
c95a9608ea Bug 298277 remove useless references to nsVoidArray
r=dbaron sr=dbaron
2006-02-23 10:30:59 +00:00
timeless@mozdev.org
71ed8bc863 Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
bmlk@gmx.de
646e09c360 look for originating table cells only at places where they are supposed to be bug 313295 r/sr=bzbarsky 2005-10-29 13:45:38 +00:00
bmlk@gmx.de
456508ec6a build warnings (shadow + unused variables) bug 287097 r/sr=bzbarsky 2005-03-24 19:02:59 +00:00
roc+@cs.cmu.edu
f6d4272f10 Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine 2004-09-14 02:28:03 +00:00
bryner@brianryner.com
6cde4639f0 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
bryner@brianryner.com
15745b0b06 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
jim_nance@yahoo.com
5244c11262 Fix bug 241599 - Speed up table layotu code by reducing GetCellInfoAt() calls. r=bernd sr=dbaron 2004-07-16 01:49:18 +00:00
gerv@gerv.net
a1ec040a65 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
jim_nance@yahoo.com
6dd21c7b66 Fix Bug 236703 - Make the table layout code faster and smaller.
r=bernd sr=bzbarsky
2004-04-12 23:51:33 +00:00
bmlk@gmx.de
af8832a6e5 reduce prescontext usage in basic layout strategy bug 229457 r/sr=roc 2003-12-28 17:02:40 +00:00
bmlk@gmx.de
033702bc7f OS/2 crash prevention, make sure that a division by zero can not occure, bug 221975, r/sr=bzbarsky 2003-11-13 17:34:46 +00:00
bmlk@gmx.de
cf4bd34615 include previously removed borderpadding and cellspacing, bug 215629, r=jkeiser sr=dbaron 2003-09-24 16:04:54 +00:00
bmlk@gmx.de
474757012f overflow area implementation for table frames, bug 173277 r=jkeiser sr=dbaron 2003-09-13 16:26:30 +00:00
bmlk@gmx.de
560cdbe972 avoid marking columns that only have a desired width empty, what would exclude them from space redistribution, bug 194024, r=jkeiser sr=bzbarsky 2003-05-31 14:15:56 +00:00
dbaron@dbaron.org
f98e358469 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 2003-05-15 03:42:21 +00:00
bmlk@gmx.de
27bbab1bb0 change table cell width to content width, bug 119100 r=jkeiser sr=bzbarsky 2003-03-21 19:35:36 +00:00
bryner@netscape.com
c98c382545 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. 2003-01-09 06:49:07 +00:00
karnaze@netscape.com
3687f6875d bug 160014 - recalc cellspacing total when balancing. sr=kin, r=kmcclusk 2002-09-15 01:59:21 +00:00
bernd.mielke@snafu.de
eb62e0b0d3 bug 131687 Take into acount MIN_adj width as it has been included in totals before r=karnaze sr=waterson 2002-07-02 04:39:16 +00:00
karnaze@netscape.com
3ad7ba6f6c bug 127544 - fixed asserts when there are no cells in a row group and there is a column. sr=kin, r=alexsavulov. 2002-06-19 22:35:59 +00:00
bernd.mielke@snafu.de
8b30225270 removal of debug cruft bug 146474 r=karnaze sr=attinasi 2002-05-29 18:55:34 +00:00
jst@netscape.com
78ccba6821 Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com 2002-05-23 00:00:34 +00:00
karnaze@netscape.com
2d6ca07d1d bug 128876 - expanded border collapse damage area to include spanners. sr=roc, r=bernd, a=asa 2002-03-07 15:33:49 +00:00
karnaze@netscape.com
9a13af360b bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov. 2002-02-19 15:48:28 +00:00
bernd.mielke@snafu.de
f00f9dcb27 wider use of GetEffectiveColCount bug 100034 r=karnaze sr=attinasi 2002-02-16 06:03:36 +00:00
karnaze@netscape.com
4867cbd756 bug 51023 - reduce the size of table related frame classes. sr=kin. 2001-11-30 15:05:51 +00:00
karnaze@netscape.com
f23661affc bug 60816 use correct cell when rowspan and colspan overlap. Fix pixel rounding errors. sr=attiansi, r=alexsavulov 2001-10-26 02:30:38 +00:00
gerv@gerv.net
58d409fba9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
karnaze@netscape.com
96c0c5115e 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 2001-09-26 13:49:26 +00:00
karnaze@netscape.com
da64dd5e6d bug 48827 - round column width to even pixel when calculating percent column. sr=attinasi,r=bernd 2001-08-22 04:24:10 +00:00