408 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
008a922699 Bug 423823. Clip overflowing background when tbody is scrollable. r=fantasai,sr=dbaron,a=ss
git-svn-id: svn://10.0.0.236/trunk@253802 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-25 09:37:50 +00:00
dholbert%cs.stanford.edu
5688e3cf16 Bug 409084: When determining if a row or rowgroup isTopOfPage, check if the previous row has positive YMost, rather than just checking if there *is* a previous row. r=bernd sr=dbaron a1.9=beltzner
git-svn-id: svn://10.0.0.236/trunk@250389 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-17 18:18:42 +00:00
timeless%mozdev.org
14b0613d2b Bug 394114 Interfaces missing from various QI implementations.
r=jag sr=jag a=dsicore


git-svn-id: svn://10.0.0.236/trunk@249775 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-08 06:18:36 +00:00
bmlk%gmx.de
20a0f0e41e lookup all columns for possible originating cells, bug 426706 r/sr=bzbarsky a=beltzner
git-svn-id: svn://10.0.0.236/trunk@249688 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-06 12:16:45 +00:00
bmlk%gmx.de
a2a7f201ad initialize all border parameters so that the border is initialized even for empty rowgroups bug 424434 r/sr=bzbarsky a=mtschrep
git-svn-id: svn://10.0.0.236/trunk@249687 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-06 12:12:40 +00:00
roc+%cs.cmu.edu
c64d67f6eb Bug 416735. When a table frame paints the backgrounds for all its parts, make sure those parts notify the table frame display item when they are background-attachment:fixed. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@249686 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-06 11:34:14 +00:00
dholbert%cs.stanford.edu
f3810f376a Whitespace-only change: clean up parameter indentation in nsTableRowGroupFrame
git-svn-id: svn://10.0.0.236/trunk@249017 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-02 21:52:04 +00:00
bzbarsky%mit.edu
9a57ab48b5 Invalidate things correctly when the caption or inner table is resized. Bug
424465, r=bernd, sr=roc


git-svn-id: svn://10.0.0.236/trunk@248971 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-01 21:53:19 +00:00
bmlk%gmx.de
ffd5579bcb lookup all columns for possible originating cells, bug 423514 r/sr=bzbarsky a=mtschrep
git-svn-id: svn://10.0.0.236/trunk@248668 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-27 05:03:02 +00:00
dbaron%dbaron.org
8185829075 Don't do translation during table border painting. b=421069 Patch by Robert O'Callahan <roc@ocallahan.org>. r+sr=dbaron approval1.9b5=damon
git-svn-id: svn://10.0.0.236/trunk@248331 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-21 01:18:30 +00:00
dbaron%dbaron.org
1be04970f2 Backing out bug 421069 (which I landed earlier today for roc) because it caused bug 424016.
git-svn-id: svn://10.0.0.236/trunk@248259 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-20 05:58:00 +00:00
dbaron%dbaron.org
7e3cd1f664 Don't do translation during table border painting. b=421069 Patch by Robert O'Callahan <roc@ocallahan.org>. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@248221 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 23:02:38 +00:00
dbaron%dbaron.org
4dd01a645e Fixing asymmetry between what timeless landed for bug 394114 and what he backed out.
git-svn-id: svn://10.0.0.236/trunk@248211 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 22:05:05 +00:00
timeless%mozdev.org
cb247b3213 reverting, wrong patch, missing AMBIGUOUS
git-svn-id: svn://10.0.0.236/trunk@248210 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 21:55:28 +00:00
bzbarsky%mit.edu
8a048f6b78 Invalidate tables a little harder. Bug 421632, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@247942 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-16 20:32:48 +00:00
bmlk%gmx.de
7cbfc698ce make the lineiterator interface for tables a little more sane bug 388700 r/sr=roc a=mtschrep
git-svn-id: svn://10.0.0.236/trunk@246113 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 20:22:18 +00:00
bmlk%gmx.de
1441c06933 document the lineiterator interface and all its current flaws. Make
:GetNextSiblingOnLine more efficient. bug 388700 r/sr=roc a=mtschrep


