Commit Graph

5026 Commits

Author SHA1 Message Date
jruderman%hmc.edu
40f18ff564 Bug 334514, FrameArena::~FrameArena should assert that it's empty. Trunk patch had r+sr=roc, branch patch has a=dveditz for the 1.8 branch.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@250807 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-25 22:44:47 +00:00
bzbarsky%mit.edu
dd929d099f Don't press on if the content flush called Destroy(). Bug 332807, r+sr=dbaron,
a=dveditz


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@247330 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-07 21:24:04 +00:00
bzbarsky%mit.edu
1756054e0e Give the prefs stylesheet and mathml attribute sheet a .href. Bug 416896,
r+sr=dbaron, a=dveditz


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@245990 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 17:56:22 +00:00
enndeakin%sympatico.ca
ac5e673728 Bug 384871, check frame types of menupopups, r+sr=roc,a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@245789 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-15 19:45:30 +00:00
mats.palmgren%bredband.net
6ef07629be Merge from trunk to fix crash when zooming. b=415827 r+sr=roc approval1.8.1.13=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@245532 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-13 02:16:45 +00:00
mats.palmgren%bredband.net
78750995b3 Ignore restyle requests once PresShell::Destroy() has been called. b=279505 r+sr=bzbarsky a=blocking1.8.1.12
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@243448 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-18 16:20:57 +00:00
bzbarsky%mit.edu
f330d92905 Backing out bug 398006 to fix bug 410456 and probably bug 410666. a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@243423 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-18 05:34:49 +00:00
mats.palmgren%bredband.net
05b6e618d2 Hold strong refs on the presshell/context on the stack and set the members to null to prevent access while destroying them. b=384937 r=dbaron sr=me a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@243159 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-16 00:31:56 +00:00
bzbarsky%mit.edu
7d737ebc4a Make all stylesheet changes do an async style reresolve, not a sync one. Bug
396613, bug 394337, bug 314776.  r+sr=dbaron, a=dveditz


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@243094 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-15 03:56:03 +00:00
bzbarsky%mit.edu
f75ff5073e Fix a few issues in bfcache and XBL when javascript is being toggled on and
off. Bug 398668, r+sr=jst, a=dveditz


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@242906 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-11 18:19:16 +00:00
bzbarsky%mit.edu
6b9669535d Don't run XBL constructors during frame construction, ever. Bug 398006,
r+sr=sicking, a=dveditz


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@242097 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-26 19:01:13 +00:00
Olli.Pettay%helsinki.fi
10c1594da2 Bug 373344, r+sr=roc, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@241990 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-21 22:42:21 +00:00
masayuki%d-toybox.com
29e233d433 the lacked file of my previous checked-in. b=313918
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@238963 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-08 08:42:47 +00:00
Olli.Pettay%helsinki.fi
496cdb0cad fix for topcrash bug 400735, r+sr=bz, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@238069 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-24 08:12:50 +00:00
dholbert%cs.stanford.edu
b398f78746 Bug 400421 - Make nsImageMaps observe the PresShell instead of the Document. r+sr=dbaron, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@238054 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-23 23:54:40 +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
bzbarsky%mit.edu
94d4ea37ac Don't allow reflow/style flushes during XBL constructor execution, for compat
reasons.  Bug 398404, r+sr=dbaron, a=dveditz


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@237234 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-04 02:37:43 +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
scott%scott-macgregor.org
88442ed644 Bug #382480 -- TB Crash [@ nsBidipresUtils::ProcessText]
r=roc
sr=roc

p by Ere Maijala <emaijala@kolumbus.fi>
a=dveditz


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@236828 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-28 06:26:53 +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
martijn.martijn%gmail.com
31ca30fe33 Let only top level documents call this code, bug 391043, r=jst, sr=bzbarsky, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@233358 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 23:07:47 +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
mats.palmgren%bredband.net
0e96eea295 Crash [@ nsPresContext::GetContainerInternal]. b=378682 r+sr=bzbarsky a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@229737 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 20:00:03 +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
Olli.Pettay%helsinki.fi
a59bc4ad83 Bug 381153, r+sr=roc, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@228227 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 08:53:32 +00:00
enndeakin%sympatico.ca
205d7aad88 Bug 374570, constrain popups to frame area, r+sr=roc,a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@225113 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 00:38:25 +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
Olli.Pettay%helsinki.fi
ff3f5e47af Bug 375196, r+sr=roc, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@222608 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-29 21:36:39 +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
enndeakin%sympatico.ca
e7430692ef Bug 252798, don't show popups in unfocused windows, r+sr=bz, a=jay
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@219576 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 13:25:42 +00:00
bzbarsky%mit.edu
23fe24353f Initialize mDirty, since we depend on it being correct now. Bug 367906, r+sr=dbaron, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@218885 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 03:18:59 +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