Commit Graph

276 Commits

Author SHA1 Message Date
Mats Palmgren
beb1dea11c Bug 508665 - part 4, Make nsCSSFrameConstructor use nsContainerFrame* for frames used as parent frames. r=roc 2014-05-24 22:20:40 +00:00
Mats Palmgren
285c9e041a Bug 508665 - part 3, Change GetContentInsertionFrame() to return a nsContainerFrame*, and return null for leaf frames. Deal with GetContentInsertionFrame() returning null in a couple of places. r=roc 2014-05-24 22:20:39 +00:00
Mats Palmgren
6af072cbc3 Bug 508665 - part 2, Move nsCSSFrameConstructor::GetFrameFor to a static function in nsCSSFrameConstructor.cpp. r=roc 2014-05-24 22:20:39 +00:00
Mats Palmgren
ac5e91a762 Bug 508665 - part 1, Change the signature of SetParent/GetParent from nsIFrame* to nsContainerFrame*. r=roc 2014-05-24 22:20:39 +00:00
Mats Palmgren
b0e008a8f9 Bug 1000376 - part 2, Implement frame construction part for anonymous grid items (reusing the anon flex item code). r=dholbert 2014-05-03 13:42:33 +00:00
Robert O'Callahan
1090d49625 Bug 983465. Disable collapsing-text frame construction optimization on a per-document basis. r=bz
--HG--
extra : rebase_source : fc2059ac826e001660fb7233d775f8a046467f6b
2014-04-03 03:48:51 -04:00
Daniel Holbert
8c8d7274be (no bug) Remove whitespace at end of line in nsCSSFrameConstructor. (whitespace-only, DONTBUILD) 2014-03-20 14:49:26 +08:00
Kyle Huey
84360900b0 Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg 2014-03-15 12:00:17 -07:00
Seth Fowler
394cb4eccf Bug 63895 (Part 2) - Support table parts as absolute containing blocks. r=dbaron 2014-03-10 15:41:17 -07:00
Seth Fowler
451d4a93d4 Backed out 3 changesets (bug 63895)
Backed out changeset ceafe92c7716 (bug 63895)
Backed out changeset 0199299ac111 (bug 63895)
Backed out changeset d78110a5cffa (bug 63895)

