Commit Graph

1198 Commits

Author SHA1 Message Date
mark%moxienet.com
801cf223b5 Taking bug 412701 attachment 279505 for Camino 1.6b2 as a one-fix-only emergency followup to 1.6b1: Crash in pop-up window on parent.close() due to double free [@ nsCSSFrameConstructor::RestyleEvent::HandleEvent]. r=bz sr=bz
git-svn-id: svn://10.0.0.236/branches/CAMINO_1_6_B2_MINIBRANCH@243501 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-18 22:09:32 +00:00
bzbarsky%mit.edu
90d5ef4bcf Fix bug 398837. r+sr=roc, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@237406 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-08 19:31:31 +00:00
dveditz%cruzio.com
2b9e89d250 bug 309322 display:table-caption crash plus fixes for crash regressions
341858 and 348126, and regression 389924 inability to dynamically set caption.
patches by bernd, bzbarsky and mats.palmgren, back-porting by dholbert, bzbarsky
and dveditz, r=bernd, bzbarsky, sr=bzbarsky,dbaron, a=dveditz


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@237282 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-04 21:39:08 +00:00
mats.palmgren%bredband.net
5f965b0e1d Add a new interface to list box objects with a GetListBoxBody(PRBool) method, where the param controls whether to Flush_Frames or not. b=392285 r+sr=bzbarsky a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@237165 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-03 05:31:05 +00:00
bzbarsky%mit.edu
08319b070f Make sure to be in an update when we do frame construction. Bug 393326, r+sr=dbaron, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@237051 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-02 05:10:14 +00:00
bzbarsky%mit.edu
c82427eb24 Fire XBL constructors asynchronously after binding attachment, unless we're in
the middle of an update. In that case, fire them at the end of the update.
Bugs 267833, 373756, 394676, 394014.  r+sr=sicking, a=dveditz


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@236965 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-01 02:46:15 +00:00
roc+%cs.cmu.edu
102e68e624 Fix bustage, really
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@235525 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 02:36:07 +00:00
roc+%cs.cmu.edu
af3b52f484 Fix bustage
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@235524 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 02:10:29 +00:00
roc+%cs.cmu.edu
30f6e33fc7 Bug 383129. Don't ignore tree trags that we might have created frames for because they have no parent. r+sr=bz, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@235523 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 01:52:39 +00:00
mats.palmgren%bredband.net
d99d4385d6 Don't rely on style data to determine if a frame type is out-of-flow, use NS_FRAME_OUT_OF_FLOW. Cleanup nearby misleading indentation. b=344064 r+sr=dbaron a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@233437 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-30 22:01:34 +00:00
bzbarsky%mit.edu
aad5739194 Don't set up counters for the anon cols set up by a <col span=n>. Bug 385866, r+sr=dbaron, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@233406 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-30 15:54:23 +00:00
bzbarsky%mit.edu
b71aeaea93 Improve detection of blocks with first-letter style, so that we're always in a
consistent state. This includes the relevant part of bug 257868, all of bug
367650, bug 362901 (bug 372550 in the CVS comments on trunk), bug 379383, bug
379799, and the notation in bug 362901's status whiteboard.  r+sr=dbaron,
a=dveditz


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@232866 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 17:31:26 +00:00
mats.palmgren%bredband.net
e9f614d9c9 Merge rev. 1.1353 and 1.1355 from trunk to disable floats within XUL. Original fixes by roc@ocallahan.org. b=384344 r+sr=bzbarsky a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@229740 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 20:19:35 +00:00
bzbarsky%mit.edu
9c20d2ad7f Relanding fix for bug 385880
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@229472 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-07 01:17:54 +00:00
bzbarsky%mit.edu
454a99a0e1 Backing out. Branch is closed.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@229466 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-07 01:01:59 +00:00
bzbarsky%mit.edu
fe9a3ef18e Menubars are special on OSX too. Bug 385880, r=bernd, sr=roc, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@229462 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-07 00:56:27 +00:00
mats.palmgren%bredband.net
ffafc1eb1e Fix null-ptr crash [@ nsFrameItems::AddChild]. b=344300 r+sr=bzbarsky a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@229120 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-02 01:39:16 +00:00
bzbarsky%mit.edu
0b60c2f461 Don't use the same pseudo-element name to mean two different things. Bug 377824, r+sr=dbaron, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@224919 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-24 02:33:18 +00:00
bzbarsky%mit.edu
59d2dd7867 Change the way we determine the style context parent frame to skip css anon boxes unless we're determining the style context parent for something that is itself a css anon box (and is not a non-element frame). Fixes bug 323656 (which is where the patch is), bug 85872, bug 280610. As far as I can tell,also fixes bug 317876, bug 372376, bug 374297. r+sr=dbaron, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@224918 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-24 02:28:08 +00:00
roc+%cs.cmu.edu
37d2af8572 Bug 376233. Make sure table pseudos are captured when creating listbox content. r+sr=bzbarsky,a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@224777 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-20 04:01:37 +00:00
bzbarsky%mit.edu
26d47fad30 Recalc quotes and counters before reflow. Bug 377216, r+sr=dbaron, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@224578 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-16 18:35:18 +00:00
bzbarsky%mit.edu
53b3965a4a Treat <mtable> as special, since the outermost frame it creates is not in fact a table-related frame. Bug 374193, r=bernd, sr=rbs, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@224525 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-14 04:07:17 +00:00
roc+%cs.cmu.edu
46ccca39e7 Bug 372237. Be more consistent about skipping out-of-flow frames during deletion. r+sr=dbaron,a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@222558 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-28 21:02:26 +00:00
mats.palmgren%bredband.net
19beadae0c Ignore calls to RemoveMappingsForFrameSubtree() after WillDestroyFrameTree() have been called. b=372576 r+sr=bzbarsky a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@222244 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-23 07:25:06 +00:00
roc+%cs.cmu.edu
9922b71bc2 Bug 306533. Find previous sibling correctly for floating first-letter frames for anonymous content. patch by bz, r+sr=roc
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@222024 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-19 03:45:17 +00:00
dbaron%dbaron.org
b2d2f5e585 Give inline-blocks NS_BLOCK_SPACE_MGR and NS_BLOCK_MARGIN_ROOT. b=367504 r+sr=roc a=jay
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@218826 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 00:26:11 +00:00
bzbarsky%mit.edu
2b58919762 Don't calculate stuff with dirty lists. Bug 367243, r=mats, sr=dbaron, a=jay
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@218792 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 05:32:16 +00:00
mats.palmgren%bredband.net
29a3588e02 Fix a Print Preview crash. b=362708 r=bernd sr=roc a=jay
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@217506 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 03:15:46 +00:00
bzbarsky%mit.edu
cb6502e668 Make ReconstructDocElementHierarchy work correctly even if we first blew away a pseudo which had the root as its content. Bug 343293, r+sr=roc, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@217178 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 04:42:12 +00:00
bzbarsky%mit.edu
30cfa5a0ee Make sure to not process counter/quote changes during a restyle. Bug 317948, r+sr=dbaron, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@216284 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 20:09:30 +00:00
rbs%maths.uq.edu.au
3ee0fa0979 <mspace> is a leaf frame. Don't create bogus child frames inside <mspace> having invalid markup with child content. b=323741, r+sr=roc, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@216154 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 12:55:02 +00:00
rbs%maths.uq.edu.au
c5179fb49c <mathml:mtd> with border-collapse <html:table> crashes [@ nsRuleNode::GetStyleData] [@ nsCachedStyleData::GetStyleData], b=354766, r=bernd, sr=bzbarsky, a=mconnor
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@216110 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 21:59:58 +00:00
bzbarsky%mit.edu
ddee9aeed5 Reget our parent after blowing away letter frames. Bug 318592, r+sr=dbaron, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@215909 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-27 22:27:44 +00:00
bzbarsky%mit.edu
258d47a121 More CantRenderReplacedElement hackery. Bug 350267, r+sr=roc, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@215226 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 21:37:36 +00:00
bzbarsky%mit.edu
ca6045578b Fix crash bug 348510. r+sr=roc, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@215144 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 03:33:51 +00:00
bzbarsky%mit.edu
4dc5c9a860 Don't allow positioning or floating <mtable>. Bug 355993, r=bernd, sr=rbs, a=mconnor
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@214912 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 00:25:14 +00:00
bzbarsky%mit.edu
89294349c6 More flag whack-a-mole. Bug 354489, r+sr=rbs, a=mconnor
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@214909 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 00:11:45 +00:00
bzbarsky%mit.edu
f8ed2f8553 Make the block part of an {ib} split have a space manager if it needs to. Bug 354133, r+sr=roc, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@214907 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 00:07:00 +00:00
bzbarsky%mit.edu
671b2455ba Slightly improve handling of positioned kids of MathML. Bug 322625, r=rbs, sr=roc, a=mconnor
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@214904 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 23:59:45 +00:00
bzbarsky%mit.edu
ee0cb38c8d Fix bug 354144 -- absolute positioning against the ICB is broken. r+sr=roc, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@214902 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 23:54:37 +00:00
bzbarsky%mit.edu
d293e93d49 Don't return mInitialContainingBlock if we find no absolute containing block. That can Just Happen. Bug 330909, patch by bernd, r+sr=roc, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@214901 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 23:41:36 +00:00
bzbarsky%mit.edu
f9a050481c Disallow most MathML from floating or being positioned (<math> is the one
exception). Bug 353897, r+sr=rbs, a=schrep


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@212361 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-26 01:58:06 +00:00
mats.palmgren%bredband.net
95457b48d4 Improve error handling in nsCSSFrameConstructor::CreateContinuingFrame() and its callers. b=337419 r+sr=roc a=mtschrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@208456 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-25 20:21:41 +00:00
bzbarsky%mit.edu
39b68b603e Reparent views properly when splitting to containing block. Bug 344291, r=roc, sr=dbaron, a=schrep for 1.8.1, a=dveditz for 1.8.0.7
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@208357 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-24 22:01:32 +00:00
mats.palmgren%bredband.net
2cc5037c44 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 a=mtschrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@208282 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-24 04:16:01 +00:00
bzbarsky%mit.edu
8f4243ecdb Handle XUL popups gracefully in non-XUL documents. Bug 306940, r+sr=roc, a=dveditz for 1.8.0.7, a=schrep for 1.8.1
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@208154 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-23 04:02:21 +00:00
bzbarsky%mit.edu
f1dc11d393 Don't clobber the parentFrame we need to recover letter frames on. Bug 348729, r+sr=roc, a=dbaron for 1.8, a=dveditz for 1.8.0
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@207741 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-17 15:00:42 +00:00
bzbarsky%mit.edu
140d941a36 Use the right insertion frame for insertion points. Bug 348049, r+sr=roc, a=dbaron for 1.8.1, a=dveditz for 1.8.0.7
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@207504 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 23:13:38 +00:00
rbs%maths.uq.edu.au
66b97e1d33 '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, a=mconnor
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@207481 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 19:26:54 +00:00
bmlk%gmx.de
05c4cba07f remove crash prone from hack from frame construction and replace it with a hardcoded style rule bug 285727 r/sr/a=bzbarsky
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@206142 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-31 16:13:38 +00:00