Commit Graph

1216 Commits

Author SHA1 Message Date
roc+@cs.cmu.edu
372ac564ce 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 2005-03-21 21:43:01 +00:00
bzbarsky@mit.edu
8ecb5eb9cd 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
2005-03-18 04:13:05 +00:00
bmlk@gmx.de
d3c13c061a 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 2005-03-12 10:46:53 +00:00
bmlk@gmx.de
c21afb3e3c 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 2005-03-11 19:21:23 +00:00
bmlk@gmx.de
a30a2ebf29 - 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
2005-03-03 18:04:38 +00:00
bzbarsky@mit.edu
4e7d622f0e 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
2005-02-28 02:32:57 +00:00
bryner@brianryner.com
0438daee7c Remove nsIXBLBinding (bug 194834). r+sr=bzbarsky. 2005-02-25 22:07:01 +00:00
bmlk@gmx.de
6f0cbaa2a1 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 2005-02-23 05:14:55 +00:00
tor@cs.brown.edu
f781b10238 Bug 258511 - preference to disable native SVG support. r=bzbarsky, sr=roc 2005-02-21 18:11:18 +00:00
bryner@brianryner.com
bacbb2f362 Guarantee that a document's binding manager is non-null. Bug 282792, r+sr=bzbarsky. 2005-02-19 10:31:27 +00:00
bzbarsky@mit.edu
0de74a939f 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
2005-02-18 16:11:53 +00:00
bzbarsky@mit.edu
fd8f624595 Remove unnecessary prescontext args on some nsLayoutUtils methods. Bug 281767,
r+sr=roc
2005-02-18 06:06:47 +00:00
bmlk@gmx.de
a71f991823 allow only columns as colgroup children, and prevent column children bug=280618 r/sr=bzbarsky a=asa 2005-02-13 07:43:22 +00:00
roc+@cs.cmu.edu
03c9b8cc74 Bug 277420. Use ConstructBlock when creating scrolled and absolutely positioned blocks. Removes copied code and makes columns work in such situations. r+sr=bzbarsky 2005-02-08 02:15:26 +00:00
bzbarsky@mit.edu
83d699eccc Move reflow command construction into nsPresShell::AppendReflowCommand, remove
some members, switch some callers to the non-COM-ish apis.  Bug 267085, r+sr=rbs
2005-02-08 00:59:52 +00:00
bzbarsky@mit.edu
9e69ad849c 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
2005-02-07 01:58:25 +00:00
bzbarsky@mit.edu
39ec841e5d Move pseudo-frame handling into CreateAnonymousFrames, sort of like what we
have in ProcessChildren.  Bug 280708, r=bernd, sr=roc
2005-02-03 18:40:01 +00:00
bzbarsky@mit.edu
72f78b127e Fix frame tree mangling when a combobox is inside a pseudo-cell. Bug 275746,
r=bernd, sr=roc
2005-02-01 21:01:31 +00:00
bzbarsky@mit.edu
f89682413c Fix insertion of content into blocks with first-letter styles to put the frames
in the right place.  Bug 277686, r+sr=dbaron
2005-02-01 18:46:35 +00:00
bzbarsky@mit.edu
950bdab591 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
2005-01-27 21:17:08 +00:00
roc+@cs.cmu.edu
6854bd6a48 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 2005-01-27 20:49:47 +00:00
roc+@cs.cmu.edu
a37b87edd7 Bug 277421. Make absolutely-positioned frame construction use ConstructBlock; removed redundant code and enables abs-pos elements with columns. r+sr=bzbarsky 2005-01-25 22:17:59 +00:00
bzbarsky@mit.edu
b26168926f Fixing some bustage from bug 269566 -- I got the order of args to
nsINodeInfo::Equals() wrong. r=sicking
2005-01-25 21:15:21 +00:00
tor@cs.brown.edu
ad25976c22 Bug 193825 - <svg:clipPath> implementation.
r=scooter, sr=dbaron for shared moz files.
2005-01-25 03:55:03 +00:00
bzbarsky@mit.edu
454e694ac4 Hoist pseudo-frame handling up so it happens for all frames. Fixes crashes bug
269566 and bug 275625.  r=bernd, sr=dbaron
2005-01-24 22:51:20 +00:00
mrbkap@gmail.com
df380a3ca3 bug 71191: Cannot apply bindings on the root element in a document. r+sr=bzbarsky 2005-01-21 04:42:30 +00:00
bzbarsky@mit.edu
280ec994b9 Fix crash if insertion point has display:none. Bug 277523, r+sr=bryner 2005-01-20 19:54:06 +00:00
tor@cs.brown.edu
53733a65ce Bug 277034 - Large SVG documents don't display scrollbars. r+sr=roc. 2005-01-19 16:11:03 +00:00
neil@parkwaycc.co.uk
0ce0d4a0d3 Bug 276002 Change nsContenUtils::Get/FormatLocalizedString to use nsXPIDLString to save on nsAutoString copies r=dbaron sr=bryner 2005-01-18 23:46:59 +00:00
mats.palmgren@bredband.net
a2a064d95d Don't create page breaks when 'display:none'. b=277035 r+sr=dbaron 2005-01-16 15:30:37 +00:00
bryner@brianryner.com
886bf3d4a8 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. 2005-01-14 23:12:20 +00:00
bryner@brianryner.com
c4c10dcf35 Remove nsIHTMLContent interface (bug 276959). r+sr=jst. 2005-01-12 19:45:38 +00:00
tor@cs.brown.edu
6e6ddb4872 Bug 277034 - large svg documents don't display scrollbars. r+sr=bzbarsky 2005-01-05 05:49:35 +00:00
bzbarsky@mit.edu
61b8b3aab9 Remove incorrect code that unnecessarily pushes pseudo-frame state and causes
frames to be lost.  Bug 271422, r=bernd, sr=roc
2005-01-03 23:39:38 +00:00
bzbarsky@mit.edu
676f03a288 Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst. 2005-01-03 22:51:17 +00:00
mats.palmgren@bredband.net
280692a03e Swap the order between the legend and area frames in a fieldset to fix selection and tabbing problems. b=236071 r+sr=bzbarsky 2005-01-02 14:30:24 +00:00
bugzilla@arlen.demon.co.uk
3238ab2753 Bug 270708 remove nsPresContext variable from AttributeChanged and cleaned up comment in nsIFrame.h
p=bugmail@q1n.org r=pkwarren sr=bzbarsky
2004-12-31 01:13:27 +00:00
cbiesinger@web.de
c5bcfd8cfb 263671 make nsStyleUserInterface::CalcDifference return correct style hints if
more than one property differs. also handle dynamic cursor changes correctly.
r+sr=bz
2004-12-28 13:48:25 +00:00
bmlk@gmx.de
41f5707186 dont take colgroup pseudoframes into account when creating row- or rowgroup pseudo frames bug 267725 p=basic@mozillanews.org r=bernd sr=bzbarsky 2004-12-24 07:35:33 +00:00
dbaron@dbaron.org
2e5409d68e Fix misspellings of 'pseudo' in comments. Bug 106386. Patch by Alex Vincent <ajvincent@gmail.com>. r=timeless sr=peterv 2004-12-19 21:45:51 +00:00
tor@cs.brown.edu
d4317eae9c Bug 216568 - <svg:image> implementation. r=pavlov 2004-12-17 23:45:30 +00:00
dbaron@dbaron.org
1496ebd8f5 Remove nsFormControlHelper::GetLocalizedString, improve string bundle methods in nsContentUtils, and convert callers. b=273829 r+sr=bryner 2004-12-17 20:40:48 +00:00
bryner@brianryner.com
fe246a43b0 deCOMtaminate nsIContent::GetNameSpaceID. Bug 272079, r+sr=jst 2004-12-13 04:14:28 +00:00
tor@cs.brown.edu
6b90fd9660 Bug 238050 - implement SVG markers. r=scooter, moz common files sr=dbaron 2004-12-09 03:16:15 +00:00
roc+@cs.cmu.edu
8a3c12be5b Bug 266890. Remove nsScrollPortFrame since it's the only subclass of nsScrollBoxFrame, just merge everything up to nsScrollBoxFrame. r+sr=bryner 2004-12-07 03:42:00 +00:00
bmlk@gmx.de
2f77e67c6b switch the frame sorting from the frame constructor to the table frame + a couple of build warning fixes, bug 269648, r/sr=bzbarsky 2004-12-01 18:47:34 +00:00
mats.palmgren@bredband.net
910d2251b8 Look for ::first-letter frames in relative positioned inlines too. b=264799 r=bzbarsky sr=dbaron 2004-11-26 20:39:30 +00:00
neil@parkwaycc.co.uk
954ec4a8a9 Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc 2004-11-24 00:19:21 +00:00
tor@cs.brown.edu
d238489af0 Bug 237020 - use/symbol implementation. r=jwatt, shared moz files sr=roc. 2004-11-23 13:51:57 +00:00
bryner@brianryner.com
f91749fca0 Full fix for xtf Tp regression -- avoid QI'ing non-XTF elements in CreateAnonymousFrames. Bug 270136, r+sr=bzbarsky 2004-11-16 18:07:13 +00:00