Commit Graph

207 Commits

Author SHA1 Message Date
timeless
21cb9c6c41 Bug 334571 strip trailing whitespace. r=zwol 2010-04-27 18:15:01 +02:00
Ehren Metcalfe
97778d4898 Bug 556446: Remove dead code in layout. r=roc,bz 2010-04-03 07:36:19 -04:00
Bernd
841557ec99 bug 378935 the border collapse code relies on having mutliple dead cell data entries in a row r=bzbarsky 2010-03-06 10:53:04 +01:00
Bernd
46b0f8928b bug 28800 remove support for scrollable rowgroups moa=roc r=bzbarsky 2010-01-16 17:05:46 +01:00
Reed Loden
296c75e101 Bug 506267 - [r=bzbarsky sr=dbaron] 2009-10-02 21:09:57 -05:00
Mats Palmgren
f82eedba5a Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc 2009-09-16 17:01:36 +02:00
Alexander Surkov
d1b9b23f4b Bug 437980 - 9 tests fail in table_indexes.html chrome test file, r=marcoz, davidb, bernd 2009-06-29 18:54:26 +08:00
Boris Zbarsky
4c855fa80a Bug 487899. Start column indices incorrect in nsCellMap::ExpandWithCells if an array with more than one cell is passed in. r=bernd, sr=roc 2009-04-13 11:31:39 -04:00
Arpad Borsos
1f292f1511 Bug 481932 - use do_QueryFrame instead of IS_TABLE_CELL + cast; r+sr=roc 2009-03-24 23:10:06 +01:00
Arpad Borsos
67a98b077f Bug 481881 - use better template arguments for nsTArray<T> after bug 474369, layout part; r+sr=roc 2009-03-12 08:26:29 +01:00
Karl Tomlinson
3509c4e0ce backout dac7c3176b33 from bug 481881 2009-03-11 17:09:22 +13:00
Arpad Borsos
3ef565c040 Bug 481881 - use better template arguments for nsTArray<T> after bug 474369, layout part r+sr=roc 2009-03-11 15:26:36 +13:00
Arpad Borsos
c3e840ee00 Bug 474369 - get rid of nsVoidArray, layout/tables part. r+sr=roc 2009-02-05 10:09:50 +01:00
Mats Palmgren
74c6889bb4 Subtract the row index from the row count, not the col count. b=284852 r=bernd sr=bzbarsky 2008-10-19 10:25:14 +02:00
7f6cfd6a81 use the firstinflow when looking up rowgroups bug 424291 r/sr=bzbarsky a=mtschrep 2008-03-21 13:37:31 -07:00
502da8d999 Bug 416742 - Regression: multiple rowgroups interfere with getColumnAtIndex(), r=bernd, sr=roc, a=beltzner 2008-03-07 02:14:35 -08:00
c03646cff9 expand the cellmap to cover empty content rows when rebuilding the cellmap bug 351326 r/sr=bzbarsky a=mtschrep 2008-02-20 21:11:36 -08:00
1ebea935bd Bug 410052 - Fix our nsHTMLAccessibleTable class so GetIndexAt and GetRowAtIndex and GetColumnAtIndex behave consistently, patch=me, marcoz, r=marcoz, me, bernd, sr=roc, blocking1.9+=dsicore 2008-02-06 23:03:26 -08:00
1d9eeea97b nsTableCellMap::InsertRows shouldn't make damage area smaller, b=244135 p=malcolm.parsons r+sr=bz a=roc 2007-10-19 07:41:29 -07:00
f56037bf52 fantasai is clearly having process troubles 2007-10-15 20:08:48 -07:00
d61a75cf8c nsTableCellMap::InsertRows shouldn't make damage area smaller, b=244135 p=malcolm.parsons r+sr=bz a=roc 2007-10-15 20:06:36 -07:00
98de634631 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
1a1ab905a5 Make OrderRowGroups type-safe. Bug 367706, r=bernd, sr=roc 2007-06-05 11:55:26 -07:00
e0f90db412 Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc. 2007-03-30 14:11:41 -07:00
bmlk@gmx.de
2362dc83b3 mark cellmap if 0 colspans are present for 0 colspan expansion when cells are deleted bug 373390 r/sr=bzbarsky 2007-03-17 05:58:15 +00:00
bmlk@gmx.de
a9d63f0e97 mark zerocolspans to be expanded if they are inserted rather than appended. bug 372776 r/sr=bzbarsky 2007-03-07 05:06:38 +00:00
bzbarsky@mit.edu
30dab44e5d When inserting a cell, make sure to properly maintain the mNumCellsSpan of the
columns involved.  In particular, do NOT decrement it when dead CellData are
removed from the column.  Bug 371290, r=bernd, sr=roc
2007-02-23 17:41:15 +00:00
bmlk@gmx.de
74fe6f686b collapse zero colspans when new cells are inserted bug 370842 r/sr=bzbarsky 2007-02-21 19:31:52 +00:00
bmlk@gmx.de
fd23c52b45 fix oversight with zero rowspan handling bug 370808 r/sr=bzbarsky 2007-02-18 18:50:39 +00:00
bzbarsky@mit.edu
286dd5093c Don't use a static nsTArray. Bug 369099, r=bernd, sr=roc 2007-02-13 16:23:19 +00:00
bmlk@gmx.de
4735a0506a take into account overlap situations between row- and colspans, bug 369975 r/sr=bzbarsky 2007-02-13 05:32:18 +00:00
bmlk@gmx.de
551f66b581 look out for zero rowspans when expanding the cellmap bug, 368651 r/sr=bzbarsky 2007-02-10 06:56:57 +00:00
cvshook@sicking.cc
e80f1dba4e Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 2007-01-30 00:06:41 +00:00
bzbarsky@mit.edu
4df1297e7d Fix crash bug 368166. r=bernd, sr=roc 2007-01-28 16:49:26 +00:00
bzbarsky@mit.edu
a612c79c0b Address review comment I missed. Bug 367749. 2007-01-24 20:23:08 +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
951b382b59 Make it possible for callers who want to iterate all the row groups and
GetMapFor() for all of them do so in about O(N) time instead of O(N^2) (in
number of row groups).  Bug 366892, r=bernd, sr=roc
2007-01-22 04:35:25 +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
bmlk@gmx.de
c3e28991b1 Zerorowspans are expanded during cellmap entry creation. There is no need to adapt the rowspan value later, bug 364318 r/sr=bzbarsky 2007-01-01 18:18:53 +00:00
bmlk@gmx.de
ddba30ec4f initialize variables before use bug 365075 r/sr=bzbarsky 2006-12-27 08:46:30 +00:00
bmlk@gmx.de
49fb9c1ea8 be carefull with row indices when deleting cells bug=364318, patch by bz, r=me sr=roc 2006-12-26 14:24:15 +00:00
bmlk@gmx.de
6e88563bc7 rename variable rename mRowCount to mContentRowCount so that it becomes obvious what it contains. Adjust the cellmap grow mechanism to the new nsTArray world bug=363370 r/sr=bzbarsky 2006-12-26 14:04:20 +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
bzbarsky@mit.edu
9d8442a510 Fix build orange. Bug 356335, reviews hopefully coming up. 2006-12-07 03:43:52 +00:00
bzbarsky@mit.edu
a29cfaf5ae Fix build bustage. See bug 356335 comment 18 for what I forgot to do in the
initial checkin for that bug...  I need a longer-term memory, clearly.  :(
2006-12-07 02:53:35 +00:00
bzbarsky@mit.edu
24574586c9 Allocate the celldata structs from the presshell arena instead of allocating
them from the malloc heap with new.  Use nsTArray to store them and an nsTArray
to store those arrays instead of using nsVoidArray.  Bug 356335, r=bernd,
sr=sicking
2006-12-07 02:32:57 +00:00
bmlk@gmx.de
619a5b3728 mark only cells where the colspan/rowspan offset is != 0 as zero colspans/rowspans if those properties apply bug 358871 r/sr=bzbarsky 2006-11-01 18:45:41 +00:00
bmlk@gmx.de
e112f104f5 call the correct GetCellFrame function bug 358679 r/sr=bzbarsky 2006-10-30 19:21:05 +00:00
bmlk@gmx.de
84a1515a2a make zero rowspans dependent on the content row count and not how many rows are currently in the cellmap, this cause otherwise problems during rebuild of the cellmap bug 339129 r/sr=bzbarsky 2006-10-28 10:14:43 +00:00
bmlk@gmx.de
0ad3950017 Revert a old design decision how to expand zero colspans in the cellmap. Once a cellmap hole was hit via the GetDataAt function the old code tried to repair this cellmap position by walking up and left till a possible origin of a zero span was hit. The new code uses a mark and sweep approach, which should remove the burden that ordinary tables without zero spans but large cellmap holes have to pay. bug 351942 r/sr=bzbarsky 2006-10-20 07:37:24 +00:00