Robert O'Callahan
4388aebd00
Backout bug 472135 due to Linux test failure
2009-01-17 23:59:37 +13:00
Robert O'Callahan
00e57b8380
Backed out changeset 9246fefef1cc
2009-01-17 23:58:34 +13:00
Robert O'Callahan
0dd1ce33f5
Bug 471594. In ContentInserted, when we have an insertionPoint and we take the isAppend path, use the insertionPoint's last continuation as the place to append so we don't insert the new frames in the middle of some other content's continuation chain. r+sr=bzbarsky
...
--HG--
extra : rebase_source : dbcc34f8fc9a73d53105300d2aa2bebbc584ab8f
2009-01-16 21:25:04 +13:00
Robert Longson
4a4ce9e387
Bug 472135. Avoid re-getting the target marker frame in nsSVGMarkerProperty::DoUpdate --- that leads to infinite loops. Update things lazily instead via fake style changes. r+sr=roc
...
--HG--
extra : rebase_source : f90519e06842d6301e3a27eddb0cddd300b62db2
2009-01-16 21:20:29 +13:00
L. David Baron
5293f77173
When re-resolving style, re-resolve root in undisplayed map too. (Bug 473042) r+sr=bzbarsky
2009-01-16 13:32:09 -08:00
Boris Zbarsky
00e66d09cf
Bug 453736. Make <svg:script> more like other scripts and fix up a few other minor issues. r=roc, r+sr=sicking
2009-01-14 07:49:18 -05:00
Benjamin Smedberg
24e7cb1f78
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.
--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Mats Palmgren ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
b06807d54b
Put the root element in the undisplayed map so that we reconstruct it when it has its 'display' changed from 'none' to something else. (Bug 283686) r+sr=bzbarsky
2009-01-10 08:28:15 -08:00
Benjamin Smedberg
50621e4f9f
Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal.
2009-01-09 11:35:24 -05:00
Benjamin Smedberg
d0b948876f
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Robert O'Callahan
f708c8026e
Bug 425981. Make first-letter frame wrapping build its own frame constructor state to ensure it's for the correct place in the frame tree. r+sr=bzbarsky
...
--HG--
extra : rebase_source : 7dd5de3f6b2a9e83994d7023d4cfafce205e9376
2009-01-08 21:07:51 +13:00
Boris Zbarsky
95874e95d3
Bug 472500. Allow generated content on XUL frames. r+sr=roc
2009-01-07 18:22:08 -05:00
Boris Zbarsky
835c17ffde
Bug 472501. Add XUL namespace checks in some more places where they're needed, and make the XBL suppression of child frame processing work for all frames, not just XUL. r=enndeakin, sr=roc
2009-01-07 18:22:05 -05:00
Boris Zbarsky
709cd54c51
Bug 284320. Remove the contentParentFrame hack in subdocument frames, along with the no-longer-used arg it used to be used for. r+sr=roc
2009-01-06 17:29:50 -05:00
Boris Zbarsky
6925343822
Bug 472322. Don't treat non-XUL listboxbody/listitem specially in XUL frame construction. r=enndeakin, sr=roc
2009-01-06 14:18:04 -05:00
Boris Zbarsky
7663cfbf76
Bug 291854. Push float containing blocks inside ProcessChildren. r+sr=roc
2009-01-05 20:54:32 -05:00
Boris Zbarsky
60aefffa14
Bug 472138. Push CreateAnonymousFrames into ProcessChildren. r+sr=roc
2009-01-05 17:25:33 -05:00
Boris Zbarsky
e240a880db
Bug 472138. Eliminate unused or unnecessary CreateAnonymousFrames args. r+sr=roc
2009-01-05 17:25:31 -05:00
L. David Baron
57a8e776d8
Rename flags and methods from space manager to float manager. (Bug 191448) r+sr=roc
2009-01-04 19:39:54 -05:00
L. David Baron
b3d748ba11
Fix some missed renames from bug 471356. r+sr=bzbarsky
2009-01-04 14:52:38 -05:00
Olli Pettay
28e3d7cf73
Bug 436965, r+sr=sicking
2009-01-02 17:41:43 +02:00
Olli Pettay
ed62696892
Back out bug 436965
2009-01-02 16:31:13 +02:00
Olli Pettay
f4bf461d7e
Bug 436965, r+sr=sicking
2009-01-02 14:40:43 +02:00
L. David Baron
23d4f4d4b2
Stop using nsAreaFrame for anything other than xul:label, which is the only thing for which it does anything different from nsBlockFrame, and rename it accordingly. (Bug 471356) r+sr=roc
...
--HG--
rename : layout/generic/nsAreaFrame.cpp => layout/xul/base/src/nsXULLabelFrame.cpp
rename : layout/generic/nsAreaFrame.h => layout/xul/base/src/nsXULLabelFrame.h
2008-12-29 10:07:38 -05:00
L. David Baron
8ae14c6f7f
Prevent rebuilding all style data when paginated. (Bug 468645) r+sr=bzbarsky
2008-12-29 10:07:37 -05:00
L. David Baron
a3d0f42dba
Fix style context invariants so we can re-resolve page break frames. (Bug 468645) r+sr=bzbarsky
2008-12-29 10:07:36 -05:00
Olli Pettay
7fb4bae15c
Bug 470167 - 'ASSERTION: Should be in an update while creating frames' with stylesheet appended many times, r+sr=bz
2008-12-20 01:35:30 +02:00
Robert O'Callahan
ed66190092
Bug 449149. Implement the 'controls' attribute for audio elements. r+sr=bzbarsky,r=dolske,r=enndeakin
...
--HG--
extra : rebase_source : 4d11b963d3082f98269069c68aae33eef365aacb
2008-12-17 13:27:46 +13:00
L. David Baron
3e5f6435ab
Move wrapping of blocks inside XUL into ProcessChildren to catch more callers. (Bug 421203) r+sr=roc a=blocking1.9.1+
...
--HG--
rename : layout/reftests/bugs/321402-3.xul => layout/reftests/bugs/421203-3.xul
rename : layout/reftests/bugs/321402-4.xul => layout/reftests/bugs/421203-4.xul
rename : layout/reftests/bugs/321402-5.xul => layout/reftests/bugs/421203-5.xul
rename : layout/reftests/bugs/321402-6.xul => layout/reftests/bugs/421203-6.xul
2008-12-16 16:30:31 -08:00
Olli Pettay
f8412fdedc
Bug 431082 - Crash [@ nsDocShell::DoChannelLoad], r+sr=bz
2008-12-13 22:30:02 +02:00
Robert O'Callahan
a06ae88b70
Bug 468690. Remove leftover assertion that's no longer needed after the fix for bug 460012. r+sr=bzbarsky
2008-12-12 21:28:47 +13:00
Robert O'Callahan
bfa41e8f5e
Merged to trunk
2008-12-08 20:52:15 +13:00
Mats Palmgren
1c185b29b9
Walk child frame next-in-flows that are overflow containers. Skip [excess]overflowContainersList to avoid processing them more than once. b=411835 r+sr=roc
2008-12-08 04:01:25 +01:00
Robert O'Callahan
64e40d52ed
Bug 451117. Remove obsolete assertion. r+sr=bzbarsky
2008-12-08 13:50:57 +13:00
L. David Baron
7fc92bad7f
Make the code to suppress infinite synthesized mouse move loops work again with asynchronous style changes. (Bug 302561) r+sr=bzbarsky,roc
2008-12-07 13:58:07 -08:00
L. David Baron
e2343835b0
Merge backout of changeset 7b553bbed53d (bug 302561) due to chrome test crash.
2008-12-04 09:57:44 -08:00
L. David Baron
90b976fe34
Backed out changeset 7b553bbed53d (bug 302561) due to chrome test crash.
2008-12-04 09:57:18 -08:00
L. David Baron
5ef811c47a
Make incremental frame construction set mFixedPosIsAbsPos just like from-the-top frame construction. (Bug 467460) r+sr=roc
2008-12-04 08:09:53 -08:00
L. David Baron
3e43af7a94
Allow PostRebuildAllStyleData to be called with an aExtraHint. (Bug 458878) r+sr=bzbarsky a=blocking1.9.1+
2008-12-04 08:09:53 -08:00
L. David Baron
85dd73ebd3
Make the code to suppress infinite synthesized mouse move loops work again with asynchronous style changes. (Bug 302561) r+sr=bzbarsky,roc
2008-12-04 08:09:52 -08:00
Simon Montagu
3363523acc
Delete all text frame continuations when deleting first letter frame. Bug 466763, r+sr=roc
2008-12-02 22:56:53 -08:00
L. David Baron
7372b5e796
Merge roc-1.bundle to land 5 patches for roc.
2008-11-25 20:41:38 -08:00
Boris Zbarsky
bad0b33175
Bug 437142. Be a little more careful with GetPrimaryFrameFor to work around the mess that <area> elements cause. r+sr=roc
2008-11-25 20:49:14 -05:00
L. David Baron
f0a1beced5
Handle some additional codepaths for position: fixed elements inside elements with -moz-transform. (Bug 455171) r+sr=bzbarsky a=blocking1.9.1+
2008-11-25 15:22:39 -08:00
L. David Baron
2a61487dd7
Back out 342b86dd79f48f11583e7b6526a5b78457d29a1c due to mac startup failures.
2008-11-25 14:38:17 -08:00
Robert O'Callahan
1dd1408b35
Bug 460012. When recreating frames for a generated content node, reframe the nearest non-generated-content ancestor. r+sr=bzbarsky
2008-11-26 11:15:41 +13:00
Robert O'Callahan
98a52f5f6c
Bug 454751. Use a fresh nsFrameConstructorState when we construct new frames in ReconstructDocElementHierarchyInternal, so internal state pointing to deleted frames is flushed out. r+sr=bzbarsky
2008-11-26 11:12:06 +13:00
L. David Baron
dc119e5622
Handle some additional codepaths for position: fixed elements inside elements with -moz-transform. (Bug 455171) r+sr=bzbarsky a=blocking1.9.1+
2008-11-25 13:27:54 -08:00
Blake Kaplan
337fb163df
Bug 458440 - Attempt to work around speculative parsing crash. r+sr=dbaron
2008-11-11 13:38:54 -08:00
L. David Baron
9b86daea26
Keep pres shell alive during ProcessRestyledFrames. (Bug 462392) r+sr=bzbarsky
2008-11-02 11:44:55 -08:00