--HG--
extra : rebase_source : 76d8a63672dfdb000ff6db5d362231ed6e90c1bc
2014-03-06 16:59:56 -08:00
Seth Fowler
c731aa8fb7 Bug 63895 (Part 2) - Support table parts as absolute containing blocks. r=dbaron 2014-03-03 19:40:29 -08:00
Mats Palmgren
439708e205 Bug 976411 - Use ConstructFramesFromItemList in more places, and some minor cleanup. r=bz 2014-02-27 09:15:16 +00:00
Wes Kocher
3caf9fa516 Backed out 3 changesets (bug 63895) for debug crashtest failures on a CLOSED TREE
Backed out changeset 02e057fea56c (bug 63895)
Backed out changeset 80bd36a3d4f1 (bug 63895)
Backed out changeset 6609365ee797 (bug 63895)
2014-02-19 17:35:03 -08:00
Seth Fowler
d071eb48b2 Bug 63895 (Part 2) - Support table parts as absolute containing blocks. r=dbaron 2014-02-19 16:03:30 -08:00
L. David Baron
653e952e94 Bug 91419 patch 9: Fix comments and debugging output referring to "special" frames. r=mats 2014-02-06 17:45:33 -08:00
L. David Baron
5a0b6907fd Bug 91419 patch 8: Miscellaneous function and variable name changes. r=mats 2014-02-06 17:45:32 -08:00
Jonathan Watt
f8f9233117 Bug 946184 - Make sure that we reframe the nsIAnonymousContentCreator if any nsIAnonymousContentCreator::ContentInfo created content needs reframing. r=bz 2013-12-11 11:41:51 +00:00
Ehsan Akhgari
180798444f Bug 922933 - Don't #include nsIDocument.h in nsIContent.h; r=jst
--HG--
extra : rebase_source : 51f56fa27604224eacc2ba384bb826c49f4f917f
2013-10-02 07:40:07 -04:00
Jonathan Watt
1d369668c1 Bug 917386 - Make frame construction handle trees of nsIAnonymousContentCreator::ContentInfo objects, including support for associating CSS pseudo-elements with deeply nested anonymous elements. r=bz 2013-10-01 22:51:29 +01:00
Jonathan Watt
dd6cd221ed Bug 920154 - Rename nsIContent's SetNativeAnonymous method to SetIsNativeAnonymousRoot to be clear that it should only be called for the root native anonymous element. r=bz
--HG--
extra : rebase_source : 9be498a3ae51a4a4587c8035cb7bc58002b3a268
2013-09-24 21:29:27 +01:00
Robert O'Callahan
3557460947 Bug 918185. When Range.getBoundingClientRect/getClientRects needs a textframe for a node, create one if the textframe was optimized away. r=bz 2013-09-19 16:23:48 +12:00
Cameron McCormack
f5495def59 Bug 874507 - Make clip-path, filter, mask and opacity work on <marker> elements. r=longsonr 2013-09-16 15:06:29 +10:00
Ehsan Akhgari
5fa9157954 Bug 906790 - Minimize layout/base #includes; r=roc 2013-08-19 18:55:18 -04:00
L. David Baron
a187fb3edb Bug 896138 patch 4: Move restyle management code from nsCSSFrameConstructor to RestyleManager. r=heycam
This moves restyling management out of nsCSSFrameConstructor (thus
reducing its size), and keeps the restyling code closer together.

