Boris Zbarsky
8a3c92ef40
Bug 480880. Fix InvalidateCanvasIfNeeded callers and impl to actually work. r+sr=roc
2009-03-16 07:46:02 -04:00
Boris Zbarsky
8b7c54b7f2
Bug 482889 Part 3. Switch to a new algorithm for creating anonymous table objects. r=bernd, r+sr=roc
2009-03-15 16:01:48 -04:00
Boris Zbarsky
42f260732a
Bug 482889 Part 2. Refactor calls to CreateRequiredPseudoFrames so that they all happen in AdjustParentFrame. r=bernd, r+sr=roc
2009-03-15 15:57:46 -04:00
Boris Zbarsky
924a80cbbf
Back out the crasher test change from CLOSED TREE
2009-03-12 16:20:04 -04:00
Boris Zbarsky
122019be46
Test change to trigger a crash when trying to construct a table frame so we can test the new talos stack tooling, but should compile
2009-03-12 15:47:18 -04:00
Boris Zbarsky
81d4dd38af
Test change to trigger a crash when trying to construct a table frame so we can test the new talos stack tooling
2009-03-12 15:46:48 -04:00
Boris Zbarsky
0fec8a7842
Bug 482592. Use the right container in ContentInserted. r+sr=roc
2009-03-12 10:17:14 -04:00
Olli Pettay
68a0322fcd
Bug 478245 - Crash [@ nsEventStateManager::PreHandleEvent], r+sr=dbaron
2009-03-11 17:43:08 +02:00
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