Commit Graph

882 Commits

Author SHA1 Message Date
Boris Zbarsky
f508fc35f5 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
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
fa55d3fe1c Bug 852501 part 2. Make nsFrameConstructorState::AddChild 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
Boris Zbarsky
462f47d89e Bug 852428 part 2. Make nsIFrame::Init infallible. r=dholbert 2013-03-19 21:47:48 -04:00
Boris Zbarsky
f801eea794 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
324dfcc313 bug 852379 - remove unecessary nsHashtable.h includes r=Ms2ger 2013-03-18 21:18:26 -04:00
Ed Morley
4a0f5f39ca Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
47bc17c5f5 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
90f13c7e56 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
95a5b4c35f 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
713f97b07f 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
1e3bfd6883 Bug 848421. Part 2. Remove useless PresContext argument to nsCSSRendering::FindBackground. r=mats 2013-03-07 10:03:49 -06:00
David Zbarsky
f057c989f0 Bug 847120: Stop QIing to nsIDOMSVGFilterPrimitiveStandardAttributes r=bz 2013-03-07 02:12:32 -05:00
Trevor Saunders
8631e44d32 bug 846487 - remove remaining usage of some nsIDOMFooElement r=Ms2Ger 2013-02-14 10:33:16 -05:00
David Zbarsky
26c2ece3bf 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
1a693ffe99 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
4987835a8d 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
2d2e695b90 Bug 840480 r=roc 2013-02-20 13:13:01 +13:00
Mats Palmgren
b546ef5ec6 Bug 822910. r=roc 2013-02-19 02:44:14 +01:00
L. David Baron
5ef4421fa5 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
daa8624c27 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
f3cff43ce7 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
b387f0fbea 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
b23fedc2f1 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
36e6c475bf 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
e6b942ca6a 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
6af0afcd5a Bug 655877 - Part 42a: Handle SVG text frame pref changes gracefully. r=bz,longsonr 2013-02-11 17:22:18 +11: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
Cameron McCormack
233ef5726d 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
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
Bobby Holley
ca53b9e294 Bug 833412 - Remove AddBinding/RemoveBinding and remove dead code. r=bz 2013-01-24 18:45:50 +01: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
Matt Woodrow
8a5da117b6 Bug 822906 - Use SplayTree to remove deleted frames from RestyleTracker. r=roc 2013-01-16 12:12:40 +13:00
Mats Palmgren
d5826be6d7 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
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
Mounir Lamouri
af0ede0616 Bug 777283 - Adds <input type='time'> behind "dom.experimental_forms" pref. r=smaug 2013-01-08 17:10:00 +00:00