Ehsan Akhgari
45b9b9b617
Bug 906790 - Minimize layout/base #includes; r=roc
2013-08-19 18:55:18 -04:00
L. David Baron
bb2688431e
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
946fd9ba27
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
b9eb754656
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
d8846cdcec
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
2013-05-01 15:50:08 -07:00
Robert O'Callahan
9c45a84492
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
2013-06-18 23:41:30 +12:00
Daniel Holbert
a80d1a2bbd
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
45f0a32a3a
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
958f5d71c5
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
770e23b462
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
ac9319b5fc
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
d660001c98
bug 856779 - remove nsFrameManager::Init() r=dholbert
2013-03-31 18:43:04 -04:00
Boris Zbarsky
9f9428ab37
Bug 852636. Remove unused argument of InitAndRestoreFrame. r=dholbert
2013-03-20 12:22:25 -04:00
Boris Zbarsky
8b6c4f9b85
Bug 852501 part 18. Make ConstructDocElementFrame return an nsIFrame*. r=dholbert
2013-03-19 21:47:53 -04:00
Boris Zbarsky
fd5af1f7c5
Bug 852501 part 17. Make ConstructRootFrame infallible. r=dholbert
2013-03-19 21:47:53 -04:00
Boris Zbarsky
4751859547
Bug 852501 part 16. Make ConstructFrame infallible. r=dholbert
2013-03-19 21:47:53 -04:00
Boris Zbarsky
e98a5ea109
Bug 852501 part 15. Make ConstructFramesFromItem infallible. r=dholbert
2013-03-19 21:47:52 -04:00
Boris Zbarsky
b348e777e7
Bug 852501 part 14. Make FrameFullConstructor implementations infallible. r=dholbert
2013-03-19 21:47:52 -04:00
Boris Zbarsky
432dba6d1e
Bug 852501 part 12. Make ConstructBlock infallible. r=dholbert
2013-03-19 21:47:52 -04:00
Boris Zbarsky
1807a8bc67
Bug 852501 part 11. Make FlushAccumulatedBlock infallible. r=dholbert
2013-03-19 21:47:51 -04:00
Boris Zbarsky
ba384076ef
Bug 852501 part 10. Make ProcessChildren infallible. r=dholbert
2013-03-19 21:47:51 -04:00
Boris Zbarsky
be3510a709
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
64fe023b10
Bug 852501 part 8. Make WrapFramesInFirstLetterFrame infallible. r=dholbert
2013-03-19 21:47:50 -04:00
Boris Zbarsky
d8fcc43fbd
Bug 852501 part 7. Make WrapFramesInFirstLineFrame and AppendFirstLineFrames infallible. r=dholbert
2013-03-19 21:47:50 -04:00
Boris Zbarsky
cebf482ab7
Bug 852501 part 6. Make ConstructTextFrame infallible. r=dholbert
2013-03-19 21:47:50 -04:00
Boris Zbarsky
6eb40ab2a7
Bug 852501 part 5. Make InitAndRestoreFrame infallible. r=dholbert
2013-03-19 21:47:50 -04:00
Boris Zbarsky
639eb6a8a4
Bug 852501 part 4. Make CreateContinuingFrame infallible. r=dholbert
2013-03-19 21:47:49 -04:00
Boris Zbarsky
7a826da52d
Bug 852501 part 3. Make some callees of CreateContinuingFrame infallible. r=dholbert
2013-03-19 21:47:49 -04:00
Boris Zbarsky
3984eadd40
Bug 852501 part 1. Make CreatePlaceholderFrameFor infallible. r=dholbert
2013-03-19 21:47:48 -04:00
Matt Woodrow
077e43fa79
Bug 840480 r=roc
2013-02-20 13:13:01 +13:00
Cameron McCormack
f3895b919a
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
ff3aaa9711
Bug 832611 - Use NotifyDestroyingFrame to remove frames from the OverflowChangedTracker. r=roc
2013-01-26 14:34:58 +13:00
Robert O'Callahan
d6703b400a
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
769fb14d62
Backout 342c2b349402, bug 803192
2013-01-25 21:50:24 +13:00
Robert O'Callahan
b544816c1e
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
76ba206ebb
Backed out changeset e3ee71614172 (bug 830192)
2013-01-23 18:19:45 +13:00
Robert O'Callahan
2140da9c52
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-23 17:06:12 +13:00
L. David Baron
94304bc9b0
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
41b2ea6955
Bug 827577. Be a lot more careful about saving and restoring frame constructor state for fixed-pos descendants of CSS-transformed elements. r=bzbarsky
2013-01-11 00:47:33 +13:00
L. David Baron
7096d1618d
Back out bug 588237, patches 2 through 5.
2013-01-10 22:20:16 -08:00
L. David Baron
4aef4a7506
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
6edbdb7f5a
Bug 780692; throttle OMTA (rollup patch). r=dbaron,bz
2012-12-12 10:12:43 +13:00
Matt Woodrow
2f8ab51496
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
6a9cc15e4f
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
Ehsan Akhgari
243c878d26
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Cameron McCormack
c242bf70e1
Bug 655877 - Part 16: Treat all values of display other than 'none' as 'inline' in SVG text frames. r=roc
2012-08-02 21:38:51 +10:00
Cameron McCormack
28949e2f49
Bug 655877 - Part 4: Add FCDATA_ flag for SVG text. r=roc
2012-08-02 21:38:46 +10:00
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Jonathan Watt
ed61205e71
Bug 769742 - Account for nsSVGOuterSVGFrames' border/padding offset by giving nsSVGOuterSVGFrame an anonymous child to wrap its real children. r=roc.
2012-07-09 02:04:56 +01:00
Daniel Holbert
917cd2a0cb
Bug 666041 patch 2: Add "-moz-flex" & "-moz-inline-flex" values for "display" property. r=bz
2012-06-26 15:11:38 -07:00