dbaron%dbaron.org
04bb428ada
Remove nsTableFrame::GetBorderPadding and related code. b=367458 r=bernd sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@219055 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 22:22:24 +00:00
bzbarsky%mit.edu
343ced44ba
Make mComputedWidth private, with a getter/setter, and make the setter update
...
the resize flags. Bug 367442, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218933 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 00:05:12 +00:00
dbaron%dbaron.org
103e95ab15
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
...
git-svn-id: svn://10.0.0.236/trunk@218785 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 04:06:56 +00:00
bzbarsky%mit.edu
3de9b82869
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
git-svn-id: svn://10.0.0.236/trunk@218741 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 04:35:25 +00:00
bmlk%gmx.de
9ddb3480ae
Zerorowspans are expanded during cellmap entry creation. There is no need to adapt the rowspan value later, bug 364318 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@217587 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-01 18:18:53 +00:00
timeless%mozdev.org
c778d21502
Bug 355300 There should be only one nsGkAtoms creature
...
r=dbaron
git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
bmlk%gmx.de
1ac0afc850
add again bound checks that the BC code relies on. bug 364150 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@217416 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 13:55:32 +00:00
bzbarsky%mit.edu
6cab0c0057
Remove some unused table code. Bug 359139, r=bernd, sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@217109 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 03:04:25 +00:00
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
866a194991
Better API for used padding/border/margin: remove deprecated Calc*For on nsStyleStructs and add GetUsed* to nsIFrame. b=332922 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@216965 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 23:04:57 +00:00
dbaron%dbaron.org
08d8ed684c
Reflow all of the table structure (although not its descendants) when frame structure within the table is changed. b=363524 r=bernd sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@216926 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 03:45:28 +00:00
bmlk%gmx.de
46398b3fb9
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
...
git-svn-id: svn://10.0.0.236/trunk@216815 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 06:46:17 +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
bzbarsky%mit.edu
dfc962fee2
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
git-svn-id: svn://10.0.0.236/trunk@216628 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 02:32:57 +00:00
bmlk%gmx.de
f507fa8183
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
...
git-svn-id: svn://10.0.0.236/trunk@215158 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 13:38:09 +00:00
bmlk%gmx.de
f21795364a
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
...
git-svn-id: svn://10.0.0.236/trunk@213902 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-20 07:37:24 +00:00
roc+%cs.cmu.edu
6b60d7bd32
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
...
git-svn-id: svn://10.0.0.236/trunk@212022 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 21:39:33 +00:00
bzbarsky%mit.edu
b869f56794
Reinstate reflow count painting when it's needed. Bug 352851, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@211969 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 04:26:20 +00:00
bmlk%gmx.de
b0654bda46
enable old assert (from 2001) to catch cellmap errors, fix one erroneus caller bug 351691 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@209742 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-11 18:27:35 +00:00
bmlk%gmx.de
468e5d8228
make sure the nextinflow will be pushed bug 347367 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@209058 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-02 09:14:02 +00:00
bmlk%gmx.de
295e8c9f7b
compute the BC information only if there are cells bug 350906 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@209057 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-02 08:48:39 +00:00
bmlk%gmx.de
68060df15d
expand zerospans before one tries to mark them as dead cells bug 350524 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@209056 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-02 08:33:52 +00:00
bmlk%gmx.de
c7b86d15f5
mark the whole table ofr bc recomputation if the rowgroups change bug 347796 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@208643 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-28 17:41:46 +00:00
bmlk%gmx.de
d128aeb073
match the numer of columnss in the cellmap and the col cache bug 350081 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@208642 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-28 17:39:36 +00:00
bmlk%gmx.de
34c64d1f4f
adjust col frames instead of asserting that the number of cols is wrong bug 347725 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@208089 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-22 06:08:15 +00:00
mats.palmgren%bredband.net
0e4fca5671
Improve error handling in nsCSSFrameConstructor::CreateContinuingFrame() and its callers. b=337419 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@208083 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-22 01:33:46 +00:00
leon.sha%sun.com
c9a84102c2
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+
git-svn-id: svn://10.0.0.236/trunk@206715 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-07 11:03:43 +00:00
bmlk%gmx.de
a37fd56c02
fix VC6 build bustage
...
git-svn-id: svn://10.0.0.236/trunk@206618 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-04 20:32:46 +00:00
bmlk%gmx.de
44ecdcf59a
take special care when tfoot are manipulated and the cellmap changes rather drastical bug 343087 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@206613 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-04 19:15:50 +00:00
bmlk%gmx.de
6bf97d9795
when we remove cells the number of columns in the cellmap may rise if rowspans are involved bug 343778 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@203151 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 19:21:50 +00:00
mats.palmgren%bredband.net
1bbaeed419
Fix crash when recreating <caption> frames. Add ASSERTIONs to detect similar frame construction errors in the future. b=341382 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@201187 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-29 02:32:36 +00:00
bmlk%gmx.de
24de0ae75c
reset row indices if rowgroups may have moved bug 342559 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@201120 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-28 19:00:01 +00:00
bmlk%gmx.de
eaa542d299
reorder cellmaps if the rowgroup order might have changed bug 339130 r7sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@200567 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 04:19:36 +00:00
roc+%cs.cmu.edu
235a92643c
Fixing bustage
...
git-svn-id: svn://10.0.0.236/trunk@195751 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-01 01:41:41 +00:00
roc+%cs.cmu.edu
c3298a777d
Bug 334690. Fix regression in z-ordering of table cell content for event handling. r=bernd
...
git-svn-id: svn://10.0.0.236/trunk@195750 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-01 01:18:32 +00:00
roc+%cs.cmu.edu
cf55a52a05
Bug 334942. ExplodeAnonymousChildLists before sorting table parts. r=bernd
...
git-svn-id: svn://10.0.0.236/trunk@195504 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 02:25:23 +00:00
roc+%cs.cmu.edu
4fb2b61671
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
...
git-svn-id: svn://10.0.0.236/trunk@194544 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 22:16:24 +00:00
roc+%cs.cmu.edu
b6ebd9961d
Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@193976 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 00:16:29 +00:00
bmlk%gmx.de
930d9dd0a4
prevent a second call to SetInitialChildList bug=333288 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@193965 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-09 18:43:46 +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
sharparrow1%yahoo.com
4faf77261e
Bug 331415: some printing code cleanup. r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@193231 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 00:27:42 +00:00
roc+%cs.cmu.edu
140fbb3377
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
...
git-svn-id: svn://10.0.0.236/trunk@193022 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 21:30:36 +00:00
pavlov%pavlov.net
b5c7a440ef
backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
...
git-svn-id: svn://10.0.0.236/trunk@192407 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
6e36f2c733
Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@192399 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu
c469d694c3
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
...
git-svn-id: svn://10.0.0.236/trunk@192331 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-14 20:43:18 +00:00
roc+%cs.cmu.edu
38a9722e9f
Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell
...
git-svn-id: svn://10.0.0.236/trunk@192085 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 18:55:21 +00:00
bmlk%gmx.de
24256cd622
Make visibility:collapse work again after the display list change. Implement overflow handling and view synchronization for collapsed frames. bug 326551 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@191763 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-04 05:26:57 +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
uriber%gmail.com
9abc8fa432
Bug 299065: Bidi resolution needs to split inlines in addition to text frames. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@190744 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 21:33:47 +00:00
bzbarsky%mit.edu
fb8579f413
Fix leak bug 324969 -- make sure to call virtual destructors.
...
git-svn-id: svn://10.0.0.236/trunk@188434 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-29 18:48:58 +00:00