1198 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
f69aa393a1 Use the right parent when appending to a frame with in-flows that has :after
generated content.  Bug 292116, r+sr=roc, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@174362 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-09 15:37:56 +00:00
Olli.Pettay%helsinki.fi
103e8cb408 Bug 291026, Allow XBL to bind to XTF elements, r=alex, sr=bryner, a=mkaply
git-svn-id: svn://10.0.0.236/trunk@173962 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 19:19:33 +00:00
bzbarsky%mit.edu
5941c13f90 Process some more menu-related attribute changes synchronously for now. Bug
262031, r+sr=roc, a=asa


git-svn-id: svn://10.0.0.236/trunk@173573 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-19 16:01:25 +00:00
bzbarsky%mit.edu
2e6c4b317a Fix bug 293588 -- make sure to not store form data in the wrong session history
entry.  r+sr=bryner, a=brendan


git-svn-id: svn://10.0.0.236/trunk@173350 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-12 20:53:33 +00:00
vladimir%pobox.com
8ed9af21f3 b=293407, canvas uses wrong frame type; 293306, canvas leaks memory; 293225, default canvas height should be 150, r+sr=bzbarsky,a=shaver
git-svn-id: svn://10.0.0.236/trunk@173239 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-10 00:28:30 +00:00
vladimir%pobox.com
99efffd5fc b=291216, canvas should not be an empty element, default width/height, fallback content should not be rendered, r+sr=bzbarsky, a=brendan/shaver
git-svn-id: svn://10.0.0.236/trunk@173165 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-07 03:45:06 +00:00
aaronleventhal%moonset.net
d1f8529250 Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@172979 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-03 04:16:50 +00:00
aaronleventhal%moonset.net
eb9e22a026 Bug 280498. Invalidate accessibility subtree for frame visibility/display style changes. r=bz, sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@172977 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-03 03:46:51 +00:00
bmlk%gmx.de
8e2649d1cc table captions are float containing blocks, bug 291520 r/sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@172859 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 04:11:31 +00:00
roc+%cs.cmu.edu
2491d69963 Bug 290752. Don't create unnecessary level of style contexts for scrolled frames. r+sr=bzbarsky,a=asa
git-svn-id: svn://10.0.0.236/trunk@172839 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 22:14:16 +00:00
bmlk%gmx.de
98efe955c0 pseudoframes need to be processed before the frame state is reset bug 282175 r/sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@172763 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-27 04:25:57 +00:00
tor%cs.brown.edu
e42e1bf322 Bug 256624 - <switch> should operate over "real" content children only.
Patch by scootermorris@comcast.net, r+sr=bz, a=asa.


git-svn-id: svn://10.0.0.236/trunk@172710 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-26 00:10:17 +00:00
tor%cs.brown.edu
d846a45c90 Bug 291339 - foreignObject crash in debug builds. r+sr=bzbarsky, a=asa
git-svn-id: svn://10.0.0.236/trunk@172581 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-21 21:39:13 +00:00
bmlk%gmx.de
93b3fae332 do the granparent lookup for captions only when the parent is a inner table frame, bug286137 r/sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@172475 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-20 03:53:01 +00:00
vladimir%pobox.com
dcf80e9788 b=288714, html canvas implementation, r=various,a=brendan
git-svn-id: svn://10.0.0.236/trunk@172389 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 06:33:23 +00:00
bzbarsky%mit.edu
65ea60be7a Make repaints needed for widget state changes follow the same codepath as
repaints needed for style changes.  Bug 287616, r+sr=roc, a=asa


git-svn-id: svn://10.0.0.236/trunk@172255 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-15 01:32:27 +00:00
bzbarsky%mit.edu
46d9cf3192 Don't copy/paste code to cast to placeholder frames all over the place; use a
utility method instead.  Bug 276954, r+sr=roc, a=brendan


