Commit Graph

626 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
d59eb1155e Fix bug 371925 -- we need to allow for the case when the prev sibling is at index 0. r=bernd, sr=roc, a=mconnor
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@221399 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-06 18:50:41 +00:00
bmlk%gmx.de
cdb4a8986c 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, r/sr=roc a=jay
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@218272 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-13 11:50:49 +00:00
bmlk%gmx.de
79e8fecc5b 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 a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@217419 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 14:40:54 +00:00
bmlk%gmx.de
689a029ca2 expand zerospans before one tries to mark them as dead cells bug 350524 r/sr=bzbarsky a=schrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@209570 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-09 16:20:54 +00:00
bmlk%gmx.de
05ae29fda8 mark the whole table for bc recomputation if the rowgroups change bug 347796 r/sr=bzbarsky a=mtschrep
match the numer of columnss in the cellmap and the col cache bug 350081 r/sr=bzbarsky a=beltzner


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@209007 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-01 18:24:48 +00:00
mats.palmgren%bredband.net
95457b48d4 Improve error handling in nsCSSFrameConstructor::CreateContinuingFrame() and its callers. b=337419 r+sr=roc a=mtschrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@208456 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-25 20:21:41 +00:00
sayrer%gmail.com
dc236c4e03 Bug 346980 Windows bustage fix declaration was a PRUint32
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@207232 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-12 19:55:12 +00:00
sayrer%gmail.com
5cfc54d901 Bug 346980 Windows bustage fix.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@207231 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-12 19:43:12 +00:00
bzbarsky%mit.edu
0f69ed2515 Land the combined cellmap fixes on branch. Bug 346980, patch by bernd,
r+sr=bzbarsky originally on most of these changes, a=schrep


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@207223 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-12 16:54:31 +00:00
bmlk%gmx.de
1882c8644f reorder row groups to keep them in sync when the nextinflow changes underneath bug 302911 r/sr=roc a=dbaron
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@206468 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-03 05:10:59 +00:00
bmlk%gmx.de
b8e7cf81ef insert new rowgroup cellmaps in the order predicted by OrderRowGroups, bug=317554 r/sr/a=roc
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@191503 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-01 18:58:30 +00:00
bmlk%gmx.de
ae491d3518 fix for null pointer deref, only rowspans span into the row below. bug 316636 r/sr=bzbarsky a=mtschrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@186612 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-27 13:00:26 +00:00
bmlk%gmx.de
f0cdc1dedb fix reflow reason for special height reflow, reevaluate height reflow conditions as tables with fixed layout might have one reflow less bug 293761 r/sr=roc a=asa
git-svn-id: svn://10.0.0.236/trunk@174927 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-21 04:50:42 +00:00
bzbarsky%mit.edu
3f6088524e Fix border width inheritance by keeping track of both the border width we'd
have if our style were not none/hidden and the actual computed border width.
Bug 290377, r+sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@172872 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 15:44:38 +00:00
roc+%cs.cmu.edu
131435cb9a Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@172836 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 21:57:22 +00:00
dbaron%dbaron.org
f94ce77397 Fix too-much-overflow regression by making border-collapse cells store the full width of the border rather than just the inside half of it. Also make BCPixelSize 16-bit instead of 8-bit and use it in more places, and a little other cleanup. b=286794 r=bernd sr=roc a=brendan
git-svn-id: svn://10.0.0.236/trunk@171857 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 18:04:38 +00:00
bmlk%gmx.de
6733807ecf prevent negative available widths for rowgroups when changing from an empty table to one with cells and cellspacing, bug 271047 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@171373 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 07:42:49 +00:00
dbaron%dbaron.org
8b93b2aa52 Fix coverity uninitialized variable warnings in layout. b=288092 r=bernd sr=roc
git-svn-id: svn://10.0.0.236/trunk@171357 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 01:50:56 +00:00
roc+%cs.cmu.edu
0f923db490 Bug 274516. Tables should use the ordered rowgroup array to decide which children to push, not just follow the sibling list. Also, repeating footers should not be pushed. r=bernd, sr=bzbarsky, a=choffman
git-svn-id: svn://10.0.0.236/trunk@169282 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-16 20:02:14 +00:00
bzbarsky%mit.edu
807f289552 Move reflow command construction into nsPresShell::AppendReflowCommand, remove
some members, switch some callers to the non-COM-ish apis.  Bug 267085, r+sr=rbs


git-svn-id: svn://10.0.0.236/trunk@168953 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 00:59:52 +00:00
bzbarsky%mit.edu
2bea98552c Remove prescontext args for some nsIFrame methods
(Append/Insert/Remove/ReplaceFrames) and for some methods in table land.  Patch
by Vidar Braut Haarr <bugmail@q1n.org>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@168894 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 01:58:25 +00:00
mats.palmgren%bredband.net
a32f025a3a Don't page-break before or after a repeated frame. b=278983 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168835 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-05 04:23:52 +00:00
bmlk%gmx.de
ec1972d403 Insert only one column group at a time and not all following siblings, bug 277062 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168645 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 18:07:44 +00:00
cvshook%sicking.cc
12f074b44e Bug 236476: Change GetHTMLAttribute to GetParsedAttr. Also fixes bug 232706 by removing final uses of nsHTMLValue.
r=bz sr=jst


