Commit Graph

547 Commits

Author SHA1 Message Date
Boris Zbarsky
12f0a421fd Bug 481788. Make FrameConstructionItemList a PRCList. r+sr=roc 2009-03-10 09:51:34 -04:00
Olli Pettay
468b832900 Bug 425265, r=roc, sr=bz 2009-03-08 21:01:02 +02:00
Boris Zbarsky
c71439c656 Bug 481105. Create anonymous child frames before non-anonymous ones for all our frames, not just root boxes. r+sr=roc 2009-03-06 13:12:18 -05:00
Boris Zbarsky
d10ea8903b Bug 480979 part 7. Create a FrameConstructionItemList class so we can abstract away item lists and change the implementation as needed. r+sr=roc 2009-03-05 08:09:03 -05:00
Boris Zbarsky
fd47df291b Bug 480979 part 6. Push use of FrameConstructionItem all the way up to ContentAppended/ContentInserted, and eliminate the need for DestroyNewlyCreatedFrames. r+sr=roc 2009-03-05 08:09:03 -05:00
Boris Zbarsky
f5d437816b Bug 480979 part 5. Build up a tree of FrameConstructionItems so that we'll know which inlines might need splitting. r+sr=roc 2009-03-05 08:09:02 -05:00
Boris Zbarsky
bbfc996d8e Bug 480979 part 4. Create separate FrameConstructionItems for page-break frames. r+sr=roc 2009-03-05 08:09:02 -05:00
Boris Zbarsky
efff0e4d2d Bug 480979 part 3. Move suppression of kids of columns and non-column kids of colgroups out further so that we don't even create FrameConstructionItems for them. r+sr=roc 2009-03-05 08:09:02 -05:00
Boris Zbarsky
85726c08e7 Bug 480979 part 2. Pass FrameConstructionItems through to the FrameFullConstructor implementations. r+sr=roc 2009-03-05 08:09:01 -05:00
Boris Zbarsky
0189933479 Bug 480979 part 1. Introduce FrameConstructionItem and restructure existing ConstructFrame and ProcessChildren code to use it internally without any other behavior changes. r+sr=roc 2009-03-05 08:09:01 -05:00
Boris Zbarsky
e2cb5e61e3 Bug 480323. Always create a trailing inline for {ib} splits. r+sr=dbaron 2009-03-04 07:55:29 -05:00
Boris Zbarsky
dba41efe0b Bug 480208. Eliminate the tag version of CreateAnonymousFrames. r+sr=roc 2009-03-01 10:16:30 -05:00
Boris Zbarsky
55f6d5a8f2 Bug 480017. Suppress misplaced popups before we construct table pseudoframe parents. r+sr=roc 2009-03-01 10:16:29 -05:00
Boris Zbarsky
b1f152d8fb Bug 479114. Create page-break frames only after we know our final parent. 2009-03-01 10:16:29 -05:00
Boris Zbarsky
7a957a90dd Bug 478956. Merge pseudo-frame handling for outer tables and non-table frames. r=bernd, sr=roc 2009-03-01 10:16:29 -05:00
Blake Kaplan
1a4ca1407d Remove unreachable printf since tinderbox isn't hitting it (bug 474537).
--HG--
extra : rebase_source : 95bf4a605216c97aaa15e552eb6779be8dbb33e3
2009-02-25 13:48:06 -08:00
Boris Zbarsky
a1f888815b Bug 476245. Keep better track of our anonymous content. r=smaug, sr=jst 2009-02-24 13:39:09 -05:00
L. David Baron
1e283adeaa Backed out changeset a328b5ae57e0 (bug 476245) for causing failures of test_videocontrols.html across platforms (although Linux hasn't cycled yet). 2009-02-24 13:38:35 -08:00
Boris Zbarsky
58d51f648c Bug 476245. Keep better track of our anonymous content. r=smaug, sr=dbaron 2009-02-24 13:39:09 -05:00
Mats Palmgren
ea317dbb9c Make FindPrimaryFrameFor faster by traversing the parent's special siblings and descendant continuations etc only once. b=470978 r+sr=bzbarsky 2009-02-22 19:17:51 +01:00
Boris Zbarsky
bdc319dc24 Bug 478820 part 3. Switch ConstructFrameByDisplayType to FrameConstructionData. r+sr=roc 2009-02-18 08:25:29 -05:00
Boris Zbarsky
10fb5e1b9b Bug 478820 part 2. Reorganize ConstructFrameByDisplayType a bit in the tables department. r=bernd, sr=roc 2009-02-18 08:25:29 -05:00
Boris Zbarsky
bc40ae5f4d Bug 478820 part 1. Reorganize ConstructFrameByDisplayType a bit in the block/inline department. r+sr=roc 2009-02-18 08:25:29 -05:00
Boris Zbarsky
6cff212e17 Bug 478814. Don't leave the XUL display types that are unimplemented if not MOZ_XUL defined if not MOZ_XUL. r+sr=dbaron 2009-02-17 21:45:57 -05:00
Boris Zbarsky
74338296c8 Bug 478811. Use the right IsTableRelated check when finding absolute containing blocks. r=bernd, sr=roc 2009-02-17 12:21:44 -05:00
Boris Zbarsky
d016304dfa Bug 478754. Remove effectively unused argument. r+sr=roc 2009-02-17 12:21:42 -05:00
Zack Weinberg
bea9955522 Bug 476557. Update view manager cache of page background color in PresShell::Paint, not nsCSSRendering::PaintBackground; permits a small API cleanup. r+sr=roc
--HG--
extra : rebase_source : dcf1475dd8b695eb18513e97ca35b08a4affd19f
2009-02-16 14:11:34 +13:00
Boris Zbarsky
304fd45c3f Bug 477333. Make sure to skip over editor's bogus anon content when dealing with first-letter too. r+sr=dbaron 2009-02-10 12:08:12 -05:00
Kyle Huey
93fcc53c4c Bug 452345. nsCSSFrameConstructor should use the term 'root element frame' instead of 'initial containing block', since 'initial containing block' means something else in CSS. r+sr=roc 2009-02-05 21:11:42 +13:00
Blake Kaplan
c8b404ae13 Add some logging code to see if bug 474537 is still around.
--HG--
extra : rebase_source : 840e2da57a266bd98f30e195f3819f59fb97c86d
2009-02-04 15:04:51 -08:00
Arpad Borsos
829f9f024a Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc 2009-02-03 15:42:18 +01:00
Boris Zbarsky
553227508e Bug 476063. Only do special fieldsetty stuff with <legend>s that are in a fieldset. r+sr=dbaron 2009-02-03 09:29:47 -05:00
Boris Zbarsky
47183857d0 Bug 476087. Work around editor breakage with anonymous content. r+sr=dbaron 2009-02-03 09:29:46 -05:00
Blake Kaplan
c6540ca70e Bug 474537 - Don't use a static array, since this can be called on multiple threads. r+sr=jst
--HG--
extra : rebase_source : 7926ab4fd9a5e141edfdd571ae82c8223bee5d37
2009-02-02 17:37:03 -08:00
Boris Zbarsky
4120090406 Backing out logging patch for bug 474537 2009-02-02 19:55:10 -05:00
Boris Zbarsky
713f5cf16b Another attempt at logging for bug 474537 2009-02-02 16:27:56 -05:00
Boris Zbarsky
c1149f03ad Backing out the logging now that we've hit it. See bug 474537 2009-02-02 15:17:55 -05:00
Boris Zbarsky
18e06836cd Add logging to try to sort out why some of our inputs are not nsIFormControl sometimes 2009-01-30 17:08:21 -05:00
L. David Baron
c61d051922 Create legends in CreateContinuingFrame. (Bug 468578) r+sr=roc 2009-01-29 12:39:22 -08:00
L. David Baron
583b7afd79 Handle placeholder frames in RemoveMappingsForFrameSubtree. (Bug 428113) r=mats.palmgren sr=roc 2009-01-29 12:39:21 -08:00
Boris Zbarsky
e753880b7c Bug 307394 part 2. Fix the indexing in ContentInserted to work correctly even when XBL is around. r+sr=dbaron. Also fixes bug 232990, bug 261826 , bug 272646, bug 386310, bug 468546 2009-01-29 14:46:20 -05:00
Boris Zbarsky
3574872d3a Bug 335615. Don't do editor init inside frame construction. r=mats, sr=roc 2009-01-29 14:46:17 -05:00
Boris Zbarsky
4f8f3b0027 Bug 474938. Restore silly speculative parsing workaround. r+sr=peterv 2009-01-23 10:16:10 -05:00
Robert Longson
44b1a9bfb1 Bug 472135. Invalidate markers using style system hints instead of doing an eager invalidation (which reacquires frames, breaking our one-shot nsSVGRenderingObservers setup). r+sr=roc
--HG--
extra : rebase_source : 48ab3b34460f5908bcec5c3e15a5d12f71496579
2009-01-22 14:02:40 +13:00
Mark Banner
96e4962fb5 Build bustage fix for Bug 473390 - make it build for apps that build without MathML 2009-01-21 15:38:59 +00:00
L. David Baron
008ca182cf Merge backout of changeset 6849ce51dfef (patch 3 from bug 468645) to fix bug 472353. 2009-01-20 13:54:17 -08:00
L. David Baron
7c5191446f Backed out changeset 6849ce51dfef (patch 3 from bug 468645) to fix bug 472353. 2009-01-20 13:45:23 -08:00
Boris Zbarsky
1ebd2ace9a Bug 474417. <wbr> support broken. r+sr=roc 2009-01-20 14:42:25 -05:00
Boris Zbarsky
f1e21eec04 Bug 473390 part 18. Eliminate IsSpecialContent. r+sr=roc 2009-01-19 13:31:35 -05:00
Boris Zbarsky
8c55daf9b6 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
ea8c0a5865 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
dcd16bd3ed 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
b868afeb9d 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
18399c778f Bug 473390 part 13. Remove the unused aScrolledChildStyle argument of BuildScrollFrame. r+sr=roc 2009-01-19 13:31:33 -05:00
Boris Zbarsky
2793dc5658 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
f3a2fedf99 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
9bbe40ce73 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
9f4f82f532 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
adce23e350 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
15e9c687fa 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
0966b434f3 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
4a76f2eb41 Bug 473390 part 4. Remove vestigial XBL form control stuff. r+sr=roc 2009-01-19 13:31:31 -05:00
Boris Zbarsky
ab5fa0c6e8 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
c0de154bc2 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
cb7d2b1273 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
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
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
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
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
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
Blake Kaplan
337fb163df Bug 458440 - Attempt to work around speculative parsing crash. r+sr=dbaron 2008-11-11 13:38:54 -08: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
9b86daea26 Keep pres shell alive during ProcessRestyledFrames. (Bug 462392) r+sr=bzbarsky 2008-11-02 11:44:55 -08:00
Benjamin Smedberg
30eacd2625 Bug 461576 - nsListBoxBodyFrame shouldn't need to implement nsIListBoxObject - r=enn sr=roc 2008-10-28 00:47:19 -04:00
Bernd
71f711f4c9 bug 448543, video frame creation is tag based not display type based so this is special content r/sr=bzbarsky 2008-10-26 10:22:35 +01:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Mats Palmgren
104954097b Bug 455063. Make sure we don't lose track of our initial containing block. r+sr=roc 2008-10-08 09:07:04 -04:00
Boris Zbarsky
11c7a6ff2f Bug 452964. Don't flag pseudo-frames wrapping generated content as themselves being generated content, since they might be shared with non-generated content. r+sr=roc. 2008-10-07 14:53:22 -04:00
Robert O'Callahan
09cfc5fa8c Bug 455984. Rework gradient and pattern code to use nsReferencedElement and nsSVGRenderingObservers, so they observe changes to the ID-element-map properly and propagate invalidations correctly (and with simpler code too). r=longsonr,sr=mats 2008-10-01 13:51:05 +13:00
Robert O'Callahan
337c852320 Backing out bug 455984 to see if it fixed Tp crashes 2008-10-01 00:28:20 +13:00
Robert O'Callahan
0a5a34cbab Bug 455984. Rework gradient and pattern code to use nsReferencedElement and nsSVGRenderingObservers, so they observe changes to the ID-element-map properly and propagate invalidations correctly (and with simpler code too). r=longsonr,sr=mats 2008-09-30 21:47:20 +13:00
Keith Schwarz
dc907e1ec7 Bug 435293. Implement CSS transforms. r=dbaron,r+sr=roc 2008-09-13 21:42:11 +12:00
Taras Glek
c26ce8e1ab bug 450777:deCOMtaminate nsNodeInfoManager::GetNodeInfo r+sr=jst 2008-09-12 15:32:18 -07:00
Mats Palmgren
8301514138 Don't create a frame for the root element if it's styled display:none. b=454361 r+sr=roc 2008-09-12 03:36:58 +02:00
Robert O'Callahan
539a029252 Bug 450340. Support SVG mask/clip-path/filter CSS properties applied to non-SVG content. r=longsonr,sr=mats 2008-09-11 12:24:16 +12:00
Robert O'Callahan
cddb22d87c Bug 243519. Rework root element frame construction and the CanvasFrame so that the CanvasFrame is an abs-pos container and the root element frame can be positioned. r=fantasai,sr=dbaron 2008-09-08 20:13:17 +12:00
Zack Weinberg
83829cd801 Bug 441367 - reduce repetitive code in nsRuleNode.cpp with SetDiscrete() and SetFactor() helper functions. r+sr=dbaron 2008-09-06 06:56:23 -07:00
Robert O'Callahan
ea7596e60c Backing out changesets 75919d3eb3d0 and 14ce7619e9c1 due to test failures 2008-09-07 00:35:20 +12:00
Robert O'Callahan
521ac66ad9 Bug 243519. Fix the crashtest so that it doesn't bomb out with a JS error without completing the actual test. And make it (and Acid3) actually pass without screwing up the frame tree. 2008-09-06 22:21:37 +12:00
Robert O'Callahan
f7339a0460 Bug 243519. Rework root element frame construction and the CanvasFrame so that the CanvasFrame is an abs-pos container and the root element frame can be positioned. r=fantasai,sr=dbaron 2008-09-06 21:35:05 +12:00
romaxa
4b98e80e72 Bug 376533 - "uClibc strings/index and childiterator.index conficts" [r=dbaron]
Index: mozilla/layout/base/nsCSSFrameConstructor.cpp
===================================================================
RCS file: /cvsroot/mozilla/layout/base/nsCSSFrameConstructor.cpp,v
retrieving revision 1.1453
2008-08-20 01:15:26 -05:00
Robert O'Callahan
2b3cbd99b7 Bug 451168 - "Borders around folder icons in directory listings (e.g. when viewing FTP sites)" [r+sr=bzbarsky] 2008-08-19 22:50:31 -05:00
Robert O'Callahan
0f9e4e319d Bug 238072. Make generated content take the normal frame construction path. Relanding with changes so that counter and quote nodes are initialized after their frames are available, more like the old code. r+sr=dbaron,bzbarsky 2008-08-18 13:16:42 +12:00
Robert Longson
0f5abca8c0 Bug 450495 - Make foreignObject a mandatory part of SVG. r+sr=roc 2008-08-17 12:18:21 +01:00
Robert O'Callahan
412609685e Bug 438987. Propagate background color correctly when the root element is a table. Relanding with a crash fix. r+sr=dbaron 2008-08-08 20:21:13 +12:00
Robert O'Callahan
18e74a0f2d Bug 438987, backing out 2008-08-08 15:34:43 +12:00
Robert O'Callahan
d75aff2db8 Bug 438987. Propagate background color correctly when the root element is a table. r+sr=dbaron 2008-08-08 13:52:41 +12:00
Robert O'Callahan
e6245e9ce2 Bug 238072 backout 2008-08-07 22:22:08 +12:00
Robert O'Callahan
8ad3721594 Bug 238072. Rework generated content support to match CSS 2.1, making generated content take the normal frame construction path so supporting any style applied to it (including 'position', 'float', etc). r+sr=bz,r=dbaron 2008-08-07 13:18:24 +12:00
Robert O'Callahan
aa8fb5c224 Bug 447567. Instead of brutally wiping out effects properties whenever the style context changes for an SVG frame (which wouldn't work for non-SVG frames), create a new style change hint to handle it. r=longsonr,sr=dbaron 2008-08-06 12:55:07 +12:00
Robert Longson
17c99ca38b bug 445687 - Should not be able to nest text r+sr=roc 2008-08-05 14:07:03 +01:00
Robert O'Callahan
d7dcf6eeb2 Bug 419285. nsCSSFrameConstructor should stop looking for first-letter content after a <br>. r+sr=dbaron 2008-07-29 22:02:00 -07:00
Boris Zbarsky
46b8af8b1f Bug 431520 followup. Actually return a value! 2008-07-29 01:17:28 -07:00
Boris Zbarsky
cdd7ce070b Bug 431520. Don't do first-line styling on fieldsets, because it confuses the legend code, and it's not clear what it should even do. r+sr=dbaron 2008-07-28 23:08:57 -07:00
L. David Baron
addab50588 Don't restyle slow selectors for changes to anonymous content (non-native-anonymous). (Bug 436453) r+sr=bzbarsky 2008-07-22 21:50:20 -07:00
L. David Baron
2c2f6ed495 Change the binding parent for native anonymous content to work like the binding parent for XBL anonymous content, and be the parent of the anonymous content subtree rather than the root of the anonymous content subtree. (Bug 436453) r=bzbarsky,smaug,surkov sr=bzbarsky 2008-07-22 21:50:20 -07:00
Robert O'Callahan
7e15def36c Bug 444688. Use an IsFrameOfType check instead of a frame state bit to detect whether a frame excludes ignorable whitespace children. r+sr=dbaronlayout 2008-07-14 10:41:18 +12:00
Karuna (karunasagark@gmail.com)
22a214272c Bug 409331. Instead of QIing to nsBlockFrame in various places, call an nsLayoutUtils method to do it. r+sr=roc 2008-07-14 10:10:23 +12:00
Robert Longson
67af1e3115 Bug 409383 - Make dynamic changes to switch children work and fix transient switch errors. r=jwatt,sr=roc 2008-07-13 12:30:48 +01:00
Chris Double
02ccf2851f Bug 382267. Core implementation of the <video> and <audio> elements. r=jst,r+sr=roc 2008-07-09 20:22:20 +12:00
Benjamin Smedberg
34d11c2d91 Bug 442729 - Annotate stack-only classes in layout, r+sr=roc 2008-07-01 15:16:45 -04:00
Robert O'Callahan
a1d025f6c8 Bug 438997. DoApplyRenderingChangeToTree should not invalidate SVG frames. r+sr=dbaron. 2008-06-14 20:29:41 +12:00
L. David Baron
0f7580e2bf Don't restyle slow selectors for changes to native anonymous content. (Bug 436453) r+sr=bzbarsky 2008-06-10 17:26:59 -07:00
dholbert@cs.stanford.edu
8a24231d01 Bug 427017: Disable page-break-before/after for fixed- & absolutely-positioned elements. Also, fix assertion during an iterator-comparison by handling case where lineBox is in overflow-lines. r=fantasai sr=roc a1.9=beltzner 2008-04-11 22:32:49 -07:00
jonas@sicking.cc
b8a008856b Backing out due to test failures 2008-04-08 20:20:39 -07:00
jonas@sicking.cc
5e5ddf5b3f Bug 425551: Improve script blocker code and use it to prevent async DOM events from keeping link elements alive past CC. Patch by bent. r/sr=sicking 2008-04-08 19:06:27 -07:00
Olli.Pettay@helsinki.fi
6d32891dbb Bug 421209, r=cpearce, sr=jst, a=beltzner 2008-03-20 13:24:36 -07:00
mats.palmgren@bredband.net
baa6fb0fd0 Fix a compile warning. b=399694 r+sr=dbaron a1.9=damons 2008-03-15 02:01:36 -07:00
Olli.Pettay@helsinki.fi
67622f2077 Bug 411054, Audit IsNativeAnonymous()/GetBindingParent() uses, r+sr=sicking 2008-02-26 04:40:18 -08:00
roc+@cs.cmu.edu
e491c305ca Bug 399852. Experimental relanding to collect data from centos5. 2008-02-19 01:16:20 -08:00
dbaron@dbaron.org
cafaf208a1 Fix handling of dynamic changes for advanced CSS selectors (and avoid the cost of doing so in the normal case). b=401291, 75386, 98997, 229915, 404418 (blocking1.9+) r+sr=bzbarsky a=blocking1.9+ on 404418 2008-02-18 22:17:07 -08:00
enndeakin@sympatico.ca
04d88af936 Bug 415503, crash with popupgroup, r+sr=bz 2008-02-14 13:45:29 -08:00
bzbarsky@mit.edu
8538f20353 Make sure to push a null float containing block for <mtd>. Bug 399676, r+sr=roc 2008-02-13 14:06:59 -08:00
roc+@cs.cmu.edu
fceb9e258f Backing out bug 399852 again, looks like it caused more focus-related mochitest failures 2008-02-11 19:04:48 -08:00
roc+@cs.cmu.edu
381865831c Bug 399852. Suppress focus changes during content updates, reboot focus after the update has finished. patch by Chris Pearce, r+sr=roc 2008-02-11 17:57:18 -08:00
dbaron@dbaron.org
632c70328b Force reflow on default font change, since style data comparison is not sufficient for things not reflected in style data. b=394057 r+sr=roc a=blocking1.9+ 2008-02-08 11:52:46 -08:00
fantasai.cvs@inkedblade.net
b81577fea9 handle dynamic insertion with overflow containers properly, b=403369 r=bzbarsky sr=roc 2008-01-27 00:13:19 -08:00
roc+@cs.cmu.edu
04ea5b16d9 Bug 413292. Make Begin/EndUpdateViewBatch be sure to remove the batch-count from the same viewmanager we added one to. r+sr=bzbarsky 2008-01-26 15:59:50 -08:00
dbaron@dbaron.org
2ad554aec9 Improve the warning that shows up when pages use -moz-inline-box. b=413195 r+sr=bzbarsky a=beltzner 2008-01-25 13:06:36 -08:00
longsonr@gmail.com
918703d057 Backout bug 413016 in case it is causing qm-mini-ubuntu05 failure 2008-01-22 08:37:34 -08:00
longsonr@gmail.com
67020f22b9 Bug 413016 - ASSERTION: SVG frame expected with svg:after in SVG document. r+sr=bzbarsky,a1.9=mtschrep 2008-01-22 07:22:58 -08:00
mats.palmgren@bredband.net
a722a6e52c Ignore restyle requests once PresShell::Destroy() has been called. b=279505 r+sr=bzbarsky a=mtschrep 2008-01-18 10:18:19 -08:00
longsonr@gmail.com
caa5e32979 Bug 409461 - ASSERTION: SVG frame expected with svg:after. r+sr=bzbarsky,a1.9=beltzner 2008-01-17 08:28:57 -08:00
dholbert@cs.stanford.edu
75e67e1e4d Backing out 399852 due to mac mochitest failures 2008-01-15 16:56:43 -08:00
dholbert@cs.stanford.edu
88e7613094 Bug 399852 - Crash [@ nsCSSFrameConstructor::FindFrameWithContent] with position: fixed, focusing and contenteditable, patch by Chris Pearce <chris@pearce.org.nz>, r+sr=roc, a=blocking1.9+ (re-landing; mochitest failures should be fixed) 2008-01-15 16:19:47 -08:00
mats.palmgren@bredband.net
bb7d77ae65 Try all continuations of the block when looking for a letter frame. b=408493 r+sr=bzbarsky a=blocking1.9 2008-01-15 01:25:17 -08:00
roc+@cs.cmu.edu
263df290c0 Backing out 410489 to fix test failures 2008-01-09 16:40:07 -08:00
martijn.martijn@gmail.com
127e57e6ce Bug 399852 - Crash [@ nsCSSFrameConstructor::FindFrameWithContent] with position: fixed, focusing and contenteditable, patch by Chris Pearce, r+sr=roc, a=blocking1.9+ 2008-01-09 13:44:59 -08:00
roc+@cs.cmu.edu
bc08ac141a Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron 2008-01-09 01:38:28 -08:00
karlt+@karlt.net
a72f4073a4 Bug 348577 - Implement MathML <mtable> with display:inline-table (mtable has incorrect baseline). Patch by Bill Gianopoulos <wgianopoulos@yahoo.com>, r=rbs, sr=bzbarsky. 2008-01-08 18:14:35 -08:00
roc+@cs.cmu.edu
09582c48ae backing out bug 355548 due to test failures 2008-01-08 15:11:27 -08:00
roc+@cs.cmu.edu
459c356854 Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron 2008-01-08 14:36:46 -08:00
bzbarsky@mit.edu
fc4c66121d Make image controls splittable just like regular images. Bug 409659, r+sr=roc, a=dsicore 2008-01-04 22:44:38 -08:00
neil@parkwaycc.co.uk
dafb9ad144 Make XUL elements really native anonymous b=410119 r=smaug sr+a=sicking 2008-01-04 03:24:41 -08:00
dtownsend@oxymoronical.com
cf11bf9970 Backout of bug 409383 to correct test failure on fxdbug-win32-tb. 2008-01-03 12:19:21 -08:00
longsonr@gmail.com
b417180b1e Bug 409383 - Switch sometimes ends up with multiple child frames. r+sr=roc,a1.9=beltzner 2008-01-03 06:30:02 -08:00
ginn.chen@sun.com
67cd80d3cf Bug 398362 First menuitem is not selected when opening a menu for the first time r=enndeakin sr=bzbarsky 2008-01-01 21:33:30 -08:00
enndeakin@sympatico.ca
12d6868830 Bug 400185, crash with popupgroup, disallow using popupgroups and only create a frame for the native anonymous one, r+sr=bz 2007-12-20 06:46:12 -08:00
roc+@cs.cmu.edu
23f2ab8f1c Bug 363729. Don't allow fixed-pos tables to have abs-pos children. r=dholbert,sr=dbaron 2007-12-11 17:21:34 -08:00
smontagu@smontagu.org
fdfed24896 Only try to process first-letter frames when they exist. Bug 404209, r+sr+b=roc 2007-12-05 00:15:15 -08:00
reed@reedloden.com
2676ba7d90 Bug 368554 - "[quirks] Image inside table inside table-cell with small width is wrapped" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=roc a=blocking1.9+] 2007-12-03 01:24:49 -08:00
bzbarsky@mit.edu
db2d5658a7 Fix bug 404666 by making spanned colframes be continuations of the col that spans them. r=bernd, sr=roc, a=schrep 2007-12-02 23:45:06 -08:00
bzbarsky@mit.edu
67c45a668c Fix FindFrameWithContent to properly walk out-of-flows. Bug 405186, r+sr=roc, a=beltzner 2007-11-28 11:58:04 -08:00
bzbarsky@mit.edu
886b623f02 Fix bug 403134. r+sr=roc 2007-11-25 16:15:20 -08:00
ginn.chen@sun.com
7173fecc79 Bug 396799 Menus on the Application menu bar sometimes claim to be menuitems r=enndeakin, aaronleventhal sr=neil a=dsicore 2007-11-21 22:14:39 -08:00
bzbarsky@mit.edu
501a65e509 Don't pass around redundant information, so it can't get out of sync. Bug 404218, r+sr=roc, a=schrep 2007-11-19 20:21:29 -08:00
roc+@cs.cmu.edu
9fb6803953 Bug 403659. Instead of trying to move frames around in the hierarchy after we've discovered they should be inserted after ::before content, just construct them at the right position in the first place. r+sr=bzbarsky 2007-11-18 13:52:17 -08:00
bzbarsky@mit.edu
71abc8fcc3 The frame model depends on the span attribute, so changing span should reconstruct frames. Bug 403249, r=bernd, sr=roc 2007-11-18 10:56:49 -08:00
bzbarsky@mit.edu
4f4c78447d Fix bug 403733: dynamic legend insertion should not use text as valid siblings. r+sr=roc, a=schrep 2007-11-14 22:18:28 -08:00
bzbarsky@mit.edu
b0d7ea2d92 Don't assume that GetPrimaryFrameFor actually works correctly. Bug 403245, r+sr+a=roc 2007-11-11 16:47:50 -08:00
bzbarsky@mit.edu
014c686699 When invalidating the canvas, do a DEFERRED view batch to prevent us entering reflow under frame construction. Bug 402713, r+sr=roc, a=schrep 2007-11-11 11:09:45 -08:00
bzbarsky@mit.edu
9cd0d262bd Give placeholders for out-of-flow tables the right parent style context. Bug 403175, r+sr+roc, a=schrep 2007-11-11 11:07:11 -08:00
bzbarsky@mit.edu
d3d73c426f Use a stack array for the pending restyles unless there are lots of them. Bug 403113, r+sr+a=roc 2007-11-08 22:09:22 -08:00
bzbarsky@mit.edu
fa257f9f01 Give first-line and first-letter frames the right parent style context. Bug 398803, r+sr+a=roc 2007-11-08 21:29:06 -08:00
reed@reedloden.com
36828cf90a Bug 399940 - Prevent content duplication by having ContentRemoved tell us whether it already reconstructed frames and therefore ContentInserted need not be called [p=roc r+sr=bzbarsky a=blocking1.9+] 2007-11-07 20:39:02 -08:00
reed@reedloden.com
6e0f03d880 Bug 398733 - The first *continuation* for an element should be the abs-pos container frame, not just any one of its first-in-flows [p=roc r+sr=bzbarsky a=blocking1.9+] 2007-11-07 20:36:46 -08:00
dholbert@cs.stanford.edu
b5a99492d9 Bug 398797: let rel.-positioned inline-blocks be containing blocks for abs. content. r+sr=bz, a=blocking1.9+ 2007-11-07 12:00:51 -08:00
bzbarsky@mit.edu
52850476e4 Refactor and improve sibling frame finding, especially for popups. Bug 386642, r+sr=roc, a=vlad 2007-11-07 09:04:16 -08:00
dbaron@dbaron.org
30ac4ad5bf Make boxes that have non-box non-block children wrap all their children in a block. b=321402 r+sr=roc, a=blocking1.9+/M9 2007-10-25 16:30:49 -07:00
mats.palmgren@bredband.net
895714e955 Call WillDestroyFrameTree() before destroying the frame tree in ReconstructDocElementHierarchyInternal() because we have cleared the placeholder map etc at this point and we don't want RemoveMappingsForFrameSubtree() to mess with it. Also, remove the RemoveMappingsForFrameSubtree() call that was added in bug 372685 which was wrong since all the frames on a popupset's ::popupList are out-of-flows that are reachable (directly or indirectly) from a normal flow placeholder. b=398982 r+sr=bzbarsky a=dsicore 2007-10-23 17:02:26 -07:00
reed@reedloden.com
7e8456e8f3 Completely backout patch from Jonathan Steele in bug 399753 due to bustage. 2007-10-14 20:42:27 -07:00
reed@reedloden.com
2d9ccdb82c Bug 399753 - "Remove "nsISupportsArray" in the layout directory" [p=xfsunoles@gmail.com (Jonathan Steele) r+sr+a1.9=dbaron] 2007-10-14 20:09:59 -07:00
roc+@cs.cmu.edu
32b36ae07b Bug 397518. Wrap inline non-MathML children of MathML frames in anonymous blocks. r+sr=bzbarsky 2007-10-12 01:30:54 -07:00
bzbarsky@mit.edu
96ad8e0ecc Fix regression tests. Bug 398510 2007-10-10 22:17:18 -07:00
bzbarsky@mit.edu
8c78ae026d Don't allow first-letter on the block inside a mathml table cell. Bug 398510, r+sr+a=roc 2007-10-10 21:36:48 -07:00
bzbarsky@mit.edu
276625beed Fix bug 399219. r=roc, sr=neil, a=roc 2007-10-10 15:14:41 -07:00
bzbarsky@mit.edu
38e8f056cd Elimninate the last known source of bogus "wrong parent style context" warnings, and make these warnings into assertions. Bug 374297, r+sr+a=dbaron 2007-10-08 19:45:10 -07:00
bzbarsky@mit.edu
4aad5f643f Fix bug 398326. Make sure to let the frame constructor know before constructing frames. r+sr+a=dbaron. 2007-10-08 19:34:58 -07:00
roc+@cs.cmu.edu
bca6cbb9cb Bug 395331. Fix FindPrimaryFrameFor by noticing that an element can be in anonymous content if the binding root is a binding *ancestor*, not just a binding *parent*. r+sr=bzbarsy 2007-10-07 19:42:50 -07:00
mats.palmgren@bredband.net
c1ec42f835 Make the GetListBoxBody() call from the frame constructor not Flush_Frames. b=392285 r+sr=bzbarsky a=dsicore 2007-10-06 08:03:35 -07:00
dholbert@cs.stanford.edu
603542e4aa Bug 395316 - Clear OutOfFlowFrame after unregistering placeholder, and make recursive call to RemoveFrame. r/sr/a=roc 2007-10-02 20:44:18 -07:00
fantasai.cvs@inkedblade.net
2456fd7a33 paginate absolutely-positioned elements, b=154892 r+sr=roc a=roc 2007-10-01 22:57:45 -07:00
bzbarsky@mit.edu
7facde4eac Add asserts to catch dangerous cases. Bug 398108, r+sr+a=dbaron 2007-10-01 21:37:36 -07:00
bzbarsky@mit.edu
4f3efcd53f Make sure to be in an update when we do frame construction. Bug 393326, r+sr+a=dbaron 2007-09-30 20:15:45 -07:00
bzbarsky@mit.edu
8da8c9ce92 Fix content leak due to double-init of oveflow placeholders. Bug 397011, r+sr+a=roc 2007-09-21 18:24:40 -07:00
bzbarsky@mit.edu
e400c6fe35 Simplify reflow and restyle event processing a tad. Bug 396099, r+sr+a=roc 2007-09-20 19:47:19 -07:00
bzbarsky@mit.edu
97c97d8a5f Process XBL constructors after processing style reresolves. In particular, this makes sure that we process the former even if there were none of the latter. Bug 394676 and bug 394014, r=smaug, sr=sicking, a=roc 2007-09-14 12:15:44 -07:00
bzbarsky@mit.edu
fb39157dcc Fix bug 394111. r+sr+a=bzbarsky 2007-09-02 18:28:08 -07:00
bzbarsky@mit.edu
8f471f19e2 Fix bug 393671. r+sr+a=roc 2007-08-26 19:48:43 -07:00
bzbarsky@mit.edu
86d1efeea2 Fix crash bug 393517. r+sr=roc, a=dbaron 2007-08-26 17:20:52 -07:00
bzbarsky@mit.edu
8915bdf91c Set the property on the right frame. Bug 393649, r+sr=dbaron, a=roc 2007-08-26 17:18:25 -07:00
bzbarsky@mit.edu
28586b102c Be less noisy in debug builds. 2007-08-26 11:27:00 -07:00
joshmoz@gmail.com
713a948723 clean up some unused variables and calls. no bug. sr/a=bz 2007-08-19 23:33:14 -07:00
bzbarsky@mit.edu
a96dc350c6 Put back in an optimization that we apparently really do need. Bug 390425, r+sr+a=roc 2007-08-15 21:27:07 -07:00
bzbarsky@mit.edu
67785ffa97 Backing out test patch 2007-08-15 21:01:51 -07:00
bzbarsky@mit.edu
0a81e1e21e Testing a fix for the perfomrance regression. Bug 390425, no reviews, no approval, will back out once I have some data. 2007-08-15 20:14:48 -07:00
bzbarsky@mit.edu
71c361ac5f Relanding bug 390425, with attempted performance regression fix. r+sr+a=roc 2007-08-15 16:20:25 -07:00
aaronleventhal@moonset.net
4c1685120f Bug 390692. Fix live region support to provide useful information on the node that's being shown or hidden, or has a text change event. r=ginn.chen, sr=roc, a=roc 2007-08-10 18:44:44 -07:00
bzbarsky@mit.edu
6b5d9a0732 Back out bug 390425 to fix performance regression. 2007-08-10 15:55:21 -07:00
bzbarsky@mit.edu
e1604f73ea Simplify handling of {ib} splits. Bug 390425, r+sr=roc, a=dbaron 2007-08-10 13:02:11 -07:00
bzbarsky@mit.edu
b39ebf2258 Don;t process pseudo-frames if we're not going to actually create a replaced element frame (or in fact any frame at all, in this case!). Bug 391140, r=bernd, sr+a=roc 2007-08-10 10:18:11 -07:00
enndeakin@sympatico.ca
e400c46775 Bug 390420, select dropdowns appearing in the wrong place in some cases, r+bz,a=dbaron 2007-08-10 05:42:06 -07:00
bzbarsky@mit.edu
05d4d9dac1 Better handling of appending captions. Bug 387544, r=bernd, sr=roc, a=dbaron. 2007-08-07 18:19:04 -07:00
fantasai.cvs@inkedblade.net
579fff6da6 Bug 389619 - Duplicate frames for content in nested fixed-position divs, when on second page in print-preview, patch by dholbert, r+sr=roc, a=dbaron 2007-08-07 16:53:56 -07:00
fantasai.cvs@inkedblade.net
adbcc0b57c Bug 389767 - Regression: Fixed-position items are missing on 2nd page of print-preview, fixed on behalf of HP, r+sr=bzbarsky 2007-08-07 09:06:56 -07:00
bzbarsky@mit.edu
5f46a12fc6 Remove bogus assertion. Bug 314307, r+sr=roc, a=dbaron 2007-08-02 14:54:39 -07:00
bzbarsky@mit.edu
590e445e10 Make ContentInserted for captions more like ContentAppended and normal frame construction. Bug 386014, r=bernd, sr=roc, a=dbaron 2007-08-02 14:29:51 -07:00
bzbarsky@mit.edu
2b334a8c3b Don't set up counters for the anon cols set up by a <col span="n">. Bug 385866, r+sr+a=dbaron 2007-08-02 14:23:25 -07:00
bzbarsky@mit.edu
a6cb8ce553 Get the right style context for the blockframe containing an mtable. Bug
384649, r+sr=dbaron
2007-08-02 11:30:43 -07:00
bzbarsky@mit.edu
d56f30c35a Remove bogus assert. Bug 350128, r+sr=roc, a=dbaron 2007-08-02 11:11:44 -07:00
sharparrow1@yahoo.com
cfe1247a40 Bug 386266: Crash [@ nsFrameManager::UnregisterPlaceholderFrame] or assertions with -moz-column and float. r+sr=bzbarsky, a=blocking1.9+ 2007-08-02 10:20:45 -07:00
Olli.Pettay@helsinki.fi
81c89897e3 Backing out bug 275196, xml:id, to fix tp regression 2007-07-26 07:16:19 -07:00
Olli.Pettay@helsinki.fi
ad51500682 Bug 275196, xml:id, r=sicking, sr=dbaron 2007-07-26 05:22:01 -07:00
roc+@cs.cmu.edu
61373b8418 Bug 379349. Add support for 'overflow containers' --- special frame continuations that do not map any content of their own, but serve only as containers for laying out children that overflowed their parents' content height. patch by fantasai, r+sr=eli,roc 2007-07-25 21:03:29 -07:00
asqueella@gmail.com
b562b1a8cf Bug 388761 - fix MOZ_XUL-disabled builds
p=romaxa <romaxa@gmail.com>
r+sr=roc
2007-07-23 17:04:36 -07:00
asqueella@gmail.com
cb307ac952 fix bug 388709 - "ASSERTION: Please remove this from the document properly: '!IsInDoc()'" with :after, floating :first-letter
Store the generated content as a nsCOMArray<nsIContent>* property on frames to make its clean-up on frame destruction less fragile.

r+sr=roc
2007-07-23 16:31:11 -07:00
roc+@cs.cmu.edu
fd80a49090 Bug 385354. When appending the first child of an element with :before content, we need to make sure we append after the :before frames for the element. r+sr=dbaron 2007-07-18 21:25:17 -07:00
bzbarsky@mit.edu
a6139746d4 Propagate stylesheet principals through to XBL binding loads; streamline load
security checks in the XBL code (so that all the security checks are gated
through LoadBindingDocumentInfo).  Bug 204140, r=dbaron for the CSS changes,
r=sicking for the XBL changes, sr=sicking.

In particular, this change allows user stylesheets loaded from local files to
link to local files.
2007-07-18 14:56:57 -07:00
longsonr@gmail.com
457f9b193e Bug 375173 - svg switch occasionally displays multiple children. r+sr=roc 2007-07-13 02:58:48 -07:00
bzbarsky@mit.edu
a4c90a1d9d Make attribute changes that also cause a state change properly reresolve style
when a selector uses both the state and the attribute.  Bug 315920, r=dbaron,
sr=sicking.
2007-07-12 13:05:45 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
enndeakin@sympatico.ca
6c8197be5f Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, attempt 2 with creating widgets later, r=bz,neil,roc,sr=bz 2007-07-04 08:49:38 -07:00
roc+@cs.cmu.edu
ec7db48b9b Bug 383129. Don't treat tree-related XUL tags as special when they're root elements. r+sr=bzbarsky 2007-07-03 20:20:04 -07:00
bzbarsky@mit.edu
bc551193fe Menubars are special on OSX too. Bug 385880, r=bernd, sr=roc 2007-07-03 11:48:57 -07:00
longsonr@gmail.com
1f2be16ed9 Bug 384391 - make sure outer svg is constructed only for svg:svg. Revisited to fix crashes (bug 385840 and bug 385852). r+sr=roc 2007-07-02 05:20:13 -07:00
enndeakin@sympatico.ca
95deb19d78 Bug 279703, backing out the popup changes due to performance regressions. sigh. 2007-06-29 15:15:59 -07:00
enndeakin@sympatico.ca
6c59f4a6d3 Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, r=bz,neil,sr=bz 2007-06-29 12:04:45 -07:00
roc+@cs.cmu.edu
26f439cf9b Bug 383551. Clean up IsInlineFrame, nsStyleDisplay::IsBlockLevel and related methods. r+sr=dbaron 2007-06-26 19:31:35 -07:00
smontagu@smontagu.org
410eeef3a4 Remove unused argument 'aAttribute' in nsCSSFrameConstructor::StyleChangeReflow. Bug 382244, r+sr=dbaron 2007-06-24 02:35:22 -07:00
tor@cs.brown.edu
d22cf92ba6 Bug 384391 - maks sure outer svg is constructed only for svg:svg. r=bz, sr=roc 2007-06-21 08:05:05 -07:00
jwalden@mit.edu
386663f9bc Add an omitted word to a comment. 2007-06-15 14:37:03 -07:00
roc+@cs.cmu.edu
7cd4ee1cff Bug 366128. Restrict disabling of floats in XUL to cases where the container is not a float containing block. r+sr=bzbarsky 2007-06-13 02:13:25 -07:00
roc+@cs.cmu.edu
054b7d42be Bug 356325. Don't let WipeContainingBlock wipe out anonymous popops. Popups, decks and groupboxes are not really inline. r+sr=dbaron 2007-06-06 20:22:00 -07:00
roc+@cs.cmu.edu
fce2486aa2 Bug 322436. Disable floats inside XUL. r+sr=bzbarsky 2007-06-06 20:16:25 -07:00
sharparrow1@yahoo.com
888cd6828d Bug 381621: Get rid of nsBoxFrame::AddRef/Release, plus a few misc cleanups. r+sr=dbaron. 2007-05-22 13:34:00 -07:00
bzbarsky@mit.edu
24bc303d9e Use the right parent when resolving style contexts in IsValidSibling. Bug380096, r=bernd, sr=roc 2007-05-15 20:18:50 -07:00
Olli.Pettay@helsinki.fi
095492e4a3 Bug 379621, Call PostCreateFrames after creating all native anonymous frames, r+sr=roc 2007-05-10 11:16:00 -07:00
bzbarsky@mit.edu
fb38ef82f1 Rename some functiosn as suggested by dbaron. Bug 379799 followup. 2007-05-07 12:03:24 -07:00
bzbarsky@mit.edu
3f8cd7bd8c Better check for first-letter. Bug 379799, r+sr=dbaron 2007-05-07 10:57:33 -07:00
bzbarsky@mit.edu
1c6f84af69 Back out bug 377850 -- it regresses bug 71191, and causes bug 379920. 2007-05-06 23:51:57 -07:00
bzbarsky@mit.edu
3cb4bc9240 Change the FrameNeedsReflow API to pass the dirty flags to be added directly tothe method, instead of setting them before calling the method. That way we canavoid reflowing the ancestor of a reflow root which is not itself dirty but hasdirty children. This also makes it harder to set dirty bits inconsistentlywith the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' reviewon the mathml parts. 2007-05-06 12:16:51 -07:00
bzbarsky@mit.edu
2931d10719 Don't apply user stylesheets to native anonymous content. Bug 286895, r+sr=dbaron 2007-05-04 23:47:09 -07:00
bzbarsky@mit.edu
67c2d05514 Bail out of ReconstructDocElementHierarchy early if there is no root frame(which shouldn't even happen!). Bug 377850, r=mats, sr=dbaron 2007-05-04 23:12:44 -07:00
joshmoz@gmail.com
48cbd7d72e Remove nsINativeScrollbar and nsNativeScrollbarFrame. patch by Colin Barrett. b=379319 r=enn sr=dbaron 2007-05-02 00:46:50 -07:00
bzbarsky@mit.edu
c77758b510 Resolve the right (parentless) style context for a table as a document root,and fix the assertion when adjusting parent style context frames to not triggerin non-scrollable documents. Bug 378693, r+sr=roc 2007-04-25 19:26:25 -07:00
bzbarsky@mit.edu
fb91b11144 Don't use the same pseudo-element name to mean two different things. Bug377824, r+sr=dbaron 2007-04-20 14:27:02 -07:00
bzbarsky@mit.edu
2dca5abb0a Improve detection of blocks with first-letter style. Bug 372550, r+sr=dbaron 2007-04-15 17:42:54 -07:00
bzbarsky@mit.edu
357c10a896 Recalc quotes and counters before reflow. Bug 377216, r+sr=dbaron 2007-04-15 17:11:34 -07:00
bzbarsky@mit.edu
e6d41ebe8b Change the way we determine the style context parent frame to skip css anonboxes unless we're determining the style context parent for something that isitself 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 2007-04-15 16:14:26 -07:00
roc+@cs.cmu.edu
6300a5ee2e Bug 376223. Make frame construction for XUL listbox content grab pseudo frames if necessary. r+sr=bzbarsky 2007-04-13 09:50:57 -07:00
bzbarsky@mit.edu
4d9f2625eb Treat <mtable> as special, since the outermost frame it creates is not in facta table-related frame. Bug 374193, r=bernd, sr=rbs 2007-04-10 09:24:02 -07:00
bzbarsky@mit.edu
2fd17c94d8 Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc. 2007-03-30 14:11:41 -07:00
sharparrow1@yahoo.com
6fdcc6c041 Bug 372037: CSS clip property should clip the overflow rect as well as the paint rect; r+sr=roc. 2007-03-26 20:58:17 -07:00
enndeakin@sympatico.ca
d8627a0a9d Bug 374832, lower opacity on drag images, Bug 375038, dragging doesn't work on blocks inside inlines, r+sr=roc 2007-03-25 20:27:53 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00