This is the first of two big chunks of code moved in this patch series.
A later patch in this series will move related code from nsFrameManager
into the same destination file.
2013-07-20 12:14:25 -07:00
L. David Baron
11ba191059 Bug 896138 patch 3: Remove forward declaration of struct that hasn't been in this class since changeset e0df6dfdaaca (Bug 479655 part 3). r=heycam 2013-07-20 12:14:24 -07:00
L. David Baron
247e5c9e81 Bug 896138 patch 1: Move RestyleTracker and OverflowChangedTracker out of nested namespace mozilla::css (which shouldn't exist) into namespace mozilla. r=heycam 2013-07-20 12:14:24 -07:00
Blake Kaplan
55ee93f1af Bug 653881 - Rework XBL insertion points and clean up related code to more closely follow the Web Components model. Instead of maintaining a hashtable of insertion points in bindings (and removing insertions points from the tree) leave the insertion points in the tree as explicit placeholders and teach all other relevant code how to walk the explicit children of elements via two iterators (ExplicitChildIterator and FlattenedChildIterator). Note that this patch does not maintain 100% compatibility with the previous code: there are bug fixes and behavior changes included. For example, by having explicit insertion points in the bindings, it is now easier to handle dynamic changes to the bound element correctly (as well as, eventually, handling dynamic changes to the binding correctly). Patch originally by sicking. r=bzbarsky
--HG--
extra : rebase_source : 6926ae8ea57b20f4067b16bd3d7bd85bda854756
2013-05-01 15:50:08 -07:00
Robert O'Callahan
fcc41b30be Bug 880854. Part 2: Support reflows/frame reconstruction in print/print-preview documents by promoting them to frame reconstruction of the whole document. r=mats
--HG--
extra : rebase_source : e81c5cd0f9da7bbcd876669c4b9de46dac825a5d
2013-06-18 23:41:30 +12:00
Daniel Holbert
cc7305fa0e Bug 864553 part 1: Remove ifdefs for MOZ_FLEXBOX and configure.in MOZ_FLEXBOX chunk. r=dbaron 2013-05-22 11:44:25 +08:00
Mats Palmgren
43d861e734 Bug 855898 - Limit ProcessChildren recursion depth to avoid exhausting stack space and crashing. r=bzbarsky 2013-04-23 13:37:18 +02:00
Robert O'Callahan
5667f99ae6 Bug 849996. Check the correct frame for transforms in PushAbsoluteContainingBlock --- it might not be the containing block itself. r=bzbarsky 2013-04-08 16:09:35 +12:00
Ms2ger
dbbebc6ee4 Backout changesets 3581b3d60886, cff9eab960e3, d390c8c21882 for Android foreignObject-fixedpos-01.html failures on a CLOSED TREE. 2013-04-16 11:40:41 +02:00
Robert O'Callahan
68755dbc46 Bug 849996. Check the correct frame for transforms in PushAbsoluteContainingBlock --- it might not be the containing block itself. r=bzbarsky 2013-04-08 16:09:35 +12:00
Trevor Saunders
39490e860d bug 856779 - remove nsFrameManager::Init() r=dholbert 2013-03-31 18:43:04 -04:00
Boris Zbarsky
3547bedd77 Bug 852636. Remove unused argument of InitAndRestoreFrame. r=dholbert 2013-03-20 12:22:25 -04:00
Boris Zbarsky
fe4c14002a Bug 852501 part 18. Make ConstructDocElementFrame return an nsIFrame*. r=dholbert 2013-03-19 21:47:53 -04:00
Boris Zbarsky
68a7204730 Bug 852501 part 17. Make ConstructRootFrame infallible. r=dholbert 2013-03-19 21:47:53 -04:00
Boris Zbarsky
188ec9ec7b Bug 852501 part 16. Make ConstructFrame infallible. r=dholbert 2013-03-19 21:47:53 -04:00
Boris Zbarsky
9d703bc62e Bug 852501 part 15. Make ConstructFramesFromItem infallible. r=dholbert 2013-03-19 21:47:52 -04:00
Boris Zbarsky
1decef9c67 Bug 852501 part 14. Make FrameFullConstructor implementations infallible. r=dholbert 2013-03-19 21:47:52 -04:00
Boris Zbarsky
1c4d98f411 Bug 852501 part 12. Make ConstructBlock infallible. r=dholbert 2013-03-19 21:47:52 -04:00
Boris Zbarsky
227592b6e1 Bug 852501 part 11. Make FlushAccumulatedBlock infallible. r=dholbert 2013-03-19 21:47:51 -04:00
Boris Zbarsky
a28af762c2 Bug 852501 part 10. Make ProcessChildren infallible. r=dholbert 2013-03-19 21:47:51 -04:00
Boris Zbarsky
2a08252320 Bug 852501 part 9. Optimistically make ConstructFramesFromItemList infallible in the hope that this is the only thing that makes other things fallible. r=dholbert 2013-03-19 21:47:51 -04:00
Boris Zbarsky
0b0cb0a89d Bug 852501 part 8. Make WrapFramesInFirstLetterFrame infallible. r=dholbert 2013-03-19 21:47:50 -04:00
Boris Zbarsky
50b9c6add1 Bug 852501 part 7. Make WrapFramesInFirstLineFrame and AppendFirstLineFrames infallible. r=dholbert 2013-03-19 21:47:50 -04:00
Boris Zbarsky
689494485a Bug 852501 part 6. Make ConstructTextFrame infallible. r=dholbert 2013-03-19 21:47:50 -04:00
Boris Zbarsky
e57a306d31 Bug 852501 part 5. Make InitAndRestoreFrame infallible. r=dholbert 2013-03-19 21:47:50 -04:00
Boris Zbarsky
ca163976eb Bug 852501 part 4. Make CreateContinuingFrame infallible. r=dholbert 2013-03-19 21:47:49 -04:00
Boris Zbarsky
460621132c Bug 852501 part 3. Make some callees of CreateContinuingFrame infallible. r=dholbert 2013-03-19 21:47:49 -04:00