Commit graph

1296 commits

Author SHA1 Message Date
bzbarsky%mit.edu
cf38ea433c Use the right insertion frame for insertion points. Bug 348049, r+sr=roc 2006-08-15 01:37:52 +00:00
uriber%gmail.com
3af6592be5 Reparent view list when inserting a new frame after a :before pseudo-element. bug=343540 r+sr=roc 2006-08-14 11:10:58 +00:00
rbs%maths.uq.edu.au
21ece0d080 Frames from dynamic MathML table children are not made with the right creator, b=348153, r+sr=bzbarsky 2006-08-14 07:44:13 +00:00
rbs%maths.uq.edu.au
afc24d0ecd 'Pseudo' frames from <mtd> and <mtr>outside <mtable> were not added to the flow, and thus were not destroyed at tear down, b=347355, r+sr=bzbarsky 2006-08-12 07:46:29 +00:00
Olli.Pettay%helsinki.fi
ecb4b6158f Bug 347836, Add static method to get nsIRootBox, r+sr=roc 2006-08-08 10:40:11 +00:00
longsonr%gmail.com
073529ec03 Bug 345418 - ASSERTION: trying to construct an SVGTSpanFrame for an invalid container. r+sr=roc 2006-08-08 10:00:55 +00:00
cvshook%sicking.cc
3a9a287253 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst 2006-07-19 04:36:36 +00:00
uriber%gmail.com
9a0575887a Make sure that we're inserting the new frame after the last continuation of the :before pseudo-element. bug=343540 r+sr=roc 2006-07-05 05:38:10 +00:00
mats.palmgren%bredband.net
cde65ad7de Block-level replaced element margin box must not overlap any floats. b=342531 r+sr=dbaron 2006-07-05 03:53:22 +00:00
mats.palmgren%bredband.net
153ab238ca Fix crash when recreating <caption> frames. Add ASSERTIONs to detect similar frame construction errors in the future. b=341382 r+sr=bzbarsky 2006-06-29 02:32:36 +00:00
longsonr%gmail.com
bea6a3f15c Bug 341638 - Rationalise nsSVGTextFrame, nsSVGTextPathFrame and nsSVGTSpanFrame. r=tor,sr=roc 2006-06-28 15:23:40 +00:00
tor%cs.brown.edu
3f9980a5fd Bug 342200 - Remove nsSVGPathGeometryFrame subclasses. r+sr=roc 2006-06-21 15:42:28 +00:00
roc+%cs.cmu.edu
f56a5cbd3a Bug 288357. Force abs-pos frames to always take the first-in-flow abs-pos container as their container. This prevents confusion when placeholders move across next-in-flow boundaries. r+sr=dbaron 2006-06-20 21:10:02 +00:00
roc+%cs.cmu.edu
9c2da8d1b9 Bug 341695. Never look at the mRect coordinates of SVG foreignobject frames, SVG uses them for other things. r+sr=tor 2006-06-19 22:06:41 +00:00
tor%cs.brown.edu
f3f0c36d26 Bug 340083 - crash with geometry inside desc/title. r+sr=roc 2006-06-09 21:06:35 +00:00
roc+%cs.cmu.edu
fe1409e73e Bug 331432. Split nsSVGForeignObjectFrame into a pure SVG frame containing an anonymous block child, to avoid state bit collisions and simplify things. Also fixes configure.in so that foreignObject is really enabled by default in cairo builds. r=tor,sr=bzbarsky 2006-06-06 23:13:15 +00:00
mats.palmgren%bredband.net
cb73b1734e Don't warn (in a debug build) when ALT attr is missing in markup. b=339281 r+sr=bzbarsky 2006-06-03 19:24:05 +00:00
tor%cs.brown.edu
58e849699b Bug 338301 - cleanup of svg container frame inheritance and code
duplication, plus removal of nsISVGContainerFrame.  r+sr=roc
2006-06-01 15:31:15 +00:00
leon.sha%sun.com
fd319d7c22 Bugzilla Bug 336999 Crash involving XUL menus, position: fixed, position: absolute [@ nsIFrame::GetNextSibling] [@ nsCSSFrameConstructor::FindFrameWithContent].
Patch by alfred.peng@sun.com.
neil: review+
bzbarsky: superreview+
2006-05-25 03:52:52 +00:00
bmlk%gmx.de
5c43019aa0 remove crash prone from hack from frame construction and replace it with a hardcoded style rule bug 285727 r/sr=bzbarsky 2006-05-14 13:34:32 +00:00
darin%meer.net
0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
cvshook%sicking.cc
d3ec0aa5c5 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
bmlk%gmx.de
c23a3816c4 use a pseudoframe as a parent only when it has children, bug 336291 r/sr=bzbarsky 2006-05-04 18:26:43 +00:00
leon.sha%sun.com
0960e6fd1d Bug 333896
Convert GetAttr calls to AttrValueIs and FindAttrValueIn.
Patch by alfred.peng@sun.com.
roc: review+
roc: superreview+
2006-04-24 05:40:11 +00:00
bmlk%gmx.de
0e195e4873 make pseudo rowgroups and colgroups only siblings if their parent is not a pseudo bug 333493 r/sr=bzbarsky 2006-04-22 10:53:20 +00:00
bmlk%gmx.de
af5c1bb26c pseudo rowgroups might be wrapped in a scrollframe, bug 331679 r/sr=bzbarsky 2006-04-22 10:28:13 +00:00
jag%tty.nl
8221d97ee5 Bug 334829: FindFrameWithContent() can't find certain frames
If the hint frame's location in the frame tree doesn't match its element's location in the content tree, the hint is useless, and we don't correctly reboot the search without the hint. Add a flag to make the reboot work.
Patch courtesy of Danger Inc., r=dbaron, sr=bzbarsky
2006-04-21 11:13:41 +00:00
sharparrow1%yahoo.com
0ea57e0c06 Bug 334547: get rid of scrollframe code which never executes. r+sr=roc. 2006-04-20 03:22:48 +00:00
bzbarsky%mit.edu
bccc7549d5 Only parse those XUL display styles that we can actually construct. Bug
312120, r+sr=dbaron
2006-04-19 15:10:50 +00:00
dbaron%dbaron.org
637a3c6242 Add assertions to verify no-reentry invariants in layout. b=310985 r+sr=bzbarsky 2006-04-18 05:44:02 +00:00
bzbarsky%mit.edu
bf69a1d4b9 Unregister our placeholder before destroying it. Bug 316267, r+sr=dbaron 2006-04-17 01:40:14 +00:00
mrbkap%gmail.com
e65511e9c6 [BeOS]Bug 322051, restructuring nsWindow code, patch by thesuckiestemail@yahoo.se r=sergei_d 2006-04-11 20:44:17 +00:00
sharparrow1%yahoo.com
3b62c93943 Bug 332927: Cleanup iframe/frame printing code (and a couple other misc. cleanups) 2006-04-11 01:48:48 +00:00
martijn.martijn%gmail.com
198842fdb0 Bug 332499 - Misplaced listbox for floated select, patch by Marc Liddell, r+sr=roc 2006-04-11 01:18:41 +00:00
roc+%cs.cmu.edu
a7f03736a9 Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc 2006-04-10 00:16:29 +00:00
bmlk%gmx.de
f8a57076f6 make sure that we process colgroup and rowgroup pseudos in parallel, otherwise we would lose one of them 325984 r/sr=bzbarsky 2006-04-08 06:10:39 +00:00
bzbarsky%mit.edu
ec698d2d3d Make ReconstructDocElementHierarchy not assume bogus things about the frame
tree.  Bug 330903, r+sr=roc
2006-04-03 15:52:08 +00:00
sharparrow1%yahoo.com
dc0d45c95e Bug 244055: Page layout for editor. There is no UI yet, and caret display is buggy at the moment, but otherwise it works. Patch by Alexandre Tr�mon, r+sr=roc. 2006-04-01 01:19:28 +00:00
dbaron%dbaron.org
5dcd0b1309 One-line descriptions of files, partly because they show up in LXR. 2006-03-30 05:56:38 +00:00
roc+%cs.cmu.edu
0a10a79f62 Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc 2006-03-26 21:30:36 +00:00
bmlk%gmx.de
6053d96eb2 also limit the table pseudo frame processing if colgroups are the limiting frame, bug 329900, r/sr=bzbarsky 2006-03-26 18:32:13 +00:00
bryner%brianryner.com
7a96206e10 Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst. 2006-03-22 18:36:36 +00:00
tor%cs.brown.edu
e74933beab Bug 328527 - make all SVG content special for frame constructor, use
leaf frame for filter leaves.  r=bzbarsky, sr=dbaron
2006-03-20 17:39:08 +00:00
bzbarsky%mit.edu
4b74ae14f8 Fix crash bug 322348 by making ReParentStyleContext more sane. r+sr=dbaron 2006-03-16 01:30:38 +00:00
dbaron%dbaron.org
c37d9a2cf3 Change our scrolling code so that it is capable of scrolling above and to the left of the viewport, and then use that capability for nsHTMLScrollFrames with RTL directionality. This removes the invariant that the child of a scrollframe (::scrolled-canvas canvas or ::scrolled-content block) will be stretched to fill the entire scrollable area and stops enforcing it, a change that's likely to cause some regressions not yet fixed within the patch. This also fixes directionality detection for the scrollframe holding the canvas (changing which side the scrollbar appears on) and fixes an old bug in the code that paints the focus ring around the canvas (so it's now again visible on all sides, even when the canvas is scrollable). b=192767 r+sr=roc 2006-03-15 16:55:19 +00:00
pavlov%pavlov.net
131e8794e2 backing out roc's patch for bug 328926 due to crash running tests on vc8 machines. 2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
557b089a47 Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc 2006-03-15 03:14:02 +00:00
bmlk%gmx.de
510fbf6ef1 Every frame where the frame construction is not controlled by
the display-type needs to be mentioned in IsSpecialContent, canvas in this case, bug 329692 r/sr=bzbarsky
2006-03-10 20:03:07 +00:00
roc+%cs.cmu.edu
c2801ebbd7 Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell 2006-03-09 18:55:21 +00:00
enndeakin%sympatico.ca
80f0e89dec Bug 327943, remove grippy frame, r=neil,sr=roc 2006-03-02 21:42:29 +00:00
roc+%cs.cmu.edu
1fac9c6d76 Backing out changes for bug 326944, really this time\! 2006-02-27 04:13:51 +00:00
roc+%cs.cmu.edu
b7126ee8e0 Bug 326944. Remove nsIComboboxControlFrame. r+sr=roc, patch by Marc Liddell 2006-02-27 02:33:26 +00:00
uriber%gmail.com
5ddf7d9318 Bug 327532: Content inserted before an element with a long (multi-line) ":before" text is inserted in the wrong place. r+sr=roc 2006-02-24 06:58:33 +00:00
uriber%gmail.com
c7032d59bb Bug 299065: Bidi resolution needs to split inlines in addition to text frames. r+sr=dbaron 2006-02-21 21:33:47 +00:00
bzbarsky%mit.edu
8792a10a40 Fix bug 326834 -- more care needed with listboxes. r+sr=roc 2006-02-12 21:37:45 +00:00
bmlk%gmx.de
a60a90fede don't reparent the col style context if the parent is anonymous colgroup bug326015 r/sr=bzbarsky 2006-02-11 11:26:57 +00:00
bzbarsky%mit.edu
c7b70e1ad2 Make sure to actually not construct frames, not just hand it off to someone
else.  Bug 326495, r=sicking, sr=tor
2006-02-10 20:54:13 +00:00
bzbarsky%mit.edu
f3a6acf9ec Improve our handling of reframes around {ib} splits when pseudos or XUL are involved.
Bug 322678, bug 325024, bug 325218.  r=mats, sr=roc
2006-02-09 04:16:06 +00:00
cbiesinger%web.de
c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
scootermorris%comcast.net
b09d7e40cc SVG Conditionals should work outside of <switch>. Bug 303018.
r=bugmail/sr=tor
2006-01-31 18:53:33 +00:00
bzbarsky%mit.edu
a8ab56ce86 Make the listbox box object deal better with the frame being destroyed and
change the tree box object the same way.  Bug 282105, bug 325045, bug 322513.
r=neil, sr=ben
2006-01-30 21:29:10 +00:00
cvshook%sicking.cc
ba00feff5e This assertion should have been removed as part of previous checkin. 2006-01-27 00:52:18 +00:00
cvshook%sicking.cc
50681711be Bug 310638: New better implementation of (Do)DeletingFrameSubtree. Patch by Mats Palmgren. r=bz sr=dbaron 2006-01-26 22:15:52 +00:00
cvshook%sicking.cc
f4db9498eb Bug 310436: Allow glyph frames as child of svg. r=tor sr=dbaron 2006-01-26 18:32:55 +00:00
cvshook%sicking.cc
366cc1d0ed Bug 317544: Disable floating inside mathml. r=bz sr=dbaron 2006-01-25 21:40:31 +00:00
cvshook%sicking.cc
be551afd02 Bug 310436: Implement IsFrameOfType and use that to disable non-svg frames from being children of svg frames. r=bz sr=dbaron 2006-01-25 21:16:12 +00:00
roc+%cs.cmu.edu
c91034f873 Bug 323946. nsFieldSetFrame doesn't need to support having a space manager. r+sr=dbaron 2006-01-22 23:20:56 +00:00
rbs%maths.uq.edu.au
03a32f07c9 <mspace> is a leaf frame. Don't create bogus child frames inside <mspace> having invalid markup with child content. b=323741, r+sr=roc 2006-01-21 02:46:19 +00:00
tor%cs.brown.edu
5cd5d59918 Bug 316764 - implement <mask> and fix <clipPath> for multiple
overlapping children.  r=scootermorris
2006-01-20 17:00:43 +00:00
roc+%cs.cmu.edu
a51474e56f Bug 309550. Margins should not collapse through fieldset boundaries. r+sr=dbaron 2006-01-19 18:44:09 +00:00
bzbarsky%mit.edu
d959ed77e6 Fieldsets have multiple insertion points because of the magic legend stuff.
Bug 317275, r+sr=dbaron
2006-01-19 03:48:46 +00:00
cvshook%sicking.cc
15c2397445 Bug 323910: Merge atom lists in gklayout
r/sr=jst
2006-01-19 00:58:12 +00:00
mats.palmgren%bredband.net
515b66524d Use the parent of the placeholder (not the out-of-flow) when looking for an in-flow frame that follows the hint frame. b=322688 r=roc sr=bzbarsky 2006-01-15 23:44:48 +00:00
bmlk%gmx.de
715dea1240 don't call ProcessChildren on leafframes, bug 51767, r/sr=bzbarsky 2006-01-15 19:10:14 +00:00
bmlk%gmx.de
e84cd27fac Avoid reframing inside button frames and move the frame creation entirely into the frame constructor, bug 51767, r=mats sr=roc 2006-01-13 07:58:12 +00:00
cvshook%sicking.cc
4ed25e675c Bug 323098: Fix inefficency in XBL insertion logic.
r/sr=bz
2006-01-12 05:45:38 +00:00
bzbarsky%mit.edu
71e963c9c7 Invalidate the canvas correctly when <body> and root nodes are added to or
removed from documents.  Bug 321751, r+sr=roc
2006-01-11 02:41:50 +00:00
bmlk%gmx.de
d2000fb2ba don't apply xul display types to tags that would normally cause tag based frame creation, bug 322185, r/sr = bzbarsky 2006-01-07 15:09:24 +00:00
mrbkap%gmail.com
4bad6f49dc bug 315752: Crashes and assertions happening in DoDeletingFrameSubtree when <select>s are in the air. The fix is to make DoCleanupFrameReferences clean up additional child lists. Patch by bzbarsky. r=roc/mats/mrbkap sr=roc 2005-12-20 02:06:14 +00:00
roc+%cs.cmu.edu
18647b7ec2 Bug 320337. Remove mFrameConstructor member from nsListBoxBodyFrame. patch by Vidar Harr, r+sr=roc 2005-12-16 02:56:36 +00:00
roc+%cs.cmu.edu
10d78ffbbe Bug 307419. Remove mPresContext from XUL frames. patch by Vidar Harr, r+sr=roc 2005-12-15 03:30:17 +00:00
bzbarsky%mit.edu
c2387fa022 Fix bug 306533 -- the first-letter can be in anonymous content. r+sr=roc 2005-12-12 15:48:37 +00:00
bzbarsky%mit.edu
4d079d9ac9 Handle XUL popups gracefully in non-XUL documents. Bug 306940, r+sr=roc 2005-12-08 22:04:06 +00:00
bzbarsky%mit.edu
92812b89e9 Use the right parent for floating first-letter frames. Bug 306534, r+sr=roc 2005-12-08 21:57:19 +00:00
bmlk%gmx.de
5663eeaaaa Do not prevent the creation of multiple captions, but display only the first one, bug 309322 r/sr=bzbarsky 2005-12-03 15:13:08 +00:00
bzbarsky%mit.edu
17a57ffafb Recover letter frames even if we didn't construct anything new. Bug 317961, r+sr=dbaron 2005-11-28 22:18:23 +00:00
bzbarsky%mit.edu
3d4cb98475 Get the right parent frame up front when dealing with :after content. Bug
317934, r+sr=roc
2005-11-28 22:09:08 +00:00
bzbarsky%mit.edu
349918dc42 Make sure to not process counter/quote changes during a restyle. Bug 317948,
r+sr=dbaron
2005-11-27 22:20:09 +00:00
timeless%mozdev.org
0e509aba60 Bug 106386 Correct misspellings in source code
r=dbaron rs=brendan
2005-11-23 05:22:38 +00:00
timeless%mozdev.org
1c34e68034 Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
roc+%cs.cmu.edu
28cfb5adfc Bug 313817. DeCOMtaminate SVG and MathML NS_New*Frame functions. r+sr=roc, patch by Marc Liddell. 2005-11-11 02:36:29 +00:00
bzbarsky%mit.edu
2b7fc1f0c9 Make all stylesheet changes do an async style reresolve, not a sync one. Bug
314776, r+sr=dbaron
2005-11-06 18:01:17 +00:00
bzbarsky%mit.edu
f64003e9da Consolidate the out-of-flow handling in ContentRemoved, using
GetChildListNameFor.  Also, replace various checks for display and floating
with a check for out-of-flow where relevant.  Bug 313181, r=roc, sr=dbaron
2005-11-04 23:56:54 +00:00
bzbarsky%mit.edu
213eab3d98 Change WipeContainingBlock to have a better definition of what it means for a
parent frame to be "inline", and remove checks for <select> around places that
called WipeContainingBlock.  Bug 314878, r+sr=dbaron
2005-11-04 23:43:01 +00:00
bzbarsky%mit.edu
27c439cb3c Remove the dummy frame stuff from selects. Replace it with smarter focus rect
painting and sizing for empty selects.  Bug 314879, r+sr=dbaron
2005-11-04 23:36:27 +00:00
roc+%cs.cmu.edu
520b30a7f7 Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell 2005-11-04 02:38:33 +00:00
neil%parkwaycc.co.uk
0eb7427fc2 Get default tooltip text more reliably b=147670 r=timeless sr=jst 2005-11-02 23:53:56 +00:00
bzbarsky%mit.edu
d44ad313ae Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst
2005-11-02 00:41:51 +00:00
bzbarsky%mit.edu
83bd8eee0c Don't try to reframe generated content for image state changes on it. Bug
313656, r=biesi, sr=dbaron
2005-11-02 00:00:20 +00:00
roc+%cs.cmu.edu
a5f65bfee7 Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell 2005-11-01 20:40:54 +00:00