git-svn-id: svn://10.0.0.236/trunk@172225 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-14 15:30:35 +00:00
bmlk%gmx.de
edb17b80f0 cleanup for named childlists on outer table frames, bring ContentInserted in sync with ContentAppended, bug 286137 r/sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@171985 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 17:35:11 +00:00
roc+%cs.cmu.edu
89977d9b7c Bug 288949. Don't try to use view reparenting to handle scrolled child views. Also, fix regression so that listboxes don't always have widgets. r+sr=dbaron,a=asa.
git-svn-id: svn://10.0.0.236/trunk@171875 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 23:54:28 +00:00
bzbarsky%mit.edu
cec44f64b3 Fix silly error that caused no scrollbars in non-SVG builds. Bug 289248, r+sr+a=shaver
git-svn-id: svn://10.0.0.236/trunk@171807 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 15:55:00 +00:00
bzbarsky%mit.edu
2ed6c9fac8 Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
BindToTree and UnbindFromTree methods.  Bug 286000, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@171749 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 23:54:35 +00:00
pedemont%us.ibm.com
bc17cf38bd Bug 210204 - Only use Mac system menu for root chrome shell XUL menus. Display all other XUL menus as on other platforms. r=bz, sr=roc
git-svn-id: svn://10.0.0.236/trunk@171740 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 22:58:29 +00:00
roc+%cs.cmu.edu
a52cfd560a Bug 289090. Get the pagesequenceframe from the frame constructor, don't poke around the frame hierarchy trying to find it. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171737 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 22:46:56 +00:00
roc+%cs.cmu.edu
64b260501e Bug 288117. Fix regressions in nsDocShell::SetCanvasHasFocus and in nsListBoxBodyFrame/nsListBoxObject where code made obsolete assumptions about scrollframe structure. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@171540 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 21:02:47 +00:00
roc+%cs.cmu.edu
7021bee02b Bug 288117. Reland nsScrollBoxFrame removal. This will regress Tp a bit. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@171539 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 21:00:41 +00:00
dbaron%dbaron.org
72020748e5 Implement CSS2 counters. b=3247 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171473 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 23:07:00 +00:00
bzbarsky%mit.edu
35707e2f9d Wrap a view update batch around all restyle processing and switch
ApplyRenderingChangeToTree to use a NO_SYNC view batch, since we now flush
reflows before painting.  Bug 288365, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@171464 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 18:14:18 +00:00
dbaron%dbaron.org
f7e591cd27 Back out roc's checkin for bug 288117 to isolate performance regressions during tinderbox downtime.
git-svn-id: svn://10.0.0.236/trunk@171429 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-31 18:04:50 +00:00
roc+%cs.cmu.edu
edd9381478 Bug 288117. Eliminate nsScrollBoxFrame. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@171419 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-31 03:40:12 +00:00
bzbarsky%mit.edu
116adff631 Don't walk through placeholders to out-of-flows that are our descendants when
we destroy a frame subtree.  Bug 271151, r=rbs, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@171342 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-29 22:36:06 +00:00
roc+%cs.cmu.edu
ef09b51fd6 Bug 287352. Use wrappedFrame not frame, stupid. r+sr=bzarsky
git-svn-id: svn://10.0.0.236/trunk@171073 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 21:27:51 +00:00
roc+%cs.cmu.edu
d32f42b290 Bug 287127. Avoid using GetContentInsertionFrame when the frame hierarchy is not hooked up. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171037 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 03:39:32 +00:00
roc+%cs.cmu.edu
29bff429e9 Bug 282754. When laying out absolute children, use the computed width/height of the primary frame as the container metrics if they're available. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@170957 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-21 21:43:01 +00:00
bzbarsky%mit.edu
9ad95bdc3a Add an IsFloatContainingBlock() method on nsIFrame, use this in the frame
constructor.  Make sure the div inside an <object> when we do our "we need a
plugin" thing has the space manager bit set.  Bug 283385, bug 285165, bug
286111.  r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@170874 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-18 04:13:05 +00:00
bmlk%gmx.de
28af0b2d85 Add some debug code for table pseudo frames. The code can be activated by: set GECKO_FRAMECTOR_DEBUG_FLAGS=table-pseudo, bug 280217 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@170597 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-12 10:46:53 +00:00
bmlk%gmx.de
a8c743d86b revert caption parent frame lookup logic as tags with display: table-caption are not allways just below a table tag bug 284575 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@170569 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-11 19:21:23 +00:00
bmlk%gmx.de
ee4b566941 - decouple xul iframes from the browser.frames.enabled preference, so that one can open mozilla if that preference is set to false bug 107911
- avoid mutating style inside frame constructor for noframes bug 240129, this fixes crashes like bug 281333 and  bug 266222
- ConstructFrame does not append children if it fails, thats good enough for tables, so don't care about foreign children if they fail, this prevents tables from going into panic mode. bug 283147
- a display: table-caption behaves like a block for other table frames created below. bug 281527
r/sr= bzbarsky


git-svn-id: svn://10.0.0.236/trunk@170138 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-03 18:04:38 +00:00
bzbarsky%mit.edu
7b98ea2307 Don't crash oif someone sets "display: -moz-grid" on something that has an XBL
base tag.  Just make it a grid.  Bug 283140, r=neil, sr=roc


git-svn-id: svn://10.0.0.236/trunk@169971 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-28 02:32:57 +00:00
bryner%brianryner.com
165fa3ff89 Remove nsIXBLBinding (bug 194834). r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@169873 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 22:07:01 +00:00
bmlk%gmx.de
b906e7cfdc input type="hidden" is not a special HTML content as we don't create a frame for it in the constructhtmlframe routine, bug 280217, r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@169632 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 05:14:55 +00:00
tor%cs.brown.edu
a305df7c3f Bug 258511 - preference to disable native SVG support. r=bzbarsky, sr=roc
git-svn-id: svn://10.0.0.236/trunk@169564 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-21 18:11:18 +00:00
bryner%brianryner.com
066919535f Guarantee that a document's binding manager is non-null. Bug 282792, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@169489 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-19 10:31:27 +00:00
bzbarsky%mit.edu
ce5f5c101d Add a presshell member to nsCSSFrameConstructor. Remove prescontext and
presshell args from most frame constructor methods; use the state for the
former and the member for the latter.  Bug 281957, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@169389 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 16:11:53 +00:00
bzbarsky%mit.edu
4136bc41b4 Remove unnecessary prescontext args on some nsLayoutUtils methods. Bug 281767,
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@169352 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 06:06:47 +00:00
bmlk%gmx.de
426270c81f allow only columns as colgroup children, and prevent column children bug=280618 r/sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@169166 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-13 07:43:22 +00:00
roc+%cs.cmu.edu
e0d871feb8 Bug 277420. Use ConstructBlock when creating scrolled and absolutely positioned blocks. Removes copied code and makes columns work in such situations. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168959 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 02:15:26 +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
bzbarsky%mit.edu
1818d5e294 Move pseudo-frame handling into CreateAnonymousFrames, sort of like what we
have in ProcessChildren.  Bug 280708, r=bernd, sr=roc


git-svn-id: svn://10.0.0.236/trunk@168757 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 18:40:01 +00:00
bzbarsky%mit.edu
8632f162de Fix frame tree mangling when a combobox is inside a pseudo-cell. Bug 275746,
r=bernd, sr=roc


git-svn-id: svn://10.0.0.236/trunk@168661 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 21:01:31 +00:00