Commit graph

1451 commits

Author SHA1 Message Date
dbaron%dbaron.org
b04f7cdf5d Allow display:inline-block to be used on :before and :after. b=368622 r+sr=bzbarsky 2007-02-02 06:13:37 +00:00
cvshook%sicking.cc
a39ff30284 Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 2007-01-30 00:06:41 +00:00
dbaron%dbaron.org
8aa8179fe6 Make inline-blocks support 'overflow', and add some useful methods to nsStyleDisplay. b=367247 r+sr=bzbarsky 2007-01-27 18:44:24 +00:00
dbaron%dbaron.org
5cb78b8e99 Implement CSS display types inline-block and inline-table. b=9458, 18217 r+sr=bzbarsky 2007-01-27 18:36:57 +00:00
dbaron%dbaron.org
f12230e5d8 Make SVG foreignObject frames reflow roots, instead of their child, so that marking the child dirty still keeps the change constrained to the foreignObject. b=368101 r+sr=roc 2007-01-26 06:58:31 +00:00
dbaron%dbaron.org
c88c6e09b4 Reflow reflow roots and the child of SVG foreignObject with an unconstrained height to avoid triggering page/column breaking. b=366956 r+sr=roc 2007-01-25 02:01:07 +00:00
dbaron%dbaron.org
6e8088efdd Give inline-blocks NS_BLOCK_SPACE_MGR and NS_BLOCK_MARGIN_ROOT. b=367504 r+sr=roc 2007-01-23 03:53:46 +00:00
bzbarsky%mit.edu
ce77028296 Don't calculate stuff with dirty lists. Bug 367243, r=mats, sr=dbaron 2007-01-20 01:18:57 +00:00
roc+%cs.cmu.edu
f1c25b7d6a Bug 363813. When inserting frames into a list of out-of-flow frames, finding the correct position by comparing positions in the content tree doesn't always work, in particular when the frames are for anonymous content. So compare the positions of placeholders in the frame tree, which should always work (if we're careful). r+sr=dbaron 2007-01-17 22:48:24 +00:00
roc+%cs.cmu.edu
a1834f53d6 Bug 363813. Ensure that floating first-letter frames get inserted in the right place in the list of new floated items. r+sr=dbaron 2007-01-17 21:20:33 +00:00
bzbarsky%mit.edu
52aff8ddeb ConstructDocElementFrame can return null if the XBL hasn't loaded yet. Handle
that XBL loading later by changing how XBL triggers the frame construction and
making it possible to recreate the doc element hierarchy even if there is no
doc element frame.  Bug 366207, r=sicking, sr=roc
2007-01-13 03:32:31 +00:00
bmlk%gmx.de
7de994ed99 remove TableProcessChild, this creates a single codepath trough ProcessChildren for frame construction bug 243159 2. attempt r=rbs sr=bz 2007-01-03 07:18:54 +00:00
bmlk%gmx.de
369915f58b backout of bug 243159, rtest is necessary before checkin 2006-12-29 11:27:31 +00:00
bmlk%gmx.de
9c44055868 remove TableProcessChild, this creates a single codepath trough ProcessChildren for frame construction bug 243159 r=rbs sr=bz 2006-12-27 14:00:12 +00:00
timeless%mozdev.org
4e651390ef Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
mats.palmgren%bredband.net
79090c0f4b Rename IsSplittable() to GetSplittableType(). b=349973 r+sr=bzbarsky 2006-12-20 03:52:34 +00:00
dbaron%dbaron.org
31f1898810 Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213. 2006-12-08 05:38:33 +00:00
mats.palmgren%bredband.net
8f631700e5 Fix a Print Preview crash. b=362708 r=bernd sr=roc 2006-12-08 03:44:11 +00:00
bzbarsky%mit.edu
a4c80af646 Make ReconstructDocElementHierarchy work correctly even if we first blew away a
pseudo which had the root as its content.  Bug 343293, r+sr=roc
2006-12-04 20:35:55 +00:00
cvshook%sicking.cc
9a006fd441 Bug 328468: Back out bug 323098 to fix mutations of xbl content. r/sr=bz 2006-11-29 23:17:53 +00:00
bzbarsky%mit.edu
b856b2c477 Back out bug 354600 to fix regressions. 2006-11-19 20:23:56 +00:00
bzbarsky%mit.edu
cbcaad14b4 Make block frames that are not kids of blocks automatically have space managers
(and margin roots, except in the columns case) so we don't have to play
whack-a-framestate-flag.  Bug 354600, r+sr=roc
2006-11-16 17:51:53 +00:00
bzbarsky%mit.edu
0b0dc9004f Make sure that first-lines with descendant views will be flagged appropriately.
Bug 291078, r+sr=roc
2006-11-13 21:46:12 +00:00
bzbarsky%mit.edu
84053a9abd When doing ContentRemoved, IndexOf() will always return -1. So don't use it.
Bug 360524, r+sr=roc
2006-11-13 21:27:44 +00:00
bzbarsky%mit.edu
1f7758c87c Walk out of all pseudos when doing a containing block reframe. Bug 336718,
r+sr=roc
2006-11-06 01:36:25 +00:00
bzbarsky%mit.edu
e374435e06 Reget our parent after blowing away letter frames. Bug 318592, r+sr=dbaron 2006-11-04 01:59:14 +00:00
bmlk%gmx.de
ca25e76f76 make sure that only captions go as a direct child of the outer table frame all other have to be a child of the inner table frame. bug 341858 patch by mats + my minor fixes found during sr r=me sr=bzbarsky 2006-10-28 09:43:06 +00:00
bzbarsky%mit.edu
5c1f73e2b5 Don't allow positioning or floating <mtable>. Bug 355993, r=bernd, sr=rbs 2006-10-10 14:44:34 +00:00
bzbarsky%mit.edu
493b90fbf3 Slightly improve handling of positioned kids of MathML. Bug 322625, r=rbs, sr=roc 2006-10-08 22:04:09 +00:00
Olli.Pettay%helsinki.fi
8f8a844353 Bug 355100, Remove XTF visuals (part I/II, not removing files), r=alex,bryner,aaronr,doronr sr=bz 2006-10-08 14:15:02 +00:00
aaronleventhal%moonset.net
5965dc9d5b Bug 354745. Show/hide events not fired for layout changes in a changelist. r+sr=bz 2006-10-05 13:35:23 +00:00
rbs%maths.uq.edu.au
0f1a6bdd06 <mathml:mtd> with border-collapse <html:table> crashes [@ nsRuleNode::GetStyleData] [@ nsCachedStyleData::GetStyleData], b=354766, r=bernd, sr=bzbarsky 2006-09-29 17:40:21 +00:00
bzbarsky%mit.edu
043763b6de More flag whack-a-mole. Bug 354489, r+sr=rbs 2006-09-28 01:15:22 +00:00
bzbarsky%mit.edu
34a3a58730 Make the block part of an {ib} split have a space manager if it needs to. Bug
354133, r+sr=roc
2006-09-27 02:02:22 +00:00
timeless%mozdev.org
853659bfc5 Bug 354183 stop including nsTableCellFrame.h
r=bz sr=bz
2006-09-26 11:01:28 +00:00
bzbarsky%mit.edu
d3746e7b46 Fix bug 354144 -- absolute positioning against the ICB is broken. r+sr=roc 2006-09-25 22:33:01 +00:00
bzbarsky%mit.edu
9285763f20 Disallow most MathML from floating or being positioned (<math> is the one
exception).  Bug 353897, r+sr=rbs
2006-09-25 03:36:23 +00:00
bzbarsky%mit.edu
478008d9f6 Don't return mInitialContainingBlock if we find no absolute containing block.
That can Just Happen.  Bug 330909, patch by bernd, r+sr=roc
2006-09-24 21:20:32 +00:00
timeless%mozdev.org
610243d09d Bug 351688 nsCSSFrameConstructor::ContentRemoved has a hopefully useless DEBUG oversafe null check of parentFrame
r=mats.palmgren sr=bz
2006-09-16 23:01:12 +00:00
bzbarsky%mit.edu
855ac3bf2e Allow generated content (:before/:after) for fieldsets. Bug 339289, r+sr=dbaron 2006-09-14 00:51:16 +00:00
bmlk%gmx.de
fc928f9cd2 use table display type for decision about the documentElement only if the frame creation is not tag based bug 340945 r/sr=bzbarsky 2006-09-11 18:09:16 +00:00
tor%cs.brown.edu
5f9199a263 Bug 350059 Allow cairo.h usage in nsSVGUtils.h. r+sr=roc 2006-09-11 15:26:19 +00:00
bzbarsky%mit.edu
1a03ce4f8a Comment change to point to the bug that covers the issue 2006-09-10 23:23:31 +00:00
longsonr%gmail.com
28dcfe891e Bug 351297 - textPath elements must have text element parents r=tor,sr=roc 2006-09-08 12:27:27 +00:00
rbs%maths.uq.edu.au
1e16edc901 Reposition HasAttributeDependentStyle() to follow AttributeChanged() to give a chance to the latter to do something that gets picked up by the former, b=350002, r=bzbarsky, sr=dbaron 2006-09-03 22:49:33 +00:00
bzbarsky%mit.edu
9a8f99c3bb Put back the isReplaced setting that should not have gone away. Bug 349921,
caught by dbaron.
2006-08-30 20:41:00 +00:00
bzbarsky%mit.edu
f5928e255b The right bustage fix. Still bug 349921 2006-08-30 18:43:41 +00:00
bzbarsky%mit.edu
432b5c8cce Fix build bustage for --disable-xul. Bug 349921 2006-08-30 18:04:27 +00:00
bzbarsky%mit.edu
724ccdb167 Make popups that are kids of the root popup set have it as their parent;
generally make them more like other out-of-flows.  Remove various code that
worked around them being different.  Bug 349921, r+sr=roc
2006-08-29 22:20:41 +00:00
timeless%mozdev.org
97d86b0df2 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-08-28 20:12:37 +00:00
mats.palmgren%bredband.net
fd99ce03ed 1. Make scroll frames non-splittable.
2. Make a placeholder splittable only if the out-of-flow is.
3. If a float placeholder is not splittable then place it immediately
   instead of failing to reflow it because it can't be split.