git-svn-id: svn://10.0.0.236/trunk@168269 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 00:02:58 +00:00
bmlk%gmx.de
17f1b0ea6a improve the splitting of row groups in pagination mode, bug 272830 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@167168 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-01 18:23:33 +00:00
neil%parkwaycc.co.uk
b6cfbdda85 Bug 276100 GetOriginToView has unused PresContext argument p=bugmail@q1n.org r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@167161 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-01 17:26:29 +00:00
bmlk%gmx.de
d5cb7cf961 style lookup correction for border collapse computation under rtl conditions, bug 267420 r=fantasai sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@167047 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-27 18:43:55 +00:00
bmlk%gmx.de
adcb976e59 remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@167045 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-27 15:05:18 +00:00
bmlk%gmx.de
f4ecc570fe switch the frame sorting from the frame constructor to the table frame + a couple of build warning fixes, bug 269648, r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@166078 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 18:47:34 +00:00
bzbarsky%mit.edu
98e8d59a4a Fix asserts by making sure that border-spacing is always computed to coord
values.  Bug 270325, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@165948 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-30 18:30:58 +00:00
aaronleventhal%moonset.net
59b589b964 Bug 250269. Outlines not getting painted on buttons, radios, checkboxes, tables and table cells. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@165254 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-11 15:07:22 +00:00
bmlk%gmx.de
6f857f9094 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@164704 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-31 16:55:12 +00:00
bmlk%gmx.de
770ad874d6 paint borders rtl in border collapsed tables when dir=rtl is specified for the table, initial patch by dbaron bug 174470 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@164701 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-31 15:52:52 +00:00
bmlk%gmx.de
73b91d2be3 change ref to pointer to catch spurious crash bug=264733 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@164607 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-29 17:44:29 +00:00
bmlk%gmx.de
b11f6f0e87 reorganize CalCDominantBorder, reduce the number of arguments, change the border structure. make the rules handling more evident, bug 229883, With more than a little help from my friends (fantasai, boris) r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@163467 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 12:04:52 +00:00
bmlk%gmx.de
e6f5bc2c94 at the table bottom use this row as it is the only place where we dont paint above the row, bug 254538 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162531 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-19 18:15:37 +00:00
bmlk%gmx.de
6d3feed3dd ensure a correct overflow area, even if the overflow is clipped, it should be the frame size under these conditions bug = 260241 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162529 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-19 09:50:41 +00:00
roc+%cs.cmu.edu
ab88d1e1ac Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
git-svn-id: svn://10.0.0.236/trunk@162269 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 02:28:03 +00:00
bmlk%gmx.de
35e33e2e07 CalcDesiredHeight might change the overflow area, so it needs to be included in the reflowmetrics bug=231275 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162220 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 18:21:03 +00:00
roc+%cs.cmu.edu
25c92b6a90 Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine
git-svn-id: svn://10.0.0.236/trunk@161806 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-06 02:44:43 +00:00
bmlk%gmx.de
beb1e800a5 1. enhancement of the debug code so that coltypes become visible
2. remove the isanonymous flag which is unused
3. make the col dump routine #ifdef DEBUG
4. stop to defer the appending of the colgroup frame. bug 248474 r/sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@161755 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 16:02:50 +00:00
dbaron%dbaron.org
e8aae32dd7 Land bug 72747 in pieces: use new functions for common overflow tests. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161682 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 23:27:23 +00:00
bmlk%gmx.de
30843172bf tables without cells should not add vertical cellspacing bug 246534 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@161644 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 06:36:56 +00:00
dbaron%dbaron.org
dcf4bae71a Back out the rest of bug 72747 due to Tp regression.
git-svn-id: svn://10.0.0.236/trunk@161373 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
ed6372cf2f Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161333 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 17:11:20 +00:00
bryner%brianryner.com
ff2bc0b69e Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@161182 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-24 18:50:29 +00:00
bryner%brianryner.com
2ac3245dec Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction)
git-svn-id: svn://10.0.0.236/trunk@161116 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-22 07:10:50 +00:00
bryner%brianryner.com
0501b2872a Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@161115 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-22 04:58:44 +00:00
bryner%brianryner.com
03c6a8279c Backing out bug 253888 until I can figure out how to fix the crash
git-svn-id: svn://10.0.0.236/trunk@161097 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-21 06:27:54 +00:00
bryner%brianryner.com
e49f4fa38e Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@161096 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-21 05:09:50 +00:00