Boris Zbarsky
62d39301da
Bug 474417. <wbr> support broken. r+sr=roc
2009-01-20 14:42:25 -05:00
Boris Zbarsky
1b2575adb2
Bug 473390 part 18. Eliminate IsSpecialContent. r+sr=roc
2009-01-19 13:31:35 -05:00
Boris Zbarsky
d1b9eb0108
Bug 473390 part 17. Switch SVG frame construction over to the new setup. r=jwatt, sr=roc
2009-01-19 13:31:34 -05:00
Boris Zbarsky
ad90cf886f
Bug 473390 part 16. Move around SVG assertions so that they happen in frame init, not during frame creation. r=jwatt, sr=roc
2009-01-19 13:31:34 -05:00
Boris Zbarsky
9bb41378a5
Bug 473390 part 15. Switch XUL frame construction over to the new setup. r+sr=roc
2009-01-19 13:31:34 -05:00
Boris Zbarsky
e682d452b7
Bug 473390 part 14. Eliminate the mRootBox member of the frame constructor state, and move its only consumer into the relevant frame Init method. r+sr=roc
2009-01-19 13:31:33 -05:00
Boris Zbarsky
7cf377beda
Bug 473390 part 13. Remove the unused aScrolledChildStyle argument of BuildScrollFrame. r+sr=roc
2009-01-19 13:31:33 -05:00
Boris Zbarsky
47704e5236
Bug 473390 part 12. Simplify some of the parent frame mess in XUL frame construction and remove some confusing comments. r+sr=roc
2009-01-19 13:31:33 -05:00
Boris Zbarsky
1b29d18b8a
Bug 473390 part 10. Move various XUL nsIBoxLayout stuff out of the frame constructor into frame creation functions, and make the XUL frame creation functions have the right signature to fit into the new world. r+sr=roc
2009-01-19 13:31:33 -05:00
Boris Zbarsky
0533e4252b
Bug 473390 part 9. Switch MathML frame construction over to the new setup. r+sr=roc
2009-01-19 13:31:32 -05:00
Boris Zbarsky
6f9779af12
Bug 473390 part 8. Move the <mathml:math> display switching out of the frame constructor and into the frame creation function. r+sr=roc
2009-01-19 13:31:32 -05:00
Boris Zbarsky
4af258be02
Bug 473390 part 7. Switch HTML frame construction over to the new setup. r+sr=roc
2009-01-19 13:31:32 -05:00
Boris Zbarsky
fc9b27e112
Bug 473390 part 6. Move the flag-setting for file controls out of the frame constructor and into the frame implementation. r+sr=roc
2009-01-19 13:31:32 -05:00
Boris Zbarsky
cd76e3492e
Bug 473390 part 5. Move the checkbox and radio face style code out of the frame constructor and into those frames. r+sr=roc
2009-01-19 13:31:32 -05:00
Boris Zbarsky
d44568a710
Bug 473390 part 4. Remove vestigial XBL form control stuff. r+sr=roc
2009-01-19 13:31:31 -05:00
Boris Zbarsky
a0100d4965
Bug 473390 part 3. Move some HTML frame construction assertions out of the frame constructor and into the relevant frame creation methods. r+sr=roc
2009-01-19 13:31:31 -05:00
Boris Zbarsky
46fe973cde
Bug 473390 part 2. Call SetInitialChildList on HTML frames even if the child list is empty, to bring HTML in line with everything else. r+sr=roc
2009-01-19 13:31:31 -05:00
Boris Zbarsky
f970f4ce19
Bug 473390 part 1. Stop checking IsSpecialContent for the root frame. Just construct a table if it's got a table display type and isn't XUL or SVG. This is safe because we no longer have the weirdness that was ConstructDocElementTableFrame. r+sr=roc
2009-01-19 13:30:15 -05:00
Robert O'Callahan
15fc5842b1
Backout bug 472135 due to Linux test failure
2009-01-17 23:59:37 +13:00
Robert O'Callahan
07470f85bb
Backed out changeset 9246fefef1cc
2009-01-17 23:58:34 +13:00
Robert O'Callahan
91d5fb7b63
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
2009-01-16 21:25:04 +13:00
Robert Longson
65b6bdbb39
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
2009-01-16 21:20:29 +13:00
L. David Baron
4ee07d1fc0
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
47ef3428a4
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
L. David Baron
22fe78d5d9
Prevent rebuilding all style data when paginated. (Bug 468645) r+sr=bzbarsky
2008-12-29 10:07:37 -05:00
L. David Baron
e6b1e51836
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
Benjamin Smedberg
0f95227641
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.
2009-01-12 14:20:59 -05:00
Olli Pettay
33c55478d5
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
8f58f3dd8c
Bug 449149. Implement the 'controls' attribute for audio elements. r+sr=bzbarsky,r=dolske,r=enndeakin
2008-12-17 13:27:46 +13:00
L. David Baron
148dfc3987
Move wrapping of blocks inside XUL into ProcessChildren to catch more callers. (Bug 421203) r+sr=roc a=blocking1.9.1+
2008-12-16 16:30:31 -08:00
Olli Pettay
0fd4565fc8
Bug 431082 - Crash [@ nsDocShell::DoChannelLoad], r+sr=bz
2008-12-13 22:30:02 +02:00
Robert O'Callahan
0249c8e0e0
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
b781085fd3
Merged to trunk
2008-12-08 20:52:15 +13:00
Mats Palmgren
0abf67edad
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
b7cd60e2d8
Bug 451117. Remove obsolete assertion. r+sr=bzbarsky
2008-12-08 13:50:57 +13:00
L. David Baron
745f8f86a7
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
f7c9e2b830
Merge backout of changeset 7b553bbed53d (bug 302561) due to chrome test crash.
2008-12-04 09:57:44 -08:00
L. David Baron
5de75c5fa0
Backed out changeset 7b553bbed53d (bug 302561) due to chrome test crash.
2008-12-04 09:57:18 -08:00
L. David Baron
48f0731687
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
dd1a601348
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
49a617599d
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
48d8625f47
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
42dfb626bf
Merge roc-1.bundle to land 5 patches for roc.
2008-11-25 20:41:38 -08:00
Boris Zbarsky
7f288f2c5c
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
40a061f21a
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
cbca310192
Back out 342b86dd79f48f11583e7b6526a5b78457d29a1c due to mac startup failures.
2008-11-25 14:38:17 -08:00
Robert O'Callahan
4f85c41e32
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
034b582089
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
08fa6cb7e5
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
Mats Palmgren
8b484f4af9
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