Commit Graph

5077 Commits

Author SHA1 Message Date
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
bzbarsky%mit.edu
f96a096c2c Fix leak bug 324969 -- make sure to call virtual destructors. 2006-01-29 18:48:58 +00:00
bzbarsky%mit.edu
b4a900ee54 Fix bug 323028 -- don't set our mRequest until after the clone is done. r+sr=dbaron 2006-01-27 01:11:50 +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
bzbarsky%mit.edu
c91507ade8 Fixing more build bustage and warnings. Bug 317375 2006-01-26 05:14:30 +00:00
roc+%cs.cmu.edu
2ea2cb9c88 Fixing my bustage. 2006-01-26 03:33:38 +00:00
roc+%cs.cmu.edu
77bca74243 Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others 2006-01-26 02:29:17 +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
bmlk%gmx.de
6c6b9013a4 use scaledpixels to convert from CSS pixels to realword pixels bug=307367 r/sr=roc 2006-01-21 09:31:45 +00:00
bmlk%gmx.de
38c0053e5d remove some prescontexts bug 321907 r/sr=roc 2006-01-21 09:20:04 +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
cbiesinger%web.de
a2ee5eaae5 322725 don't assume that all elements with tagname object implement
nsIObjectLoadingContent
r=bryner sr=bz
2006-01-15 13:31:10 +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
bzbarsky%mit.edu
4392a55ac9 Fix bug 297801 by making removal and reinsertion of the root element less
magical.  r=peterv, sr=jst
2006-01-12 17:11:57 +00:00
timeless%mozdev.org
33cad8079d Bug 319854 Firefox crashes on redirect after Firefox-warning [@ DocumentViewerImpl::PermitUnload
r=jst sr=jst
2006-01-12 06:30:05 +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
cvshook%sicking.cc
7db01c8d27 Bug 321294: Remove unused ReplaceFrame codepaths.
r/sr=roc
2006-01-10 22:58:37 +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
mark%moxienet.com
7dbad1ac58 306959 Crash on trunk startup after running downrev version [@ PresShell::Destroy()]. Get event queue using accessor and check return status. r=bsmedberg sr=bzbarsky 2006-01-04 18:04:39 +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
roc+%cs.cmu.edu
b65c655ed9 Bug 254755. deCOMtaminate nsIFormControlFrame. patch by jpl24, r+sr=roc 2005-12-12 23:53:06 +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
neil%parkwaycc.co.uk
ed906ab7d1 Bug 318128 Fix abuse of the CSS loader as a service r=bsmedberg sr=bz 2005-12-09 11:10:36 +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
roc+%cs.cmu.edu
a710fcd15d Bug 316281. Rework GetContentAndOffsetsFromPoint. r=uriber,sr=roc,patch by Eli Friedman 2005-12-07 23:08:39 +00:00
bzbarsky%mit.edu
8fa76d37ac Don't store the "normal" frame state for the root scrollframe, for now. Bug
318709, r+sr=roc
2005-12-06 23:56:17 +00:00
bzbarsky%mit.edu
878caa3f68 Clear the prescontext property table when we tear down the frame tree so that
we don't try to destroy frames after the arena they come from has been
deallocated.  Bug 317855, r+sr=roc
2005-12-06 04:53:03 +00:00
roc+%cs.cmu.edu
a20b3fc911 Bug 319115. Move nsTextFrame interfaces around so nsTextFrame.h can go away. Preparation for forking nsTextFrame. patch by Stephen Blackheath, r+sr=roc 2005-12-06 00:32:52 +00:00
bmlk%gmx.de
4bb63a9880 don't allocate nsDirectionalFrame on heap, bug 315321 patch by Marc Liddell r=roc sr=dbaron 2005-12-03 15:44:43 +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
cbiesinger%web.de
3c23130790 Bug #315841 don't flush frames in order to ensure that plugins are instantiated.
also, don't flush when inside of ObjectURIChanged
r+sr=bz
2005-12-03 11:27:42 +00:00
dbaron%dbaron.org
f2a37733b9 Make wrapper preservation (the mechanism that makes the GC use reachability information between certain C++ objects rather than rooting at language boundaries) use an interface (nsIDOMGCParticipant) to get reachability information. Preserve the wrappers for event handlers as long as what they are attached to is reachable (from C++ or JS) to avoid entraining event handler closures in cycles. b=241518 r=mrbkap sr=jst 2005-12-03 07:42:40 +00:00
neil%parkwaycc.co.uk
0d29adadea Bug 317937 Get rid of some unnecessary CIDs and change some possibly unsafe nsCOMPtr usage into the equivalently unsafe static casts r=darin sr=jst 2005-12-02 12:02:44 +00:00
jst%mozilla.jstenback.com
7223904a81 Fixing bug 318461. Move SetNewDocument() and SetOpenerWindow() from nsIScriptGlobalObject to nsPIDOMWindow to clean out non-script related methods form the nsIScriptGlobalObject interface. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2005-12-01 19:35:27 +00:00
mrbkap%gmail.com
1789e54d33 bug 317370: Remove the vestigial aRemoveEventListeners parameter to SetNewDocument. r+sr=jst 2005-11-30 23:41:49 +00:00
masayuki%d-toybox.com
a3cbff90e5 Bug 310124 Double border is incorrectly compressed when rendered; regression. original idea by Takeshi Ichimaru <ayakawa.m@gmail.com> r+sr=roc 2005-11-30 13:26:34 +00:00
masayuki%d-toybox.com
9d37be9072 Oops, currently the Tree is closed, backing out previous check-in. b=310124 2005-11-29 05:52:19 +00:00
masayuki%d-toybox.com
19961cae2c Bug 310124 Double border is incorrectly compressed when rendered; regression. original idea by Takeshi Ichimaru <ayakawa.m@gmail.com> r+sr=roc 2005-11-29 05:33:59 +00:00
jst%mozilla.jstenback.com
8f1863159b Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2005-11-28 23:56:44 +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
bmlk%gmx.de
bd11d3afb7 fix oversight, the function can be called with a null pointer, bug 316821 r/sr=roc 2005-11-17 21:24:05 +00:00
smontagu%smontagu.org
d999b33cff Bug 305798: Bidi: After deleting last character of reverse-direction text, arrow keys move caret incorrectly. Patch by Uri Bernstein <uriber@gmail.com, r=smontagu, sr=roc 2005-11-16 09:37:01 +00:00
dbaron%dbaron.org
3c95294952 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin 2005-11-14 20:09:51 +00:00
smontagu%smontagu.org
0a9e2a3d0e Reflow when Bidi options are changed. Bug 80352, r+sr=bzbarsky 2005-11-13 09:55:09 +00:00
bsmedberg%covad.net
78f6d0683d Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +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
mark%moxienet.com
045ce7774f Bug 311399, Crash [@ SetOrigin] during rendering context destruction. Remove QD save/restore from rendering context, it was placed there as a workaround for scrollbar functional and aesthetic bugs. Add OS event handler to fix aesthetic problems, and check for bad states to work around functional problems. r=josh sr=smfr 2005-11-10 03:46:52 +00:00
bzbarsky%mit.edu
06dc79df0f Move the document's bidi state to actually live on the document, and remove
dependencies on nsPresContext in form submission.  Fixes bugs 100533, 180861,
293171.  r+sr=jst
2005-11-08 22:45:49 +00:00
bzbarsky%mit.edu
c259ae0b19 Don't reframe leaf frames just because they don't have generated content that
style says they should have -- leaves just don't have generated content.  Bug
315541, r+sr=dbaron
2005-11-08 18:20:47 +00:00
bzbarsky%mit.edu
d6de8c5bd3 Don't try to restyle a destroyed frame tree. Bug 315453, r+sr=dbaron 2005-11-08 04:07:13 +00:00
bryner%brianryner.com
f9c219472d Unhook subframe containers / link handlers when putting a document into bfcache, and restore them when restoring the document (bug 314549). r+sr=bzbarsky. 2005-11-06 19:23:03 +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
dbaron%dbaron.org
cb91a9795b Only ignore the body background that's actually propagated to the canvas. b=314998 r+sr=bzbarsky 2005-11-03 23:06:54 +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
bryner%brianryner.com
7962a513cf Restore the focus listener in Open() that was removed in Close() (bug 314400). Patch by saito@densan.co.jp, r=me, sr=brendan. 2005-11-01 21:55:34 +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
cbiesinger%web.de
2a428dab2c Bug 314461 make presshell use the new nsIObjectFrame::StopPlugin function
r+sr=bz
2005-11-01 11:37:25 +00:00
bmlk%gmx.de
19d7e781d9 array boundary protection, second round, bug 265736 r/sr=roc 2005-11-01 05:15:10 +00:00
bmlk%gmx.de
635a9bee91 array boundary protection, initial idea Ben Fowler, bug 265736 r/sr=roc 2005-10-29 13:40:38 +00:00
masayuki%d-toybox.com
e7ed3d82a7 Bug 313918 IME candidate list is positioned to wrong position if the caret is positioned non-root view r+sr=roc 2005-10-29 12:43:51 +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
bzbarsky%mit.edu
c826d32b65 Flush out content updates before messing with the frame tree. Bug 313516, r+sr=roc 2005-10-25 22:32:13 +00:00
bzbarsky%mit.edu
f44f93ebc5 Fix restarting of plugins when restoring from bfcache. Bug 313669, r+sr=bryner 2005-10-25 01:32:14 +00:00
bryner%brianryner.com
e7e62f956e Stop plugins correctly when storing a page into session history (bug 311791). Patch by bzbarsky, r+sr=me. 2005-10-22 03:27:22 +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
roc+%cs.cmu.edu
344b4be95e Bug 311152. Make DOM selection changes repaint the caret in the new position. r=mrbkap,sr=dbaron 2005-10-12 18:40:38 +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
cvshook%sicking.cc
7371067364 Bugs 292962 and 311269: Make pages in bf cache not behave as if they have a presentation, and evict pages from the bf cache synchronously if they are modified.
r/sr=bryner
2005-10-07 20:20:52 +00:00