Commit Graph

671 Commits

Author SHA1 Message Date
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
timeless@mozdev.org
f4ef17d178 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
bmlk@gmx.de
06238216a3 add again bound checks that the BC code relies on. bug 364150 r/sr=bzbarsky 2006-12-26 13:55:32 +00:00
bzbarsky@mit.edu
c858d49b46 Remove some unused table code. Bug 359139, r=bernd, sr=roc 2006-12-18 03:04:25 +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
13db671d0b Better API for used padding/border/margin: remove deprecated Calc*For on nsStyleStructs and add GetUsed* to nsIFrame. b=332922 r+sr=roc 2006-12-13 23:04:57 +00:00
dbaron@dbaron.org
33f00dfb32 Reflow all of the table structure (although not its descendants) when frame structure within the table is changed. b=363524 r=bernd sr=bzbarsky 2006-12-13 03:45:28 +00:00
bmlk@gmx.de
71164b1521 report frames currently on the overflow list as frames on a additional childlist to get their views reparented if a frame higher in the tree needs to reparent the views bug 362724 r/sr=roc 2006-12-10 06:46:17 +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
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
80adf5ad88 don't rely on framconstructor to deliver a valid sibling for insert of colgroups and rowgroups as they are siblings contentwise but live on different childlists, bug 337124 r/sr=roc 2006-11-11 13:38:09 +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
roc+@cs.cmu.edu
2c52178879 Bug 241796. Use a row cursor to speed up painting and event handling in large tables, similar to what we do for large blocks already. r+sr=bzbarsky 2006-09-19 21:39:33 +00:00
bzbarsky@mit.edu
8ec0a3ab15 Reinstate reflow count painting when it's needed. Bug 352851, r+sr=roc 2006-09-19 04:26:20 +00:00
bmlk@gmx.de
3138718ab1 enable old assert (from 2001) to catch cellmap errors, fix one erroneus caller bug 351691 r/sr=bzbarsky 2006-09-11 18:27:35 +00:00
bmlk@gmx.de
6070cd4b88 make sure the nextinflow will be pushed bug 347367 r/sr=roc 2006-09-02 09:14:02 +00:00
bmlk@gmx.de
28dfc9be64 compute the BC information only if there are cells bug 350906 r/sr=bzbarsky 2006-09-02 08:48:39 +00:00
bmlk@gmx.de
d23e15748c expand zerospans before one tries to mark them as dead cells bug 350524 r/sr=bzbarsky 2006-09-02 08:33:52 +00:00
bmlk@gmx.de
bdf55b9f18 mark the whole table ofr bc recomputation if the rowgroups change bug 347796 r/sr=bzbarsky 2006-08-28 17:41:46 +00:00
bmlk@gmx.de
2a8349412f match the numer of columnss in the cellmap and the col cache bug 350081 r/sr=bzbarsky 2006-08-28 17:39:36 +00:00
bmlk@gmx.de
8994b2726a adjust col frames instead of asserting that the number of cols is wrong bug 347725 r/sr=bzbarsky 2006-08-22 06:08:15 +00:00
mats.palmgren@bredband.net
ff3c00c34f Improve error handling in nsCSSFrameConstructor::CreateContinuingFrame() and its callers. b=337419 r+sr=roc 2006-08-22 01:33:46 +00:00
leon.sha@sun.com
55a297cb17 Bugzilla Bug 344883
print previewing url freezes bon echo (and minefield if you zoom too)
Patch by leon.sha@sun.com
bernd_mozilla: review+
roc: superreview+
2006-08-07 11:03:43 +00:00
bmlk@gmx.de
8ca4fbcc0f fix VC6 build bustage 2006-08-04 20:32:46 +00:00
bmlk@gmx.de
cb671c1899 take special care when tfoot are manipulated and the cellmap changes rather drastical bug 343087 r/sr=bzbarsky 2006-08-04 19:15:50 +00:00
bmlk@gmx.de
32de9e184b when we remove cells the number of columns in the cellmap may rise if rowspans are involved bug 343778 r/sr=bzbarsky 2006-07-19 19:21:50 +00:00
mats.palmgren@bredband.net
c543d48c5c Fix crash when recreating <caption> frames. Add ASSERTIONs to detect similar frame construction errors in the future. b=341382 r+sr=bzbarsky 2006-06-29 02:32:36 +00:00
bmlk@gmx.de
dd0ad9172e reset row indices if rowgroups may have moved bug 342559 r/sr=bzbarsky 2006-06-28 19:00:01 +00:00
bmlk@gmx.de
4cc86c5aa6 reorder cellmaps if the rowgroup order might have changed bug 339130 r7sr=bzbarsky 2006-06-22 04:19:36 +00:00
roc+@cs.cmu.edu
4ba892e019 Fixing bustage 2006-05-01 01:41:41 +00:00
roc+@cs.cmu.edu
db011e23e8 Bug 334690. Fix regression in z-ordering of table cell content for event handling. r=bernd 2006-05-01 01:18:32 +00:00
roc+@cs.cmu.edu
110985f6e2 Bug 334942. ExplodeAnonymousChildLists before sorting table parts. r=bernd 2006-04-27 02:25:23 +00:00
roc+@cs.cmu.edu
8303f09eae Bug 333481. Sort table-part event-handling display items to ensure that the table comes before all row-groups, which come before all rows, which come before all cells. r=bernd 2006-04-17 22:16:24 +00:00
roc+@cs.cmu.edu
24f6f0ed12 Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc 2006-04-10 00:16:29 +00:00
bmlk@gmx.de
e7c0b4f2f4 prevent a second call to SetInitialChildList bug=333288 r/sr=bzbarsky 2006-04-09 18:43:46 +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
sharparrow1@yahoo.com
9df767b1c4 Bug 331415: some printing code cleanup. r+sr=roc. 2006-03-30 00:27:42 +00:00
roc+@cs.cmu.edu
54d3415318 Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc 2006-03-26 21:30:36 +00:00
pavlov@pavlov.net
93222d8d4f backing out roc's patch for bug 328926 due to crash running tests on vc8 machines. 2006-03-15 06:43:36 +00:00
roc+@cs.cmu.edu
c92e50faf4 Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc 2006-03-15 03:14:02 +00:00
roc+@cs.cmu.edu
1967e0fe6e Bug 330300. Move mFrame from nsDisplayItem subclasses up to nsDisplayItem itself, and make GetUnderlyingFrame an inline non-virtual function. Patch by Alfred Peng, r+sr=roc 2006-03-14 20:43:18 +00:00
roc+@cs.cmu.edu
79c7894a78 Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell 2006-03-09 18:55:21 +00:00
bmlk@gmx.de
c7b4ceaaab Make visibility:collapse work again after the display list change. Implement overflow handling and view synchronization for collapsed frames. bug 326551 r/sr=roc 2006-03-04 05:26:57 +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
uriber@gmail.com
a77901b79e Bug 299065: Bidi resolution needs to split inlines in addition to text frames. r+sr=dbaron 2006-02-21 21:33:47 +00:00
bzbarsky@mit.edu
af01a391cf Fix leak bug 324969 -- make sure to call virtual destructors. 2006-01-29 18:48:58 +00:00
bmlk@gmx.de
cf8ce0d293 reorder row groups to keep them in sync when the nextinflow changes underneath bug 302911 r/sr=roc 2006-01-28 06:14:11 +00:00
roc+@cs.cmu.edu
a1b6a30f14 Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others 2006-01-26 02:29:17 +00:00
bmlk@gmx.de
3f3760cf08 use scaledpixels to convert from CSS pixels to realword pixels bug=307367 r/sr=roc 2006-01-21 09:54:07 +00:00
bmlk@gmx.de
c05f5f3185 insert new rowgroup cellmaps in the order predicted by OrderRowGroups, bug=317554 r/sr=roc 2005-12-16 19:10:56 +00:00