Commit Graph

260 Commits

Author SHA1 Message Date
Jonathan Watt
7196f2ef59 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
65f992afec 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
dd8707fd23 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
602832e7f6 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
294cedd09d 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
0127877d37 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
c2ce7e67ab Bug 906790 - Minimize layout/base #includes; r=roc 2013-08-19 18:55:18 -04:00
L. David Baron
0354744354 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
353bd7c399 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
fd2d870c15 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
a3a6516091 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
3fc13110af 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
568a0e9c03 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
6c2ebcbbff 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
0d7b3992fc 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
4546c52c30 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
bc7d984a44 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
8a324dc194 bug 856779 - remove nsFrameManager::Init() r=dholbert 2013-03-31 18:43:04 -04:00
Boris Zbarsky
04fb8c2cb8 Bug 852636. Remove unused argument of InitAndRestoreFrame. r=dholbert 2013-03-20 12:22:25 -04:00
Boris Zbarsky
df913c9f96 Bug 852501 part 18. Make ConstructDocElementFrame return an nsIFrame*. r=dholbert 2013-03-19 21:47:53 -04:00
Boris Zbarsky
a4d7b437f1 Bug 852501 part 17. Make ConstructRootFrame infallible. r=dholbert 2013-03-19 21:47:53 -04:00
Boris Zbarsky
f4a1faf65e Bug 852501 part 16. Make ConstructFrame infallible. r=dholbert 2013-03-19 21:47:53 -04:00
Boris Zbarsky
e449bf4fb7 Bug 852501 part 15. Make ConstructFramesFromItem infallible. r=dholbert 2013-03-19 21:47:52 -04:00
Boris Zbarsky
3b9255c991 Bug 852501 part 14. Make FrameFullConstructor implementations infallible. r=dholbert 2013-03-19 21:47:52 -04:00
Boris Zbarsky
30c944818a Bug 852501 part 12. Make ConstructBlock infallible. r=dholbert 2013-03-19 21:47:52 -04:00
Boris Zbarsky
a75a81c666 Bug 852501 part 11. Make FlushAccumulatedBlock infallible. r=dholbert 2013-03-19 21:47:51 -04:00
Boris Zbarsky
d6f028e002 Bug 852501 part 10. Make ProcessChildren infallible. r=dholbert 2013-03-19 21:47:51 -04:00
Boris Zbarsky
0506bc3709 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
06edb2c468 Bug 852501 part 8. Make WrapFramesInFirstLetterFrame infallible. r=dholbert 2013-03-19 21:47:50 -04:00
Boris Zbarsky
530044675c Bug 852501 part 7. Make WrapFramesInFirstLineFrame and AppendFirstLineFrames infallible. r=dholbert 2013-03-19 21:47:50 -04:00
Boris Zbarsky
b1a4910924 Bug 852501 part 6. Make ConstructTextFrame infallible. r=dholbert 2013-03-19 21:47:50 -04:00
Boris Zbarsky
a71aa4e129 Bug 852501 part 5. Make InitAndRestoreFrame infallible. r=dholbert 2013-03-19 21:47:50 -04:00
Boris Zbarsky
f75d10efbe Bug 852501 part 4. Make CreateContinuingFrame infallible. r=dholbert 2013-03-19 21:47:49 -04:00
Boris Zbarsky
685b153f9f Bug 852501 part 3. Make some callees of CreateContinuingFrame infallible. r=dholbert 2013-03-19 21:47:49 -04:00
Boris Zbarsky
78b553c6e9 Bug 852501 part 1. Make CreatePlaceholderFrameFor infallible. r=dholbert 2013-03-19 21:47:48 -04:00
Matt Woodrow
2d2e695b90 Bug 840480 r=roc 2013-02-20 13:13:01 +13:00
Cameron McCormack
26ad150ad9 Bug 655877 - Part 42: Construct new SVG text frames if the pref is set. r=bz 2013-02-11 17:22:18 +11:00
Matt Woodrow
c219cc460e Bug 832611 - Use NotifyDestroyingFrame to remove frames from the OverflowChangedTracker. r=roc 2013-01-26 14:34:58 +13:00
Robert O'Callahan
63ac545cc9 Bug 830192. Integrate GetFixedContainingBlock into GetAbsoluteContainingBlock and ensure only elements which can be abs-pos containing blocks are turned into fixed-pos containing blocks when transformed. r=bzbarsky 2013-01-25 21:58:33 +13:00
Robert O'Callahan
d869cf0ec4 Backout 342c2b349402, bug 803192 2013-01-25 21:50:24 +13:00
Robert O'Callahan
8d583b393c Bug 830192. Integrate GetFixedContainingBlock into GetAbsoluteContainingBlock and ensure only elements which can be abs-pos containing blocks are turned into fixed-pos containing blocks when transformed. r=bzbarsky 2013-01-25 17:50:32 +13:00
Robert O'Callahan
8b40491377 Backed out changeset e3ee71614172 (bug 830192)
--HG--
extra : rebase_source : d72290552011b539b8d9cc0a7a59dad4e585aa06
2013-01-23 18:19:45 +13:00
Robert O'Callahan
cd0a72d12e Bug 830192. Integrate GetFixedContainingBlock into GetAbsoluteContainingBlock and ensure only elements which can be abs-pos containing blocks are turned into fixed-pos containing blocks when transformed. r=bzbarsky
--HG--
extra : rebase_source : 4d9bd92b23b1011a8ffba33d009615eb7f42a8a7
2013-01-23 17:06:12 +13:00
L. David Baron
28fa8b3991 Bug 588237, patch 4: Pull pushed floats back from the next-in-flow at the start of reflow. r=roc 2013-01-11 14:51:21 -08:00
Robert O'Callahan
0a7fb44e77 Bug 827577. Be a lot more careful about saving and restoring frame constructor state for fixed-pos descendants of CSS-transformed elements. r=bzbarsky
--HG--
extra : rebase_source : b78a8cb774b961696e59c2c27a8ade56d629b78f
2013-01-11 00:47:33 +13:00
L. David Baron
82a355217b Back out bug 588237, patches 2 through 5. 2013-01-10 22:20:16 -08:00
L. David Baron
411ecc3706 Bug 588237, patch 4: Pull pushed floats back from the next-in-flow at the start of reflow. r=roc 2013-01-10 21:14:51 -08:00
Nicholas Cameron
3575f84d30 Bug 780692; throttle OMTA (rollup patch). r=dbaron,bz
--HG--
extra : rebase_source : 1207275df5c509ac1974e2b9333c738b995f9d5e
2012-12-12 10:12:43 +13:00
Matt Woodrow
62137a7adb Bug 815666 - Use OverflowUpdateTracker to avoid calling UpdateOverflow on the same frame multiple times. r=roc 2012-12-10 15:33:04 +13:00
L. David Baron
bd2ade79c8 Bug 804970, patch 4: Refactor part of RebuildAllStyleData into a helper function (slightly reordering it), so that we can share that part. r=bzbarsky 2012-10-26 19:04:20 +02:00