1071 Commits

Author SHA1 Message Date
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
bzbarsky%mit.edu
416b08acd9 Fix insertion of content into blocks with first-letter styles to put the frames
in the right place.  Bug 277686, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@168647 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 18:46:35 +00:00
bzbarsky%mit.edu
77e877e706 Change the hack for menus to just process the menugenerated attr change sync to
start with, instead of flushing style reresolves.  Bug 279308, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@168418 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 21:17:08 +00:00
roc+%cs.cmu.edu
19c46ac733 Bug 261238. Make widget z-ordering a closer approximation to what CSS2 wants. Also make GTK2 actually implement widget z-ordering. r=bzbarsky,blizzard sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168415 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 20:49:47 +00:00
roc+%cs.cmu.edu
22b4bca9c1 Bug 277421. Make absolutely-positioned frame construction use ConstructBlock; removed redundant code and enables abs-pos elements with columns. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168323 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 22:17:59 +00:00
bzbarsky%mit.edu
42d37987f3 Fixing some bustage from bug 269566 -- I got the order of args to
nsINodeInfo::Equals() wrong. r=sicking


git-svn-id: svn://10.0.0.236/trunk@168321 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 21:15:21 +00:00
tor%cs.brown.edu
8e4cbfc529 Bug 193825 - <svg:clipPath> implementation.
r=scooter, sr=dbaron for shared moz files.


git-svn-id: svn://10.0.0.236/trunk@168283 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 03:55:03 +00:00
bzbarsky%mit.edu
7960996dc3 Hoist pseudo-frame handling up so it happens for all frames. Fixes crashes bug
269566 and bug 275625.  r=bernd, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@168262 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-24 22:51:20 +00:00
mrbkap%gmail.com
8b9e29714b bug 71191: Cannot apply bindings on the root element in a document. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168118 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-21 04:42:30 +00:00
bzbarsky%mit.edu
912dc0e611 Fix crash if insertion point has display:none. Bug 277523, r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@168079 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-20 19:54:06 +00:00
tor%cs.brown.edu
2e795b603b Bug 277034 - Large SVG documents don't display scrollbars. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@167987 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-19 16:11:03 +00:00
neil%parkwaycc.co.uk
e717d9b1f9 Bug 276002 Change nsContenUtils::Get/FormatLocalizedString to use nsXPIDLString to save on nsAutoString copies r=dbaron sr=bryner
git-svn-id: svn://10.0.0.236/trunk@167959 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-18 23:46:59 +00:00
mats.palmgren%bredband.net
e40450a011 Don't create page breaks when 'display:none'. b=277035 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@167823 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-16 15:30:37 +00:00
bryner%brianryner.com
55e775a8a2 Less-than-ideal fix for the problem where XTF insertion points don't work if the insertion point has only inline frame ancestors (which are not in the primary frame map) in the anonymous content tree. Track the insertion point content node as we're constructing anonymous content frames and insert the explicit content when we reach the insertion point. Bug 269023, r=bzbarsky, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@167749 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-14 23:12:20 +00:00
bryner%brianryner.com
2474296ae5 Remove nsIHTMLContent interface (bug 276959). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@167619 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 19:45:38 +00:00
tor%cs.brown.edu
bf5cb846dc Bug 277034 - large svg documents don't display scrollbars. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@167291 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-05 05:49:35 +00:00
bzbarsky%mit.edu
ff02c81397 Remove incorrect code that unnecessarily pushes pseudo-frame state and causes
frames to be lost.  Bug 271422, r=bernd, sr=roc


git-svn-id: svn://10.0.0.236/trunk@167231 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-03 23:39:38 +00:00
bzbarsky%mit.edu
e272c87dda Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@167223 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-03 22:51:17 +00:00
mats.palmgren%bredband.net
bb956e086b Swap the order between the legend and area frames in a fieldset to fix selection and tabbing problems. b=236071 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@167179 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-02 14:30:24 +00:00
bugzilla%arlen.demon.co.uk
e4daffa10a Bug 270708 remove nsPresContext variable from AttributeChanged and cleaned up comment in nsIFrame.h
p=bugmail@q1n.org r=pkwarren sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@167124 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-31 01:13:27 +00:00
cbiesinger%web.de
c9b415a585 263671 make nsStyleUserInterface::CalcDifference return correct style hints if
more than one property differs. also handle dynamic cursor changes correctly.
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@167058 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-28 13:48:25 +00:00
bmlk%gmx.de
f62f7441c8 dont take colgroup pseudoframes into account when creating row- or rowgroup pseudo frames bug 267725 p=basic@mozillanews.org r=bernd sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@167014 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-24 07:35:33 +00:00
dbaron%dbaron.org
41499fd2db Fix misspellings of 'pseudo' in comments. Bug 106386. Patch by Alex Vincent <ajvincent@gmail.com>. r=timeless sr=peterv
git-svn-id: svn://10.0.0.236/trunk@166869 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-19 21:45:51 +00:00
tor%cs.brown.edu
8c31f90f5e Bug 216568 - <svg:image> implementation. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@166841 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-17 23:45:30 +00:00
dbaron%dbaron.org
13decbac15 Remove nsFormControlHelper::GetLocalizedString, improve string bundle methods in nsContentUtils, and convert callers. b=273829 r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@166823 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-17 20:40:48 +00:00
bryner%brianryner.com
b0242fa4f1 deCOMtaminate nsIContent::GetNameSpaceID. Bug 272079, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@166648 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-13 04:14:28 +00:00
tor%cs.brown.edu
308eece6d8 Bug 238050 - implement SVG markers. r=scooter, moz common files sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@166471 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-09 03:16:15 +00:00
roc+%cs.cmu.edu
92b05c8143 Bug 266890. Remove nsScrollPortFrame since it's the only subclass of nsScrollBoxFrame, just merge everything up to nsScrollBoxFrame. r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@166375 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-07 03:42:00 +00:00