Joshua Cranmer
1f24ef2b5e
Bug 856108 - Port static analyses to clang, part 2e: use MOZ_STACK_CLASS in layout. r=mats
2013-04-11 22:20:45 -05:00
Cameron McCormack
6ab1e6c141
Bug 860370 - Undo functionality change from bug 848973. r=roc
2013-04-11 18:40:12 +10:00
Aryeh Gregor
5925b452a5
Bug 857102 part 2 - Make NS_NewTextNode and nsIDocument::CreateTextNode infallible; r=bz
2013-04-04 15:01:08 +03:00
Cameron McCormack
5c2f7b821d
Bug 848973 - Make nsStyleDisplay::IsBlockInside() and friends work only on style structs for the passed in frame and document them. r=roc
...
--HG--
extra : rebase_source : a8559b62124bec058f2857d50cf7f65f176c3727
2013-04-07 09:40:07 +10:00
Ralph Giles
3c48dc5399
Bug 857022 - Remove MOZ_MEDIA from the layout module. r=cpearce
...
Enable this code unconditionally.
2013-04-04 15:08:00 -07:00
Trevor Saunders
384f492419
bug 856779 - remove nsFrameManager::Init() r=dholbert
2013-03-31 18:43:04 -04:00
Ms2ger
6b63a8f1e1
Bug 841488 - Part a: Rename nsHTMLSelectElement; r=khuey
...
--HG--
rename : content/html/content/src/nsHTMLSelectElement.cpp => content/html/content/src/HTMLSelectElement.cpp
rename : content/html/content/src/nsHTMLSelectElement.h => content/html/content/src/HTMLSelectElement.h
2013-04-04 09:03:33 +02:00
David Zbarsky
1b329dc515
Bug 847120: Remove nsIDOMSVGFilterPrimitiveStandardAttributes r=Ms2ger f=jwatt
2013-03-27 21:23:09 -04:00
Phil Ringnalda
0ecf218a04
Back out c04824522d46 (bug 848973) for (at least) 10.8 and Android reftest failures
...
CLOSED TREE
2013-03-26 23:31:57 -07:00
Cameron McCormack
eb903ad1da
Bug 848973 - Document what aFrame means in nsStyleDisplay::IsBlockInside() and friends. r=roc
2013-03-27 15:49:56 +11:00
Benoit Girard
042e2c83ad
Bug 851611 - Part 3: Rename headers. r=jrmuizel
...
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
c47f308258
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Daniel Holbert
29ec071b3e
Bug 782441 part 1: Add FCDATA_MAY_NEED_SCROLLFRAME bit to flex container display data. r=bz
2013-03-22 08:13:49 -07:00
Daniel Holbert
5f7e8d8551
Bug 851396: Keep skipping flex-item style fixup for anonymous content through the call to AddFrameConstructionItemsInternal, to handle style re-resolution after XBL bindings load. r=bz
2013-03-21 18:50:54 -07:00
Boris Zbarsky
55ab35ff80
Bug 852636. Remove unused argument of InitAndRestoreFrame. r=dholbert
2013-03-20 12:22:25 -04:00
Boris Zbarsky
09df8a13a2
Bug 852501 part 18. Make ConstructDocElementFrame return an nsIFrame*. r=dholbert
2013-03-19 21:47:53 -04:00
Boris Zbarsky
ecaf1673f9
Bug 852501 part 17. Make ConstructRootFrame infallible. r=dholbert
2013-03-19 21:47:53 -04:00
Boris Zbarsky
4b08d55e3f
Bug 852501 part 16. Make ConstructFrame infallible. r=dholbert
2013-03-19 21:47:53 -04:00
Boris Zbarsky
ba77815408
Bug 852501 part 15. Make ConstructFramesFromItem infallible. r=dholbert
2013-03-19 21:47:52 -04:00
Boris Zbarsky
fbcde91cd5
Bug 852501 part 14. Make FrameFullConstructor implementations infallible. r=dholbert
2013-03-19 21:47:52 -04:00
Boris Zbarsky
abcdce2c87
Bug 852501 part 13. Clean up ConstructSelectFrame a bit to get rid of unreachable codepaths. r=dholbert
2013-03-19 21:47:52 -04:00
Boris Zbarsky
a599775b41
Bug 852501 part 12. Make ConstructBlock infallible. r=dholbert
2013-03-19 21:47:52 -04:00
Boris Zbarsky
911773a691
Bug 852501 part 11. Make FlushAccumulatedBlock infallible. r=dholbert
2013-03-19 21:47:51 -04:00
Boris Zbarsky
2dbce7757a
Bug 852501 part 10. Make ProcessChildren infallible. r=dholbert
2013-03-19 21:47:51 -04:00
Boris Zbarsky
de2a737b06
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
86771199e9
Bug 852501 part 8. Make WrapFramesInFirstLetterFrame infallible. r=dholbert
2013-03-19 21:47:50 -04:00
Boris Zbarsky
00e1ca725b
Bug 852501 part 7. Make WrapFramesInFirstLineFrame and AppendFirstLineFrames infallible. r=dholbert
2013-03-19 21:47:50 -04:00
Boris Zbarsky
606fd387ed
Bug 852501 part 6. Make ConstructTextFrame infallible. r=dholbert
2013-03-19 21:47:50 -04:00
Boris Zbarsky
e21d019382
Bug 852501 part 5. Make InitAndRestoreFrame infallible. r=dholbert
2013-03-19 21:47:50 -04:00
Boris Zbarsky
a68da9e914
Bug 852501 part 4. Make CreateContinuingFrame infallible. r=dholbert
2013-03-19 21:47:49 -04:00
Boris Zbarsky
0c288b2f37
Bug 852501 part 3. Make some callees of CreateContinuingFrame infallible. r=dholbert
2013-03-19 21:47:49 -04:00
Boris Zbarsky
e094c81f8a
Bug 852501 part 2. Make nsFrameConstructorState::AddChild infallible. r=dholbert
2013-03-19 21:47:49 -04:00
Boris Zbarsky
ca181d9fa8
Bug 852501 part 1. Make CreatePlaceholderFrameFor infallible. r=dholbert
2013-03-19 21:47:48 -04:00
Boris Zbarsky
7f102d7f2d
Bug 852428 part 2. Make nsIFrame::Init infallible. r=dholbert
2013-03-19 21:47:48 -04:00
Boris Zbarsky
1cf2428a7f
Bug 852408. Don't reframe the parent if a frame whose next sibling is a table pseudo is removed, unless its prev sibling is also a table pseudo. r=dholbert
2013-03-19 21:47:47 -04:00
Trevor Saunders
9c54e14d23
bug 852379 - remove unecessary nsHashtable.h includes r=Ms2ger
2013-03-18 21:18:26 -04:00
Ed Morley
ab0833645c
Backed out changeset c75481a07302 (bug 851611)
2013-03-18 14:10:35 +00:00
Ed Morley
3091d3e2b6
Backed out changeset d195190adc48 (bug 851611)
...
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
b03f14270d
Bug 851611 - Part 3: Rename headers. r=jrmuizel
...
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
919018414b
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
L. David Baron
a70c8d346e
Bug 845837: Don't use our dynamic updating for relative positioning on inner table frames, which don't do relative positioning at all. r=ehsan
...
This is somewhat evil, but should get us back into the state we were in
before. There are probably other bugs lurking here as well, though,
related to other cases where we don't support relative positioning. We
really just need to make our relative positioning support more general.
2013-03-07 17:59:32 -08:00
Timothy Nikkel
142d0cee7a
Bug 848421. Part 2. Remove useless PresContext argument to nsCSSRendering::FindBackground. r=mats
2013-03-07 10:03:49 -06:00
David Zbarsky
df6170cf1a
Bug 847120: Stop QIing to nsIDOMSVGFilterPrimitiveStandardAttributes r=bz
2013-03-07 02:12:32 -05:00
Trevor Saunders
efd4042c8d
bug 846487 - remove remaining usage of some nsIDOMFooElement r=Ms2Ger
2013-02-14 10:33:16 -05:00
David Zbarsky
1afb5e9f82
Bug 846662 - Rename DOMSVGTests to SVGTests r=jwatt
...
--HG--
rename : content/svg/content/src/DOMSVGTests.cpp => content/svg/content/src/SVGTests.cpp
rename : content/svg/content/src/DOMSVGTests.h => content/svg/content/src/SVGTests.h
2013-03-02 01:08:42 -05:00
Daniel Holbert
7e4f92e029
Bug 844529: Disable flex-item style fixup when resolving style for anonymous content in nsCSSFrameConstructor::ProcessChildren(). r=bz
2013-02-26 21:44:55 -08:00
Daniel Holbert
7dd71ad03b
Bug 812822 part 3: Add a TreeMatchContext flag to indicate that we should skip flex item style fixup, and use it when framing anonymous content in ConstructFrame(). r=bz
2013-02-20 23:35:03 -08:00
Matt Woodrow
b6d1579a17
Bug 840480 r=roc
2013-02-20 13:13:01 +13:00
Mats Palmgren
e337bf4714
Bug 822910. r=roc
2013-02-19 02:44:14 +01:00
L. David Baron
c5b9eee040
Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
...
Except for the changes in:
layout/generic/nsIFrame.h (part)
layout/style/nsComputedDOMStyle.h (all)
layout/style/nsRuleNode.cpp (part)
layout/style/nsStyleContext.cpp (part)
layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Wes Johnston
54936aa0ff
Bug 838256, part 1 - Initial work on the layout pieces for <input type=range>. DONTBUILD separately from jwatt's changeset (the next one) to finish this work. r=dholbert for the combined diff.
2013-02-16 17:57:21 +00:00
L. David Baron
067fe7cbfb
Bug 841789, patch 3: Some removal of unneeded style context null-checks and comment cleanup. r=dholbert
2013-02-15 21:38:34 -08:00
L. David Baron
50d4e367af
Bug 841789, patch 1: Rename nsIFrame::GetStyleContext() to nsIFrame::StyleContext() since it can never return null. r=dholbert
...
This makes it conform to our convention that getters returning pointers
that can never be null do not begin with "Get".
2013-02-15 21:38:33 -08:00
Cameron McCormack
22ce5f58e0
Bug 841225 - Do not create frames for HTML elements within a <tspan>. r=bzbarsky
2013-02-14 17:23:52 +11:00
Robert O'Callahan
1b46f03fcc
Bug 836990. Put fixed-pos items in the abs-pos list of the container whenever it doesn't have a fixed-pos list. It's simpler this way and handles all edge cases. r=bzbarsky
2013-02-12 17:55:39 +13:00
Kang-Hao (Kenny) Lu
234e8a3e54
Bug 817395 - Clean up the temporary style context used for font size comparision of the root before the rule node tree is rebuilt. r=dbaron
2013-02-11 18:04:11 -08:00
Cameron McCormack
e7ff8972aa
Bug 655877 - Part 42a: Handle SVG text frame pref changes gracefully. r=bz,longsonr
2013-02-11 17:22:18 +11:00
Cameron McCormack
74c647ab16
Bug 655877 - Part 42: Construct new SVG text frames if the pref is set. r=bz
2013-02-11 17:22:18 +11:00
Cameron McCormack
9d4cb3bfde
Bug 655877 - Part 36: Make referenced text path updates cause SVG text relayout. r=longsonr,jwatt
2013-02-11 17:22:17 +11:00
Matt Woodrow
ef1378f2db
Bug 832611 - Use NotifyDestroyingFrame to remove frames from the OverflowChangedTracker. r=roc
2013-01-26 14:34:58 +13:00
Robert O'Callahan
675a081b5e
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
fa60034242
Backout 342c2b349402, bug 803192
2013-01-25 21:50:24 +13:00
Robert O'Callahan
328b0f390b
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
Bobby Holley
c865dc3ca6
Bug 833412 - Remove AddBinding/RemoveBinding and remove dead code. r=bz
2013-01-24 18:45:50 +01:00
Robert O'Callahan
537ea2ccc0
Backed out changeset e3ee71614172 (bug 830192)
...
--HG--
extra : rebase_source : d72290552011b539b8d9cc0a7a59dad4e585aa06
2013-01-23 18:19:45 +13:00
Robert O'Callahan
8ee4018a47
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
Matt Woodrow
1ba66c5c11
Bug 822906 - Use SplayTree to remove deleted frames from RestyleTracker. r=roc
2013-01-16 12:12:40 +13:00
Mats Palmgren
b7ae90666d
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Robert O'Callahan
7ab390b69a
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
Mounir Lamouri
a5c687b336
Bug 777283 - Adds <input type='time'> behind "dom.experimental_forms" pref. r=smaug
2013-01-08 17:10:00 +00:00
Cameron McCormack
c2964df438
Bug 508725 - Part 5: Record the <style scoped> elements in scope in preparation for selector matching. r=dbaron
2013-01-09 10:25:48 +11:00
Cameron McCormack
c067646b00
Backout bug 508725 (d267bb4b58b5, 50f71edffeb9, 6aec8e22fe60, e62e1f33958a, 0f146c435249, eb959b9f4862, 2b0ee42f3aa0, 02db01cd6796, 2ef0e517d43d, b650588e05c9 and a3c916829d56) for build failure on a CLOSED TREE.
2013-01-08 19:36:21 +11:00
Cameron McCormack
5000fec383
Bug 508725 - Part 5: Record the <style scoped> elements in scope in preparation for selector matching. r=dbaron
2013-01-08 19:09:23 +11:00
Ehsan Akhgari
1fc28fc2a4
Merge mozilla-central into mozilla-inbound
2013-01-05 16:00:35 -05:00
Daniel Holbert
58efdf22ec
(no bug) Clarify comment in ConstructFieldSetFrame (and fix typo s/list frame/fieldset frame/). comment-only, DONTBUILD
2013-01-05 11:52:53 -08:00
Robert O'Callahan
aba980bcb4
Bug 826632. Part 2: Use nsRefPtr<nsViewManager> instead of nsCOMPtr. r=tnikkel
...
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 7245e7c988a208471d8c860449ff7b06c29a4a52
2013-01-05 16:12:42 +13:00
Robert O'Callahan
970988bc3c
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
...
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Phil Ringnalda
d44dff5096
Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
...
CLOSED TREE
2013-01-04 21:30:14 -08:00
Daniel Holbert
b17ad863b0
Bug 824862: Don't skip over generated-content children of a flex container, even if they look like whitespace. r=bz
2013-01-04 20:05:44 -08:00
Robert O'Callahan
4464dc950d
Bug 826632. Part 2: Use nsRefPtr<nsViewManager> instead of nsCOMPtr. r=tnikkel
...
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : c9eabd54bb43d711a8c24222620abfdde674a1f7
2013-01-05 16:12:42 +13:00
Robert O'Callahan
0bda13504b
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
...
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
Robert O'Callahan
943cb99eff
Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
...
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.
--HG--
rename : view/public/nsIView.h => view/public/nsView.h
2013-01-04 02:23:11 +13:00
Robert O'Callahan
90b99242be
Bug 816359. Part 2: Make nsStyleDisplay::HasTransform take a frame parameter and check that the frame supports transforms. r=mats"
2012-12-31 11:45:57 +13:00
Robert O'Callahan
7df631d1f7
Bug 816359. Part 1: When constructing inline frames, we should never treat transforms as making the inline an abs-pos containing block, since transforms don't apply to inlines. r=bz
2012-12-31 11:45:51 +13:00
Ryan VanderMeulen
6a1e3408c7
Merge m-c to inbound.
2012-12-28 12:57:30 -05:00
Raphael Catolino
9ac55077bf
Bug 769385 - Add type attribute date for <input> behind "dom.experimental_forms" pref. r=mounir
2012-12-27 16:06:53 +00:00
Mats Palmgren
dff1cd0989
Bug 824641 - Move the destroyed frame check before any use of it. r=roc
2012-12-27 22:24:08 +01:00
Jonathan Watt
c9b0bd9db0
Bug 822378 - Update the overflow rects of the child frames when an nsSVGOuterSVGFrame's children-only transform changes. r=longsonr.
2012-11-29 18:24:14 +00:00
Jonathan Watt
57e52e7f84
Bug 802628 - Part 1, Kill nsSVGUtils::InvalidateAndScheduleReflowSVG. r=mattwoodrow.
2012-11-28 09:42:13 +00:00
Jonathan Watt
471ec1efe6
Bug 822025 - nsCSSFrameConstructor.cpp:9752:7: warning: variable 'wrapperType' is used uninitialized whenever switch default is taken. r=bz.
2012-11-27 11:49:01 +00:00
Jeff Walden
120886ca73
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Jonathan Watt
66b23e150b
Kill Windows line-endings in nsCSSFrameConstructor.cpp. r=me. No bug. DONTBUILD.
2012-11-26 08:14:23 +00:00
Trevor Saunders
8d7e7dd8d7
bug 781409 - remove nsITableLayout r=roc,davidb
2012-08-08 09:05:17 -04:00
Nathan Froyd
7f8c929215
Bug 820889 - convert PendingBinding to use mozilla::LinkedList; r=dholbert
2012-12-12 11:58:26 -05:00
Nicholas Cameron
c54f8d4754
Bug 780692; throttle OMTA (rollup patch). r=dbaron,bz
...
--HG--
extra : rebase_source : 1207275df5c509ac1974e2b9333c738b995f9d5e
2012-12-12 10:12:43 +13:00
Matt Woodrow
67ac0979d2
Bug 815666 - Use OverflowUpdateTracker to avoid calling UpdateOverflow on the same frame multiple times. r=roc
2012-12-10 15:33:04 +13:00
Robert O'Callahan
8e7070bef2
Bug 816458. Instead of removing the MAY_BE_TRANSFORMED bit in certain frame classes, add an nsIFrame::SupportsCSSTransforms method and call it when necessary. r=mats
2012-12-04 17:50:05 +13:00
Kartikaya Gupta
215585f6a7
Bug 814418 - Fix some warnings about unused variables. r=ehsan
2012-11-30 11:06:37 -05:00
Mats Palmgren
f128dda378
Bug 814677 - Replace XP_IS_SPACE with dom::IsSpaceCharacter and add form-feed to match DOM spec. r=bz
2012-11-30 17:04:11 +01:00
Mats Palmgren
575d13bff4
Bug 812665 - Look for placeholders in continuations and special siblings too. r=roc
2012-11-19 20:35:12 +01:00
Robert O'Callahan
d38f22466b
Bug 811301. Part 1: Save and restore state of root scroll frame when reframing the root element, and treat root scroll frame state like any other frame. r=mats
2012-11-14 22:39:58 -08:00
L. David Baron
e324dd1829
Bug 809533, patch 4: Remove null-checks of NS_New*Frame callers in the frame constructor. r=bzbarsky
2012-11-09 10:30:28 -08:00
Daniel Holbert
b4b593c4d3
Bug 783415 part 1: Make "display" value of flex items compute to their blockified forms. r=dbaron
2012-11-07 11:28:59 -08:00
Robert Longson
effb2dcdf7
Bug 779971 - Make nsSVGTextPathProperty::DoUpdate trigger nsSVGTextFrame::NotifyGlyphMetricsChange() off an asynchronous change hint (to avoid calling nsLayoutUtils::FrameNeedsReflow synchronously under nsISVGChildFrame::ReflowSVG or during frame teardown, and avoid infinite loops caused by using an event queue event). r=jwatt.
...
--HG--
extra : rebase_source : 4dc4e59cf423f6ffb02826fb2f357edda85c048c
2012-11-07 09:53:44 +00:00
Ed Morley
812bc7697e
Backout 99a2125bd365 (bug 779971) for reftest failures
2012-11-07 12:31:00 +00:00
Robert Longson
5b7369a366
Bug 779971 - Make nsSVGTextPathProperty::DoUpdate trigger nsSVGTextFrame::NotifyGlyphMetricsChange() off an asynchronous change hint (to avoid calling nsLayoutUtils::FrameNeedsReflow synchronously under nsISVGChildFrame::ReflowSVG or during frame teardown, and avoid infinite loops caused by using an event queue event). r=jwatt.
2012-11-07 09:53:44 +00:00
Robert Longson
85f28c270e
Move assertion up. r=jwatt. no bug. DONTBUILD.
...
--HG--
extra : rebase_source : cbe99f683de3407ceb40b35c96d3d80d3d4a76a8
2012-11-06 18:57:58 +00:00
Matt Woodrow
8a2c2a0e02
Bug 807563 - Update the overflow areas of all preserve-3d children when the transform changes. r=roc
2012-11-05 12:12:05 +13:00
Mats Palmgren
1a123c0b7d
Bug 806056 - Add a frame bit that says if a frame is allowed to have abs/fixed pos. children when the style so indicates (position/transform usually). Copy the bit to next-in-flows. Don't call MarkAsAbsoluteContainingBlock for style changes on an existing frame unless that bit is set (style changes that recreates the frame resets it of course). Assert in MarkAs[Not]AbsoluteContainingBlock() that the bit is set. r=bz
2012-11-02 01:52:59 +01:00
Jonathan Watt
5f62de0fcd
Bug 806964 - Stop calling UpdateOverflow on frames that are scheduled to be reflowed. r=roc.
2012-10-31 04:10:47 +00:00
Jacek Szpot
761b11160f
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
L. David Baron
12c8120dc8
Bug 804970, patch 5: Handle dynamic changes to the basis for 'rem' units by rebuilding all style data. r=bzbarsky
2012-10-26 19:04:20 +02:00
L. David Baron
ae03fa3b5b
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
Jonathan Watt
1d591da571
Bug 795592 - Stop calling nsIFrame::FinishAndStoreOverflow on NS_STATE_SVG_NONDISPLAY_CHILD frames. r=mattwoodrow.
2012-10-26 11:56:48 +01:00
Robert O'Callahan
935f4ee58f
Bug 804323. Mark newly-transformed frames as abs-pos containers (or not). r=bzbarsky
2012-10-26 22:11:24 +13:00
Ryan VanderMeulen
f531358b85
Backout 1ebc3b1b8feb, 205c1c846d70 (bug 801488), and e4367fd2043f (bug 804323) due to b-c crashes.
2012-10-25 07:53:36 -04:00
Robert O'Callahan
3de0463992
Bug 804323. Mark newly-transformed frames as abs-pos containers (or not). r=bzbarsky
2012-10-25 00:35:29 +13:00
Olli Pettay
ca0c91778b
Bug 793848, faster svg:use check, r=bz
2012-10-21 15:33:38 +03:00
Robert Longson
602db403b7
Bug 791826 - Fix crash with SVG preserveAspectRatio, position:fixed. r=jwatt
2012-10-20 11:03:35 +01:00
Peter Van der Beken
e4c543b77c
Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz.
...
--HG--
extra : rebase_source : 5dd51c4ad5274da9235c8c341b0531f234e95a91
2012-10-09 14:31:24 +02:00
David Zbarsky
45f6f3a578
Bug 799407: Enable FAIL_ON_WARNINGS in more of layout/ r=roc
2012-10-15 01:42:40 -04:00
Robert O'Callahan
c09d833bfb
Bug 795657. Don't reframe for adding a transform when absolute descendants are present, when the frame is already positioned. r=bz
...
--HG--
extra : rebase_source : 4c4fbbe51069b58a023c7f40f70f9f13efc487e1
2012-10-10 23:25:57 +13:00
Robert O'Callahan
d5a0e1a420
Bug 626245. Part 4: Compute plugin widget geometry updates via the refresh driver's painting, and defer actual widget updates until we've just composited the window. r=mats
...
Updating plugin widget geometry every time we paint means we don't have to
explicitly request plugin geometry updates.
This patch stops us from flushing plugin geometry changes in
FlushPendingNotifications(Flush_Layout). There are too many Flush_Layouts and
flushing plugin geometry changes on them produces frequent
desynchronization of the plugin geometry with the rendered window contents.
There is some Web compatibility risk there --- it means we have to change
our tests, for one thing --- but hopefully it's OK.
--HG--
extra : rebase_source : 87adde45795ea2cab362ed9df54e62c5cc97e16c
2012-10-07 02:03:23 +13:00
Boris Zbarsky
41e33df4f9
Bug 790265. Changes that might attach a binding (e.g. state changes on <object> elements) should trigger a frame construction attempt even for display:none elements, so the binding will get attached. r=dholbert
2012-10-05 23:50:55 -04:00
Chris Jones
d069aa6366
Bug 790505, part 4: If we're just updating the transform of a prerendered layer, then schedule an empty transaction to skip unnecessary display-list overhead. r=mattwoodrow,roc
2012-10-02 22:55:52 -07:00
Chris Jones
38cde694be
Back out bug 790505 for leaking
2012-10-03 00:21:08 -07:00
Chris Jones
3d0d3d6cab
Bug 790505, part 4: If we're just updating the transform of a prerendered layer, then schedule an empty transaction to skip unnecessary display-list overhead. r=roc
2012-10-02 22:55:52 -07:00
Ms2ger
fc5a75281c
Bug 793314 - Remove PtrBits; r=mounir,roc
2012-10-02 10:24:11 +02:00
Matt Woodrow
cee1aa3599
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
2012-08-29 17:39:31 +12:00
Ed Morley
aba3a8f5ef
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Matt Woodrow
4d096475d2
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
Mats Palmgren
5efcc4ab00
Bug 765621 - Drain the parent frame's overflow list before attempting to insert/append new child frames. r=bz
2012-09-18 01:05:05 +02:00
Daniel Holbert
5d107bb76c
Bug 791037: s/IsInlineOutside/IsInlineOutsideStyle/ in #ifdef MOZ_FLEXBOX code to fix compile error when flexbox is defined. r=dbaron (DONTBUILD because this is in code that's NPOTB for now)
2012-09-13 12:55:27 -07:00
L. David Baron
ac90d018cc
Add more profile labels for the separate parts of restyle processing. (Bug 790379) rs=cjones
2012-09-11 21:05:03 -07:00
Robert Longson
d6bf23f66c
Bug 783995 - enable animation of view element attributes. r=dholbert
2012-09-09 12:44:03 +01:00
L. David Baron
77cd0aa639
Rename nsChangeHint_ReflowFrame to nsChangeHint_AllReflowHints to make it clearer that it's the one that contains multiple bits. (Bug 789592, patch 2) r=bzbarsky
2012-09-07 15:57:06 -07:00
Cameron McCormack
0306878c88
Bug 655877 - Part 23a: Add white-space:-moz-pre-discard-newlines value with white space collapsing behavior like SVG's xml:space="preserve". r=roc,dbaron
2012-09-07 15:42:19 +10:00
Robert O'Callahan
33cd6a744c
Bug 787089. Rip out mUpdatePluginGeometryForFrame optimization. It's not known to be a significant win, and creates problems when prescontext ancestor chains are broken; the complexity probably isn't worthwhile. Also, soon (or now) we can rework plugin bounds computation to be use the display list built for rendering. r=matspal
...
--HG--
extra : rebase_source : 0394fcb5111b8b96b5f8ce48e20d6e5503f9ccf7
2012-09-05 22:30:10 +12:00
Ehsan Akhgari
0c5fa1f0c9
Bug 782062 - Do not attempt to move frames with views in their subtree without doing a reflow to prevent the view position from getting out of sync; r=roc
...
--HG--
extra : rebase_source : 2e4ea7d139dc953a4c3d525b15e5753fb585e057
2012-08-29 09:46:09 -04:00
Ehsan Akhgari
e368dc9c85
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
Aryeh Gregor
4e199a1679
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Robert O'Callahan
d2d218e577
Bug 691651. When an element changes between having a transform and not having one, don't reframe if we don't need to. r=dbaron
...
--HG--
extra : rebase_source : ed990c17d2501ea5f4d09dea56baeada41cd3f35
2012-08-10 23:16:49 +12:00
Cameron McCormack
ca73141a7d
Bug 655877 - Part 18: Ensure even line-ending white space SVG text frames are created. r=bz
2012-08-05 11:01:18 +10:00
Cameron McCormack
db1f06ec89
Bug 655877 - Part 17: Ensure non-SVG child elements of SVG text elements do not get frames. r=bz
2012-08-05 11:01:18 +10:00
Cameron McCormack
7670328c6c
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
5e22f14219
Bug 655877 - Part 15: Don't treat SVG text frames as being positioned. r=roc
2012-08-02 21:38:50 +10:00
Cameron McCormack
d7e9a93257
Bug 655877 - Part 14: Ignore float in SVG text frames. r=roc
2012-08-02 21:38:49 +10:00
Aryeh Gregor
c81630fddb
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Jonathan Watt
4b2601630f
Bug 776250 - Rename nsISVGChildFrame::UpdateBounds to nsISVGChildFrame::ReflowSVG to make it easier for non-SVG devs to understand the SVG code. r=roc.
...
--HG--
extra : rebase_source : 9c2d8f3d76dab1a842d6cc5607a13a49703061d6
2012-07-21 20:01:44 -04:00