Ed Morley
83427f0fe0
Merge mozilla-central to mozilla-inbound
2012-05-21 13:19:38 +01:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
L. David Baron
6f318c955b
Remove caching of current inflation container and its width from the pres context. (Bug 747720, patch 6) r=roc
...
This is no longer needed because we're getting the width from
nsFontInflationData and the null-ness of the container from
mInflationDisabledForShrinkWrap.
2012-05-20 22:18:28 -07:00
Jonathan Watt
ba87c24d19
Bug 756462 - Stop unnecessary propagating COORD_CONTEXT_CHANGED notifications to descendants of nsSVGInnerSVGFrame. r=longsonr.
2012-05-19 14:50:07 +01:00
Jonathan Watt
77bfd58e45
backout 0f4a08fb2e8e to see if it caused random orange (Bug 756122 - Clean up nsSVGUtils::PaintFrameWithEffects a little).
2012-05-18 12:21:24 +01:00
Jonathan Watt
a452a472b6
Bug 756122 - Clean up nsSVGUtils::PaintFrameWithEffects a little. r=longsonr.
2012-05-18 10:05:09 +01:00
Robert Longson
68d77a3a59
Bug 528332 - Implement non-scaling-stroke vector-effect. Part 2 - SVG changes r=dholbert
2012-05-18 09:34:25 +01:00
Robert Longson
da7b0caeee
Bug 512525 - Implement SVG Fragment Identifier parsing and animation hyperlinking - Part 2 main implementation. r=jwatt
2012-05-17 11:02:41 +01:00
Jonathan Watt
f418b57d69
Bug 734082 - Compute and store bounds and visual overflow bounds for both SVG leaf and container frames. r=roc.
2012-05-17 05:05:09 +01:00
Jonathan Watt
acf3e38285
Bug 614732 - Add prefs for enabling/disabling display-list hit-testing/painting. r=roc.
2012-05-17 05:05:04 +01:00
Jonathan Watt
26926fcb8b
Bug 755056 - nsSVGForeignObjectFrame's mRect should include its x/y offset. r=longsonr.
...
--HG--
extra : rebase_source : e60952de7b9e46ec023154bc64afc246b44994fe
2012-05-16 11:04:31 +01:00
Jonathan Watt
8912b17e05
Bug 754696 - Make nsSVGOuterSVGFrame call UpdateBounds on its children before calling FinishAndStoreOverflow. r=longsonr.
...
--HG--
extra : rebase_source : 00b21402c183c034e7e87575bad4ddaeed7985c1
2012-05-13 20:30:44 +01:00
Jonathan Watt
be041f4fe5
Bug 753713 - Fix indentation in nsSVGOuterSVGFrame::AttributeChanged prior to touching it in bug 734082. r=me.
2012-05-10 12:47:34 +01:00
Jonathan Watt
14342d950c
Bug 413960, part 2 - Stop sending out unnecessary COORD_CONTEXT_CHANGED/TRANSFORM_CHANGED notifications from nsSVGOuterSVGFrame. r=longsonr.
...
--HG--
extra : rebase_source : fa0e8a232559e19b9a151a34a8f235154327409b
2012-05-03 17:05:53 +01:00
Jonathan Watt
8056ad42af
Bug 413960, part 1 - Clean up and document various parts of misleading viewBox code. r=longsonr.
...
--HG--
extra : rebase_source : f9dc173b36d4afbce3a8e256f7aa90d9d231615a
2012-05-03 17:05:40 +01:00
Jonathan Watt
ee7eeea5af
Bug 407495 - Make SVG documents with percentage width/height respond to page zoom. r=roc.
...
--HG--
extra : rebase_source : c4c139693bb5d3b9086f7571dc3363c1c8b27ed5
2012-05-03 17:05:24 +01:00
John Daggett
15b7adf246
Bug 718539. Trim out old featureSettings string code. r=jkew
2012-04-26 15:27:08 +09:00
John Daggett
04c2cd9e64
Bug 718539. Initialize font features in gfxFontStyle from nsFont data. r=dbaron
2012-04-26 15:25:29 +09:00
L. David Baron
90733eea84
Add a font inflation data structure per block formatting context. (Bug 706193, patch 2) r=roc
...
This structure is per block formatting context because we have to make a
single inflation decision for things like consecutive runs of paragraphs
of text. Inflating some paragraphs and not others (within the same
sequence of adjacent paragraphs) based on the amount of text in each one
would be disastrous. Otherwise it's ideal for the units to be as small
as possible as long as they merge such sequences; therefore this uses a
definition corresponding to CSS's idea of elements that establish new
block formatting contexts.
2012-04-16 15:32:12 -07:00
Robert Longson
c8cc0fe2ef
Bug 736031 - getBBox returns incorrect results with empty containers. r=jwatt
2012-04-16 09:23:48 +01:00
Jonathan Watt
e0223efe12
Bug 745066 - Add comments documenting the declaration of nsSVGFilterInstance, its methods and its members. r=longsonr.
2012-04-13 14:22:06 +01:00
Robert Longson
11c200ab21
Bug 740627 - Fix assert if width/height of pattern is negative. r=dholbert
2012-03-31 11:47:18 +01:00
Ms2ger
fa526f509b
Backed out changeset a329aa4bc026; r=bustage
2012-03-31 13:23:37 +02:00
Robert Longson
592452bd22
Bug 740627 - Fix assert if width/height of pattern is negative. r=dholbert
2012-03-31 11:47:18 +01:00
Daniel Holbert
447d661eb8
Bug 740945: Remove dead code nsSVGLeafFrame.cpp. r=longsonr
2012-03-30 13:36:40 -07:00
Robert Longson
bf6be5e14a
Bug 739972 - Stop using GetChildAt in svg layout code. r=dholbert
2012-03-29 09:41:37 +01:00
Robert Longson
80a19ed452
Bug 739591 - Implement filter xlink:href support. r=roc
2012-03-28 12:31:47 +01:00
Jonathan Watt
f784c3667f
Bug 738929 - Speed up building of layout/svg/base/src by cleaning up #include directives in its source files. r=dholbert.
2012-03-26 12:58:59 +01:00
Jonathan Watt
c329caccea
Bug 738975 - Speed up building of layout/svg/base/src by dropping content/html/content/src from the include path. r=bz.
2012-03-26 12:58:59 +01:00
Hessam Salehi
2bda7efc98
Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg
2012-03-21 14:07:31 -04:00
Jonathan Watt
c3615631a4
Bug 736890 follow-up - Forward declare gfxMatrix using |struct|, not |class|. r=me.
2012-03-20 19:44:24 +00:00
Jonathan Watt
c4e6b7547e
Bug 736890 - Speed up building of layout/svg/base/src by cleaning up #include directives in its header files. r=dholbert.
2012-03-20 12:15:55 +00:00
Jonathan Watt
607557fa95
Bug 734079, part 2 - Use a mark and asynchronously sweep scheme (similar to HTML reflow) to invalidate and update SVG frame bounds. r=longsonr.
2012-03-20 12:15:53 +00:00
Jonathan Watt
858e883080
Bug 734079, part 1 - Remove the SuspendRedraw code and make SVGSVGElement.suspendRedraw a no-op. r=longsonr.
2012-03-20 12:15:53 +00:00
Nicholas Nethercote
e2181e8fb2
Bug 711895 - Tweak the warning options used for GCC builds (2nd attempt). r=waldo,derf,khuey,mhommey,jwatt.
2012-03-15 19:40:00 -07:00
Jonathan Watt
557c80bf6d
Bug 379709 - Avoid reflowing SVG twice during page load due to initially assuming we'll need space for a vertical scrollbar when the nsSVGOuterSVGFrame can tell us we won't. r=bz.
2012-03-19 08:34:19 +00:00
Jonathan Watt
796c3ddca9
Bug 736753 - Fix the includes in layout/svg/base/src so that we can stop including nsSVGSVGElement.h in nsSVGContainerFrame.h. r=longsonr.
2012-03-18 10:32:02 +00:00
Daniel Holbert
98b0d12882
Bug 732610 - Make nsIFrame::ComputeSize take a bitfield 'aFlags' instead of a bool 'aShrinkWrap'. r=dbaron
2012-03-16 11:01:05 -07:00
Robert Longson
9b626bf890
Bug 736031 - getBBox returns incorrect results with empty containers. r=jwatt
2012-03-15 11:42:54 +00:00
Jonathan Watt
42f8d5cb8b
Bug 734732 - Rename nsISVGChildFrame::SUPPRESS_INVALIDATION so it's not misleading. r=longsonr.
...
--HG--
extra : rebase_source : e12bd28657acceec99b7dc723149a72be1b9b75f
2012-03-11 15:53:36 +00:00
Jonathan Watt
d0f8c765b5
Bug 734656 - Add documenting comments to some SVG frame classes. r=longsonr.
...
--HG--
extra : rebase_source : 0663c60ccaa1a89041d47d3db109f1de2a2b9f92
2012-03-10 19:28:24 +00:00
Jonathan Watt
c4c53eae33
Bug 734656 - Make the NS_STATE_SVG_NONDISPLAY_CHILD classes easier to find. r=longsonr.
...
--HG--
extra : rebase_source : a3f882a4b0f8df3347288dff25c3bbb7be72332b
2012-03-10 19:28:06 +00:00
Robert Longson
a2019bab87
Bug 732836 - stop asserts when width or height attributes are removed from a use element. r=dholbert
2012-03-07 10:50:36 +00:00
Brian Birtles
ea818a8a3c
Bug 608161 - Don't rely on HasAttr to detect whether gradient attributes have values; r=longsonr
2012-03-06 15:58:40 +09:00
Robert Longson
f4b78cd17b
Bug 730658 - use element does not display properly when animated with set. r=dholbert
2012-03-03 09:21:09 +00:00
Jonathan Watt
1231ec9d1b
Bug 732429 - Move some code from nsSVGOuterSVGFrame::Paint to nsDisplaySVG::Paint. r=longsonr.
2012-03-02 23:38:36 +00:00
Jonathan Watt
c95a36849d
Bug 729562 - Make the SVG paint methods take an nsRenderingContext, and kill nsSVGRenderState. r=Bas.
2012-03-02 08:28:59 +00:00
Robert Longson
067cabc632
Bug 729996 - trailing spaces in text not properly ignored. r=dholbert
2012-02-24 10:20:53 +00:00
Boris Zbarsky
058571b211
Bug 640917. Treat foreignObject as a fixed position containing block. r=jwatt
...
--HG--
rename : layout/reftests/svg/foreignObject-dynamic-abspos-01.html => layout/reftests/svg/foreignObject-dynamic-fixedpos-01.html
rename : layout/reftests/svg/foreignObject-dynamic-abspos-01-ref.html => layout/reftests/svg/foreignObject-fixedpos-01.html
2012-02-21 18:01:41 -05:00
Boris Zbarsky
115115757e
Bug 728111. Fix the block inside foreignObject to really be the absolute containing block for its kids. r=roc
2012-02-21 18:01:40 -05:00