Jonathan Watt
ee916d4351
Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas
...
--HG--
extra : rebase_source : ef075258c31973c4943b9b3a9229685a9bb83917
2014-09-10 11:45:42 +01:00
Jonathan Watt
13e1e5f79d
Bug 1062249 - Vastly simplify the various GetCanvasTM methods. r=longsonr
...
--HG--
extra : rebase_source : b0ba980a34c720bd3c3f3c95733083e92f0c0513
2014-09-08 12:28:50 +01:00
Jonathan Watt
7d2ad21e7e
Bug 1063073 - Make sure embedding elements that rely on an embedded SVG's intrinsic dimensions are resized if the SVG is late in loading. r=dholbert
2014-09-04 20:09:51 +01:00
Jonathan Watt
2ec303fb9e
Bug 932771, part 3 - Make PaintSVG painting work by passing transforms down, rather than walking up the tree using GetCanvasTM. r=longsonr
2014-08-29 20:42:07 +01:00
Jonathan Kew
50cb6e6264
bug 1046950 pt 4 - convert ComputeSizeWithIntrinsicDimensions to logical-coord parameters. r=smontagu
2014-08-24 15:34:57 +01:00
Jonathan Kew
a5a5cf98e5
bug 1046950 pt 2 - convert ComputeSize to use logical-coordinate parameters. r=smontagu
2014-08-24 15:34:44 +01:00
Jonathan Watt
ca40beec75
Bug 1049256, part 2 - Get rid of nsISVGChildFrame::FOR_HIT_TESTING. r=longsonr
2014-08-07 08:09:34 +01:00
Jonathan Watt
f35f4a70d1
Bug 1049256, part 1 - Convert SVG hit-testing to act on an SVG user space point instead of calling nsSVGUtils::GetCanvasTM(). r=longsonr
2014-08-07 08:09:31 +01:00
Jonathan Watt
9b5d6f46c6
Bug 1044666 - Make the svg.display-lists.hit-testing.enabled pref work properly. r=longsonr
2014-08-07 07:01:44 +01:00
Jonathan Kew
ce9cbe4216
bug 1031241 pt 1 - Rename Get{Min,Pref}Width to Get{Min,Pref}ISize throughout layout. r=dbaron,smontagu
2014-07-24 18:03:25 +01:00
Jonathan Watt
491f9fba82
Bug 1034115 - Stop creating CSS-px-to-dev-pixel matrices when doing SVG hit-testing. r=longsonr
2014-07-05 19:19:13 +01:00
Trevor Saunders
78966cf36b
bug 966059 - add nsIDocShell::GetWindow and GetDocument r=smaug
2014-01-09 21:03:47 -05:00
Mats Palmgren
399be41768
Bug 508665 - part 5, Make nsIFrame::Init require a nsContainerFrame* for the parent frame param. r=roc
2014-05-24 22:20:40 +00:00
Mats Palmgren
2831fb8a6a
Bug 508665 - part 4, Make nsCSSFrameConstructor use nsContainerFrame* for frames used as parent frames. r=roc
2014-05-24 22:20:40 +00:00
Mats Palmgren
8f8aed2ac4
Bug 1008917 - part 9,10, make DidReflow() return type 'void'. r=roc
2014-05-13 00:47:53 +00:00
Mats Palmgren
9795aca511
Bug 1008917 - part 2,3,4, make Reflow() return type 'void', and make a few reflow related helper methods 'void' too. r=roc
2014-05-13 00:47:52 +00:00
Wes Kocher
42253715d7
Backed out 11 changesets (bug 1008917) for apparently introducing an intermittent failure of B2G Crashtest-2 on a CLOSED TREE
...
Backed out changeset e2ab653f688a (bug 1008917)
Backed out changeset b52154d8d900 (bug 1008917)
Backed out changeset 2ab5b01da4de (bug 1008917)
Backed out changeset f7a38df1d44f (bug 1008917)
Backed out changeset 80304bb9a572 (bug 1008917)
Backed out changeset 10ed89a302e9 (bug 1008917)
Backed out changeset 161c41991d46 (bug 1008917)
Backed out changeset 25b2475d2368 (bug 1008917)
Backed out changeset b8000b31277c (bug 1008917)
Backed out changeset 9afa5e7715e1 (bug 1008917)
Backed out changeset 5c380c21351f (bug 1008917)
2014-05-12 15:47:41 -07:00
Mats Palmgren
c4f06b92d3
Bug 1008917 - part 9,10, make DidReflow() return type 'void'. r=roc
2014-05-12 17:40:29 +00:00
Mats Palmgren
a722b491f1
Bug 1008917 - part 2,3,4, make Reflow() return type 'void', and make a few reflow related helper methods 'void' too. r=roc
2014-05-12 17:40:28 +00:00
Arnaud Sourioux
e53280194e
Bug 974687 - Part 2: Fix more than 80cols issues caused by MOZ_OVERRIDE annotation. r=dholbert
2014-02-24 09:41:56 -05:00
Arnaud Sourioux
a127266e74
Bug 974687 - Part 1: Add about 300 MOZ_OVERRIDE in layout/. r=dholbert
2014-02-24 09:41:56 -05:00
Arnaud Sourioux
bad54e8894
Bug 974135: Get rid of NS_IMETHOD in nsISVGChildFrame.h and its implementations r=dholbert
2014-02-19 14:34:31 -08:00
Arnaud Sourioux
2d583fd28f
Bug 919806: Get rid of NS_IMETHOD in nsIFrame.h and its implementations r=dholbert
2014-02-17 23:47:48 -08:00
David Zbarsky
641e051120
Bug 952977: Switch GetBBoxContribution to gfx::Matrix r=nical
2013-12-30 01:50:07 -05:00
David Zbarsky
56c69a7b3f
Bug 952977: Switch IsSVGTransformed to gfx::Matrix r=nical
2013-12-29 18:35:53 -05:00
Jonathan Kew
a7837e1ffa
bug 735577 - pt 4.1 - use accessor functions for some physical-coordinate fields in nsHTMLReflowMetrics, in preparation for logicalization. r=smontagu
2013-12-27 17:59:52 +00:00
Jonathan Kew
954a119d07
bug 735577 - pt 3.2 - update the rest of layout code to use the new accessors on nsHTMLReflowState. r=smontagu
2013-12-27 17:59:21 +00:00
David Zbarsky
80f65de35f
Backout b04bd18e5692 for reftest failure
2013-12-26 15:13:57 -05:00
David Zbarsky
2b8f74cd56
Bug 952977: Switch PrependSVGTransform to gfx::Matrix r=nical
2013-12-26 13:06:54 -05:00
Robert Longson
159c018097
Bug 939775 - Remove UpdateTextFragmentTrees and nsSVGMutationObserver. r=dholbert
2013-12-23 09:40:50 +00:00
Trevor Saunders
ae517971ad
bug 947022 - type nsIPresShell::mForwardingContainer and nsPresContext::mContainer r=bz
2013-11-20 14:18:25 -05:00
Jonathan Watt
3e9c738eb3
Bug 889736, part 4 - Remove nsSVGTextContainerFrame. r=heycam
2013-11-18 14:29:53 +00:00
Jonathan Watt
a2e2acfb91
Bug 889736, part 1 - Remove nsSVGTextFrame and nsSVGGlyphFrame. r=heycam
2013-11-18 14:29:51 +00:00
Ehsan Akhgari
290feb1ade
Bug 921876 - Stop #including nsIFrame.h in nsLayoutUtils.h; r=roc
...
This patch does the following:
* Move nsIFrame::IntrinsicSize to mozilla::IntrinsicSize so that it can
be forward-declared.
* Move a number of templated inline nsLayoutUtils methods to nsIFrame.
* Use mozilla::layout::FrameChildListID instead of the
nsIFrame::ChildListID typedef in nsLayoutUtils.h.
* Move nsReflowFrameRunnable to its only user, nsProgressMeterFrame.cpp.
* Make a number of functions requiring nsIFrame.h out-of-line.
* Remove the nsIFrame.h #include from nsLayoutUtils.h and add it to the
places which require it implicitly.
2013-09-30 17:26:04 -04:00
Jonathan Kew
eb19dbaccf
bug 875329 - don't ignore transforms when rendering SVG-in-OT glyphs. r=heycam
2013-09-11 08:27:45 +01:00
Robert O'Callahan
03e7828db2
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
...
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Cameron McCormack
6fe54e2046
Bug 898909 - Reflow non-display SVG text under non-display outer <svg> frames. r=jwatt
2013-07-30 09:47:30 +10:00
Cameron McCormack
2a8880f043
Bug 890782 - Part 3: Inherit NS_FRAME_IS_NONDISPLAY by default. r=jwatt
2013-07-12 17:13:07 +10:00
Cameron McCormack
aab2e6c2f0
Bug 890782 - Part 2: Make NS_STATE_SVG_NONDISPLAY_CHILD a global state bit and rename it. r=jwatt
2013-07-12 17:13:07 +10:00
Daniel Holbert
7e1eec97eb
Bug 892108: Simplify a SVG check to use HasViewBoxOrSyntheticViewBox(). r=jwatt
2013-07-10 16:20:54 -07:00
Cameron McCormack
7135d9040a
Bug 873806 - Part 2: Make descendants of non-display nsSVGForeignObjectFrame also non-display. r=longsonr
2013-06-04 00:15:29 +10:00
Jonathan Watt
c616fe5064
Bug 378923 - Make non-root outer-<svg> respect |overflow:visible| (overflow="visible"). r=roc
2013-05-24 17:56:26 +01:00
Jonathan Watt
95b5af7754
Bug 875175 - Stop continuous reflow and invalidation of entire SVG when an element that is partially/wholly outside the viewport is subject to a transform animation. r=dbaron
2013-05-24 14:51:50 +01:00
Jonathan Watt
9899276072
Bug 874865 - Stop nsSVGOuterSVGFrame::AttributeChanged from calling ChildrenOnlyTransformChanged for transform attribute changes. r=longsonr
2013-05-23 08:04:21 +01:00
Jonathan Watt
612f292926
Bug 869781 - Make nsSVGOuterSVGFrame::Reflow update the overflow rects of its children if it has a viewBox. r=dholbert
2013-05-08 18:11:42 +01:00
Robert O'Callahan
613ea8adbd
Bug 841192. Part 14: Convert all usage of nsDisplayClip(RoundedRect) to use DisplayListClipState/DisplayItemClip. r=mattwoodrow
...
This patch does several things. Sorry.
In BuildDisplayList implementations, instead of wrapping display items in nsDisplayClip, we
push clip state onto the nsDisplayListBuilder and give the display items an
explicit clip when they're created.
In FrameLayerBuilder, we use the explicit clips we find on display items instead of
computing our own.
We remove nsDisplayClip and everything that depends on it.
We remove ExplodeAnonymousChildLists. With nsDisplayClip gone, and
nsDisplayOptionEventGrabber removed in a previous patch, there are no
anonymous child lists.
nsDisplayItem::TryMerge implementations need to make sure they have the same
clip before being merged.
I ripped out the part of PruneDisplayListForExtraPage that adjusts clip rects.
As far as I can tell, it isn't actually necessary.
--HG--
extra : rebase_source : 6f3988b385d0ac54ab26fad10b12173884441f48
2013-03-04 22:56:02 +13:00
Boris Zbarsky
7f102d7f2d
Bug 852428 part 2. Make nsIFrame::Init infallible. r=dholbert
2013-03-19 21:47:48 -04: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
Robert Longson
f5c4f10b18
Bug 785606 - Support viewBox=none from SVG 1.2 Tiny r=jwatt
2013-02-26 16:58:06 +00: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