git-svn-id: svn://10.0.0.236/trunk@245314 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-09 17:10:58 +00:00
bzbarsky%mit.edu
b06d3d6b21 Fix bug 416073: invalidate more things as needed during table reflow to prevent
glitches.  r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@245203 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-08 09:36:32 +00:00
dholbert%cs.stanford.edu
d1fecbf1d7 Bug 403669 - Dirty the table geometry when we split row groups. r+sr=dbaron, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@244085 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-27 01:54:48 +00:00
bmlk%gmx.de
29cfb7df45 do not compare with a unconstrained size, bug 390049 r/sr=roc a=mtschrep
git-svn-id: svn://10.0.0.236/trunk@243592 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-20 06:42:31 +00:00
bmlk%gmx.de
2076a39626 when splitting rowgroups the space that is left on the page is computed from relative to the bottom, bug 373400 r=sharparrow1 sr=dbaron a=blocking 1.9+
git-svn-id: svn://10.0.0.236/trunk@240246 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-02 19:19:00 +00:00
roc+%cs.cmu.edu
506ec62563 Bug 397428. Return 'complete' on *all* paths whenever we push a rowgroup to the next page. r=bernd,sr=bzbarsky,a=schrep
git-svn-id: svn://10.0.0.236/trunk@239177 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-12 01:45:57 +00:00
bzbarsky%mit.edu
3524c6eee1 Introduce a setter for nsHTMLReflowState::mComputedHeight so that we're sure to
update the resize flags properly.  Bug 388084, r+sr+a=dbaron


git-svn-id: svn://10.0.0.236/trunk@231323 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 18:08:07 +00:00
jwalden%mit.edu
dda6ff3c99 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.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
mats.palmgren%bredband.net
fd18364353 Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@229301 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 02:15:35 +00:00
sharparrow1%yahoo.com
1fefb19635 Bug 386142: fantasai's li'l Need More Comments bug. Patch by fantasai, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@229291 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 22:49:01 +00:00
bzbarsky%mit.edu
ba5badedcb Change the FrameNeedsReflow API to pass the dirty flags to be added directly to
the method, instead of setting them before calling the method.  That way we can
avoid reflowing the ancestor of a reflow root which is not itself dirty but has
dirty children.  This also makes it harder to set dirty bits inconsistently
with the FrameNeedsReflow call.  Bug 378784, r+sr=dbaron, pending rbs' review
on the mathml parts.


git-svn-id: svn://10.0.0.236/trunk@226007 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-06 19:16:52 +00:00
bzbarsky%mit.edu
116d69628c Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by
Taras Glek <tglek@mozilla.com>, rs=roc.


git-svn-id: svn://10.0.0.236/trunk@222659 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 21:11:47 +00:00
dbaron%dbaron.org
191e1cf5c9 Remove the remainder of the pixel rounding in the table code. b=371187 r=bernd sr=roc
git-svn-id: svn://10.0.0.236/trunk@220757 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 20:22:12 +00:00
bmlk%gmx.de
0f6cfd754b limit array access when a rowspan points to a already pushed row, bug 370360 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@220655 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-21 19:42:21 +00:00
sharparrow1%yahoo.com
4e50607a9e Bug 370185: clean up view header includes (trivial). rs=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@219987 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-12 19:17:33 +00:00
sharparrow1%yahoo.com
dd459d0a71 Bug 177805: Fix the use of units in Gecko. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
cvshook%sicking.cc
ccd1d6884d Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
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
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
bmlk%gmx.de
66cba9f983 Stronger band-aid to prevent table splitting inside columns bug 362275 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@218721 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-21 17:51:33 +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
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
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
roc+%cs.cmu.edu
1c89fec2c3 Bug 241796. Fix comments and handle OOM in SetProperty. Followup to the real fix. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@212139 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-22 01:56:04 +00:00
bmlk%gmx.de
02306d36c5 mark for all reflows the rowgroup as incomplete if there are still nextinflows bug 347367 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@212103 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-21 09:55:07 +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
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
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
uriber%gmail.com
3bea28d295 Handle returning nulls from CheckLineOrder correctly. bug=345616 r=smotagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@206546 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-04 05:40:57 +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
roc+%cs.cmu.edu
74d34dee5a Bug 338770. Don't even start trying to split a rowgroup in columns mode. r=bernd,sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@199160 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-06 22:45:14 +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