b=337419 (Patch B) r+sr=roc
2006-08-24 05:22:16 +00:00
mats.palmgren%bredband.net
4222509024 Fix an "ASSERTION: same old and new parent frame". b=348708 r+sr=bzbarsky 2006-08-22 02:29:24 +00:00
mats.palmgren%bredband.net
02eaae11b6 Improve error handling in nsCSSFrameConstructor::CreateContinuingFrame() and its callers. b=337419 r+sr=roc 2006-08-22 01:33:46 +00:00
mats.palmgren%bredband.net
ed6210be3f Leave the placeholder's pointer to the out-of-flow intact because the float cache depends on it later on. b=348688 r=bzbarsky sr=roc 2006-08-17 13:15:26 +00:00
bzbarsky%mit.edu
6298f2930d Don't clobber the parentFrame we need to recover letter frames on. Bug 348729, r+sr=roc 2006-08-15 22:26:02 +00:00
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
cvshook%sicking.cc
64a0fbd45f Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz
2005-10-28 11:25:24 +00:00
bzbarsky%mit.edu
0d5a3e6aa7 Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst
2005-10-27 02:25:23 +00:00
roc+%cs.cmu.edu
680ffaad50 Bug 313817. DeCOMtaminate a bunch of NS_New*Frame functions. patch by Marc Liddell, r+sr=roc 2005-10-26 21:46:39 +00:00
roc+%cs.cmu.edu
4ee1e637be Bug 313086. Fall-back path to delete absolute and floating frames if they're not found in the usual child list ... they may have been placed in the normal child list because no container was found. r+sr=bzbarsky 2005-10-20 19:20:34 +00:00
bzbarsky%mit.edu
0d1e336c9a Try fixing bug 288064 again. r=biesi, sr=dbaron 2005-10-17 00:50:39 +00:00
bzbarsky%mit.edu
3a58eba127 Fix bug 311615 -- don't reframe the containing block if a current inline is
being reframed.  r+sr=roc
2005-10-16 15:25:36 +00:00
bzbarsky%mit.edu
432cc819a8 Fix WipeContainingBlock() to work in more cases. Bug 291902, bug 296086, bug
285964, bug 310933, r+sr=dbaron
2005-10-16 15:21:05 +00:00
dbaron%dbaron.org
28fed71fa8 Make captions process children normally so that whitespace-only text frames get constructed. b=311822 r=bernd sr=roc 2005-10-15 05:19:30 +00:00
bmlk%gmx.de
aa98fada26 Table foreign frames need to be wrapped into pseudo frames reagrdless of their namespace. bug 311661 r/sr=bzbarsky 2005-10-12 13:35:17 +00:00
bzbarsky%mit.edu
33125a0a6f Do nothing if styles are flushed when we have no pending restyles. Bug 311546,
r+sr=dbaron
2005-10-09 18:24:50 +00:00
bzbarsky%mit.edu
1e877334ed Make IsSpecialHTMLContent happier with images and objects. Bug 310662, r=bernd, sr=dbaron 2005-10-04 23:56:14 +00:00
bzbarsky%mit.edu
79185165c1 Backing out bug 288064 because of the Tp hit. 2005-10-01 01:35:56 +00:00
bzbarsky%mit.edu
7a5cbee6e9 Implement a LOADING state, have a :-moz-loading selector to match on it, use it
for images.  Bug 288064, r=biesi, sr=dbaron
2005-10-01 00:34:03 +00:00
roc+%cs.cmu.edu
9a19c5a42d Bug 307076. Don't use any table-related frame as an abs-pos containing block. r+sr=bzbarsky 2005-09-30 21:43:55 +00:00
bzbarsky%mit.edu
6555099b06 Keep quote and counter recalculation from reentering itself. Bug 310006, r+sr=dbaron 2005-09-26 14:35:23 +00:00
bzbarsky%mit.edu
bdd0e13912 Make sure to flush out the content model before processing restyles; otherwise
we can end up with odd content duplication.  Bug 309986, r+sr=dbaron
2005-09-26 01:27:42 +00:00
peterv%propagandism.org
3609c87767 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-24 18:43:15 +00:00
bzbarsky%mit.edu
b2c9978aed Fix nsCSSFrameConstructor::ContentRemoved to properly deal with out-of-flows
whose placeholders are in an insertion point.  Bug 288790, r+sr=dbaron
2005-09-23 14:48:08 +00:00
bzbarsky%mit.edu
83ee9724b1 Remove an extra view update batch that's not needed. Bug 309114, r+sr=roc 2005-09-23 14:45:36 +00:00
cbiesinger%web.de
7002686d0d bug 1156
- Make object frames have no children
  - Make the frame constructor construct a subdocumentframe, object frame or
    image frame as appropriate
