615 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
aeacb4d477 Bug 108310. Make GetFrameForPoint take frame-relative coordinates, not bogus relative-to-some-view-or-other, and simplify the signature. r+sr=roc, patch by Eli Friedman.
git-svn-id: svn://10.0.0.236/trunk@180551 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 02:15:54 +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
dbaron%dbaron.org
dda1e6cda9 Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@160586 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 01:32:10 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
aaronleventhal%moonset.net
68db552d54 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159341 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 16:56:21 +00:00
aaronleventhal%moonset.net
aac51e9f0b Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes
git-svn-id: svn://10.0.0.236/trunk@159268 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 18:57:47 +00:00
aaronleventhal%moonset.net
c361ea9f16 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159196 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 21:58:34 +00:00
bmlk%gmx.de
0ec7533f3e empty tables should not have a size in quirks mode. bug 241161 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@157634 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-09 04:13:53 +00:00
bmlk%gmx.de
22419ff22a reset the cell offset when a row becomes again visible, order the rowgroups before collapsing the rows bug 242253 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@156121 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-08 05:11:29 +00:00
bmlk%gmx.de
b3d3fb986a add colframe documentation, fix a colframe renumbering problem, bug 238999 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@155857 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-03 18:31:34 +00:00
bmlk%gmx.de
7f0b859644 remove bogus conversions bug 241997 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@155819 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-02 09:51:57 +00:00
bmlk%gmx.de
8cea43fadb make visibility collapse work during incr reflows bug 77019 r= bzbarsky sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@155641 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-28 16:42:59 +00:00
bmlk%gmx.de
e4d6615e12 remove table background quirk use standards painting instead bug 237078 patch by fantasai@escape.com r=bernd sr=dbaron
crash prevention when colframes return bogus colindices bug 240854 r/sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@155080 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 18:17:00 +00:00