03558b7836
Fix regression in sizing of tables with scrollable rowgroups. Bug 387344,
...
r=bernd, sr=roc
2007-07-12 13:54:18 -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
79eeaa32d0
Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst
2007-07-03 19:15:31 -07:00
2c797744ca
Only do special height reflows for percentage-height children of table cells when there is a specified height on the table, row group, row, or cell in the row. b=370525 Patch by Daniel Holbert <dholbert@mozilla.com>. r+sr=dbaron
2007-06-25 13:34:35 -07:00
fdc8696cf4
Handle the vertical resizing in the first pass reflow correctly when we've previously done a special height reflow. b=381507 r=dholbert sr=roc
2007-06-18 16:19:39 -07:00
1a1ab905a5
Make OrderRowGroups type-safe. Bug 367706, r=bernd, sr=roc
2007-06-05 11:55:26 -07:00
3d2a3a38f2
Call SetGeometryDirty if we need to call DistributeHeightToRows, since DistributeHeightToRows can't deal with rows that have already had height distributed to them. Patch by Daniel Holbert <dholbert@mozilla.com>. b=380227 r+sr=dbaron
2007-05-17 23:04:43 -07:00
5504cdff5e
Remove eCSSUnit_Proportional and eStyleUnit_Proportional, which were used only for a removed feature. b=333352 r+sr=bzbarsky
2007-05-10 23:00:26 -07:00
320ae10274
Fix determination of the style context parent for the inner table frame of aroot table. Bug 379386, r+sr=roc
2007-05-07 20:59:12 -07:00
cdb5b22b87
Change the FrameNeedsReflow API to pass the dirty flags to be added directly tothe method, instead of setting them before calling the method. That way we canavoid reflowing the ancestor of a reflow root which is not itself dirty but hasdirty children. This also makes it harder to set dirty bits inconsistentlywith the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' reviewon the mathml parts.
2007-05-06 12:16:51 -07:00
263d44e417
Add support for -moz-intrinsic, -moz-min-intrinsic, -moz-shrink-wrap, and -moz-fill for width, min-width, and max-width. b=311415 r+sr=bzbarsky
2007-05-03 16:11:00 -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
bzbarsky@mit.edu
577c262b5e
Get the correct next-in-flow. Bug 373611, r+sr=dbaron
2007-03-13 21:23:17 +00:00
bzbarsky@mit.edu
d1cc7bc20f
Fix bug 371925 -- we need to allow for the case when the prev sibling is at
...
index 0. r=bernd, sr=roc
2007-02-28 22:42:20 +00:00
dbaron@dbaron.org
11f081d8dc
Remove the remainder of the pixel rounding in the table code. b=371187 r=bernd sr=roc
2007-02-22 20:22:12 +00:00
sharparrow1@yahoo.com
376b32f2e8
Bug 370185: clean up view header includes (trivial). rs=bzbarsky.
2007-02-12 19:17:33 +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
dbaron@dbaron.org
4da4babd0e
Make default table and hr border colors be gray rather than special values that depend on the background color, and remove the special values that depend on the background. b=84307 Patch by fantasai <fantasai.bugs@inkedblade.net>. r=bzbarsky sr=dbaron
2007-02-01 02:45:55 +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
dbaron@dbaron.org
5e1785510c
Remove nsTableFrame::GetBorderPadding and related code. b=367458 r=bernd sr=roc
2007-01-27 22:22:24 +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
dbaron@dbaron.org
8648581bf7
Change the bulk of ascent (baseline) computation to happen on a virtual method on nsIFrame, and remove the redundant descent member from nsHTMLReflowMetrics, primarily to support having both first-line and last-line baselines. b=367332 r+sr=roc
2007-01-23 04:06:56 +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
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