- start the load of <applet>, <embed> and <object> in content code
- fallback to alternate rendering correctly

NOTE: This checkin will break the plugin finder. This will be fixed soon.

r+sr=bz
2005-09-21 19:14:30 +00:00
mats.palmgren%bredband.net
e185cf6234 Move the floats we reparent in AdjustFloatParentPtrs() to the "inner" state so that they end up in the right containing block. b=307277 r+sr=bzbarsky 2005-09-20 23:00:27 +00:00
dbaron%dbaron.org
85b6b17628 Attempt to follow the SVG spec rules on where SVG elements should be ignored. b=306915 r=tor sr=bzbarsky 2005-09-19 19:55:31 +00:00
bzbarsky%mit.edu
608088a431 Implement :-moz-broken, :-moz-user-disabled, and :-moz-suppressed
pseudo-classes to allow styling of broken/blocked/disabled images, applets,
objects, embeds.  Bug 11011, r=biesi and roc, sr=dbaron
2005-09-18 18:05:40 +00:00
scootermorris%comcast.net
31c2f50383 Bug 294517 -- implement SVG Patterns
r=tor
2005-09-13 22:38:36 +00:00
peterv%propagandism.org
85b8cff6bc Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz. 2005-09-11 17:15:08 +00:00
peterv%propagandism.org
efa08d1916 Back out fix for bug 251025 to fix bustage. 2005-09-11 15:42:31 +00:00
peterv%propagandism.org
86ca4e41cc Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz. 2005-09-11 15:05:31 +00:00
bzbarsky%mit.edu
cf64715ae5 Remove the pointless nsIContent arg of nsIFrame::AttributeChanged. Bug 281390,
patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r+sr=bzbarsky
2005-09-07 16:49:21 +00:00
tor%cs.brown.edu
36c76bbadd Bug 301234 - implement subset of SVG filters. r=scooter 2005-09-06 22:30:40 +00:00
roc+%cs.cmu.edu
f246fa2bbd Bug 280987. Remove aPresContext from nsIFrameDebug::List. r+sr=roc, patch by Vidar Braut Harr. 2005-09-06 21:34:50 +00:00
bzbarsky%mit.edu
0cfd6a71ca Make addition or removal of frames in a frameset actually change the
rendering.  Bug 306660, r=jst, sr=roc
2005-09-06 02:14:36 +00:00
tor%cs.brown.edu
b69ab62c9b Bug 294519 - should behave the same when SVG not built, SVG pref
disabled, or no SVG renderer present.  r=dbaron, a=asa
2005-09-05 20:41:57 +00:00
bzbarsky%mit.edu
e9f389b855 Fix assertion bug 303006, r+sr=dbaron 2005-08-30 02:36:47 +00:00
bmlk%gmx.de
6ac1df1e9e code share GetCaptionAdjustedParent between AdjustCaptionParentFrame, bug 289936 r/sr=bzbarsky 2005-08-27 18:30:36 +00:00
tor%cs.brown.edu
ec5069804e Bug 282579 - Implement <svg:textPath>. As a side effect, this removes
the gdi+ text highlighting code.  r=afri
2005-08-26 02:49:52 +00:00
bzbarsky%mit.edu
0d6a610963 Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
roc+%cs.cmu.edu
5f5a889ef5 Bug 286491. Recreate the entire IB-split complex if the child of an IB-special frame is recreated, because the structure of the IB split may be changing. r+sr=bzbarsky 2005-08-21 23:56:40 +00:00
bzbarsky%mit.edu
8e208eced1 Make frames know whether they're leaves or not from the frame construction
point of view; use this in the frame constructor.  Bug 265367, r+sr=dbaron
2005-08-16 22:52:48 +00:00
roc+%cs.cmu.edu
1928c9208a Bug 289377, cleanup nsCSSFrameConstructor a tad. r+sr=bzbarsky 2005-08-16 21:35:58 +00:00
bzbarsky%mit.edu
effc480bfc Fix counter numbering when counters are set on the inline in an {ib} split.
Bug 296083, r+sr=dbaron, a=asa
2005-07-07 17:12:31 +00:00
tor%cs.brown.edu
b393f00121 Bug 296626 - handle SVG glyph frames being constructed in invalid
context.  r=dbaron, sr=roc, a=brendan.
2005-07-01 06:11:07 +00:00
mats.palmgren%bredband.net
4c0c7f56ae Make GetFieldSetAreaFrame() handle a null first child. b=299188 r+sr=dbaron a=benjamin 2005-06-30 20:31:40 +00:00
roc+%cs.cmu.edu
41bf2924b1 Bug 288438. Turn off SVG <foreignobject> because it's pretty broken. r=benjamin,sr=dbaron,a=benjamin,patch by jwatt,tor and roc 2005-06-29 03:51:44 +00:00
mats.palmgren%bredband.net
83fbd87d2d Add GetFieldSetAreaFrame() for accessing the area frame child of a fieldset frame. b=294717 r+sr=dbaron a=chofmann 2005-06-28 21:21:03 +00:00
roc+%cs.cmu.edu
26ce4cd8a3 Bug 297537. Line layout should not set an available-height constraint on the inline frames, because they can't break vertically ... and it certainly shouldn't set the constraint based on the band dimensions. Fixes Gmail rich text toolbar layout issue. r+sr=dbaron,a=asa 2005-06-17 02:46:36 +00:00