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
Matt Woodrow
4e46ff4088
Bug 861042 - Manually invalidate frames with both opacity and svg effects, as this isn't caught by DLBI. r=roc
2013-04-15 18:55:32 +12:00
Joshua Cranmer
c7aade5e1f
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
da07344e3e
Bug 860370 - Undo functionality change from bug 848973. r=roc
2013-04-11 18:40:12 +10:00
Aryeh Gregor
c446dbef0c
Bug 857102 part 2 - Make NS_NewTextNode and nsIDocument::CreateTextNode infallible; r=bz
2013-04-04 15:01:08 +03:00
Cameron McCormack
d8dfb08d58
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
12b1c5bee2
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
39490e860d
bug 856779 - remove nsFrameManager::Init() r=dholbert
2013-03-31 18:43:04 -04:00
Ms2ger
5741bbe7d7
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
e1e3d03025
Bug 847120: Remove nsIDOMSVGFilterPrimitiveStandardAttributes r=Ms2ger f=jwatt
2013-03-27 21:23:09 -04:00
Phil Ringnalda
bad5ef10f3
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
3b054d3f86
Bug 848973 - Document what aFrame means in nsStyleDisplay::IsBlockInside() and friends. r=roc
2013-03-27 15:49:56 +11:00
Benoit Girard
fc10a7cfe4
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
9d12529d78
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Daniel Holbert
59e04090a3
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
fed2c3e17c
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
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
a9523a1b53
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
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
Boris Zbarsky
113643ecba
Bug 852501 part 2. Make nsFrameConstructorState::AddChild infallible. r=dholbert
2013-03-19 21:47:49 -04:00
Boris Zbarsky
cde37d0ea8
Bug 852501 part 1. Make CreatePlaceholderFrameFor infallible. r=dholbert
2013-03-19 21:47:48 -04:00
Boris Zbarsky
f1589419f5
Bug 852428 part 2. Make nsIFrame::Init infallible. r=dholbert
2013-03-19 21:47:48 -04:00
Boris Zbarsky
3ae155561c
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
8b11739fc1
bug 852379 - remove unecessary nsHashtable.h includes r=Ms2ger
2013-03-18 21:18:26 -04:00
Ed Morley
b2109c458f
Backed out changeset c75481a07302 (bug 851611)
2013-03-18 14:10:35 +00:00
Ed Morley
2b1775b4e9
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
664cf994b4
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
c4c6a0ddf5
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
ee2a65ef6f
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
2b0ae273b3
Bug 848421. Part 2. Remove useless PresContext argument to nsCSSRendering::FindBackground. r=mats
2013-03-07 10:03:49 -06:00
David Zbarsky
93d6530216
Bug 847120: Stop QIing to nsIDOMSVGFilterPrimitiveStandardAttributes r=bz
2013-03-07 02:12:32 -05:00
Trevor Saunders
c8fcbf60b7
bug 846487 - remove remaining usage of some nsIDOMFooElement r=Ms2Ger
2013-02-14 10:33:16 -05:00
David Zbarsky
4b238ed8af
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
76d2bd0bbf
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
e7503d88da
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
bfb6ac7eab
Bug 840480 r=roc
2013-02-20 13:13:01 +13:00
Mats Palmgren
17d5ff653f
Bug 822910. r=roc
2013-02-19 02:44:14 +01:00
L. David Baron
822b2ca3bc
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
e38c741da9
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
01a5b0481c
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
63fdfec174
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
3ce48446e5
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
41d2bedd9e
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
2519fe8873
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
441ad600ab
Bug 655877 - Part 42a: Handle SVG text frame pref changes gracefully. r=bz,longsonr
2013-02-11 17:22:18 +11:00
Cameron McCormack
a4183f9467
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
f7996933f5
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
5c4f0b1321
Bug 832611 - Use NotifyDestroyingFrame to remove frames from the OverflowChangedTracker. r=roc
2013-01-26 14:34:58 +13:00
Robert O'Callahan
ee19c95966
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
b253f0adac
Backout 342c2b349402, bug 803192
2013-01-25 21:50:24 +13:00
Robert O'Callahan
b6c051330b
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
5b106e3b14
Bug 833412 - Remove AddBinding/RemoveBinding and remove dead code. r=bz
2013-01-24 18:45:50 +01:00
Robert O'Callahan
37796928cc
Backed out changeset e3ee71614172 (bug 830192)
...
--HG--
extra : rebase_source : d72290552011b539b8d9cc0a7a59dad4e585aa06
2013-01-23 18:19:45 +13:00
Robert O'Callahan
a50bd28c0a
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
a93c05ed7b
Bug 822906 - Use SplayTree to remove deleted frames from RestyleTracker. r=roc
2013-01-16 12:12:40 +13:00
Mats Palmgren
6c53161814
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
322452e79f
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
6393630aee
Bug 777283 - Adds <input type='time'> behind "dom.experimental_forms" pref. r=smaug
2013-01-08 17:10:00 +00:00
Cameron McCormack
38c06ea95f
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
26873544a3
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
e4e4c560a0
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
2be7cfce19
Merge mozilla-central into mozilla-inbound
2013-01-05 16:00:35 -05:00
Daniel Holbert
279b2caeb5
(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
8eb09029ac
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
85884b1a4b
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
408fbe5931
Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
...
CLOSED TREE
2013-01-04 21:30:14 -08:00
Daniel Holbert
b42fb905c0
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
e8c3b8e1be
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
b56cdd701e
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
f9b9491b81
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
d4874041bb
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
67126508cf
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
c62c0bf43b
Merge m-c to inbound.
2012-12-28 12:57:30 -05:00
Raphael Catolino
957775fb4a
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
42686d4b8b
Bug 824641 - Move the destroyed frame check before any use of it. r=roc
2012-12-27 22:24:08 +01:00
Jonathan Watt
57022cacbe
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
f595fb2060
Bug 802628 - Part 1, Kill nsSVGUtils::InvalidateAndScheduleReflowSVG. r=mattwoodrow.
2012-11-28 09:42:13 +00:00
Jonathan Watt
b2a489d933
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
7146c23e80
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
46d96a0024
Kill Windows line-endings in nsCSSFrameConstructor.cpp. r=me. No bug. DONTBUILD.
2012-11-26 08:14:23 +00:00
Trevor Saunders
cdabdac86e
bug 781409 - remove nsITableLayout r=roc,davidb
2012-08-08 09:05:17 -04:00
Nathan Froyd
c5a5760d24
Bug 820889 - convert PendingBinding to use mozilla::LinkedList; r=dholbert
2012-12-12 11:58:26 -05:00
Nicholas Cameron
04002c184f
Bug 780692; throttle OMTA (rollup patch). r=dbaron,bz
...
--HG--
extra : rebase_source : 1207275df5c509ac1974e2b9333c738b995f9d5e
2012-12-12 10:12:43 +13:00
Matt Woodrow
f14a907820
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
af829db568
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