Commit Graph

1851 Commits

Author SHA1 Message Date
David Zbarsky
a9a7aac680 Bug 833446: Remove nsIDOMSVGStopElement r=peterv 2013-02-02 15:23:18 -05:00
David Zbarsky
e46ee1bca2 Bug 833446: Remove nsIDOMSVGGradientElement and subclasses r=peterv 2013-02-02 15:23:16 -05:00
Daniel Holbert
f6e98b344d Bug 837004: Annotate some overridden methods in nsSVGContainerFrame as MOZ_OVERRIDE. r=jwatt 2013-02-01 08:01:49 -08:00
Mounir Lamouri
a96b05d0c8 Bug 833012 - Remove "nsContentUtils.h" inclusion from Element.h. r=Ms2ger 2013-01-31 23:11:49 +00:00
Johnny Stenback
3cc20b154a Fixing bug 836173. Stop leaking gfxPattern objects when using SVG with cairo. r=jwatt 2013-01-30 01:40:34 -08:00
David Zbarsky
4811eac7ed Bug 832154: Move SVGMarkerElement to mozilla::dom r=bz,longsonr
--HG--
rename : content/svg/content/src/nsSVGMarkerElement.cpp => content/svg/content/src/SVGMarkerElement.cpp
rename : content/svg/content/src/nsSVGMarkerElement.h => content/svg/content/src/SVGMarkerElement.h
2013-01-29 17:11:44 -05:00
Robert O'Callahan
4b6c8d2400 Backing out 306003528e10, 335160d7855a, dfc9d5651175, 0559d630dd89, 03c3ae8323bd: bug 835195, bug 832154, bug 831561 ... in a CLOSED TREE
--HG--
rename : content/svg/content/src/SVGMarkerElement.cpp => content/svg/content/src/nsSVGMarkerElement.cpp
rename : content/svg/content/src/SVGMarkerElement.h => content/svg/content/src/nsSVGMarkerElement.h
2013-01-29 22:45:50 +13:00
David Zbarsky
1085318980 Bug 832154: Move SVGMarkerElement to mozilla::dom r=bz,longsonr
--HG--
rename : content/svg/content/src/nsSVGMarkerElement.cpp => content/svg/content/src/SVGMarkerElement.cpp
rename : content/svg/content/src/nsSVGMarkerElement.h => content/svg/content/src/SVGMarkerElement.h
2013-01-29 03:50:56 -05:00
Daniel Holbert
2caf7e05de Bug 832440: Fix inconsistency on appUnitsPerDevPixels's signedness in gfxFont and its clients by converting all instances to be signed. r=jfkthame 2013-01-28 11:01:59 -08:00
Robert Longson
99cb944718 Bug 835030 - Remove svg.smil.enabled pref. r=dholbert 2013-01-27 19:30:21 +00:00
Robert Longson
e65213beb1 Bug 378716 - crash test 2013-01-26 21:28:56 +01:00
Cameron McCormack
2c37312dc2 Bug 828962 - Don't let xml:space="preserve" affect <foreignObject>. r=longsonr 2013-01-26 21:28:15 +11:00
Mats Palmgren
70c96c5bef Bug 344557 - Add crashtests. 2013-01-25 18:34:30 +01:00
David Zbarsky
e2d4944491 Bug 832153 - Convert SVGMaskElement to WebIDL r=bz 2013-01-23 15:59:46 -05:00
David Zbarsky
8bad5d1a74 Bug 832153: Move SVGMaskElement to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGMaskElement.cpp => content/svg/content/src/SVGMaskElement.cpp
rename : content/svg/content/src/nsSVGMaskElement.h => content/svg/content/src/SVGMaskElement.h
2013-01-23 15:59:06 -05:00
Ehsan Akhgari
7ee12cf191 Bug 833190 - Disable PGO on svg; a=me 2013-01-21 23:00:29 -05:00
David Zbarsky
2f19359c49 Bug 831669: Move SVGClipPathElement to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGClipPathElement.cpp => content/svg/content/src/SVGClipPathElement.cpp
rename : content/svg/content/src/nsSVGClipPathElement.h => content/svg/content/src/SVGClipPathElement.h
2013-01-18 14:52:40 -05:00
David Zbarsky
57e9b33a4b Bug 830230 - Convert SVGPatternElement to WebIDL r=bz 2013-01-16 15:51:00 -05:00
David Zbarsky
8826c06ce1 Bug 827174 - Remove nsIDOMSVGLocatable and nsIDOMSVGTransformable r=bz 2013-01-16 15:51:00 -05:00
David Zbarsky
f10e03cdcf Bug 830230: Move SVGPatternElement to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGPatternElement.cpp => content/svg/content/src/SVGPatternElement.cpp
rename : content/svg/content/src/nsSVGPatternElement.h => content/svg/content/src/SVGPatternElement.h
2013-01-16 15:51:00 -05:00
David Zbarsky
48f5bae1bb Bug 827182: Convert SVGUseElement to WebIDL 2013-01-16 15:50:59 -05:00
David Zbarsky
a69015e81b Bug 827182: Move SVGUseElement to mozilla::dom
--HG--
rename : content/svg/content/src/nsSVGUseElement.cpp => content/svg/content/src/SVGUseElement.cpp
rename : content/svg/content/src/nsSVGUseElement.h => content/svg/content/src/SVGUseElement.h
2013-01-16 15:50:58 -05: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
Cameron McCormack
bc2d799592 Bug 828805 - Implement SVG paint-order property. r=bz,roc 2013-01-13 10:27:53 +11:00
David Zbarsky
27fefcce81 Bug 827172: Move SVGPathElement to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGPathElement.cpp => content/svg/content/src/SVGPathElement.cpp
rename : content/svg/content/src/nsSVGPathElement.h => content/svg/content/src/SVGPathElement.h
2013-01-12 17:22:31 -05:00
Robert Longson
2cff5d6731 Bug 828246 - Prevent stroke from drawing, on SVG text with a stroke-width of 0. r=dholbert 2013-01-11 22:08:37 +00:00
Ms2ger
005d4fea5c Bug 825749 - Convert SVG gradient elements to WebIDL; r=bz
--HG--
rename : content/svg/content/src/nsSVGGradientElement.cpp => content/svg/content/src/SVGGradientElement.cpp
rename : content/svg/content/src/nsSVGGradientElement.h => content/svg/content/src/SVGGradientElement.h
2013-01-11 09:43:01 +01:00
David Zbarsky
7227513a94 Bug 825147: Convert SVGAElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGAElement.cpp => content/svg/content/src/SVGAElement.cpp
rename : content/svg/content/src/nsSVGAElement.h => content/svg/content/src/SVGAElement.h
2013-01-10 00:30:13 -05:00
David Zbarsky
c3bac23c38 Bug 827119: Convert SVGSVGElement to WebIDL r=bz 2013-01-09 18:02:47 -05:00
David Zbarsky
e7ce03e722 Bug 827119: Move SVGSVGElement to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGSVGElement.cpp => content/svg/content/src/SVGSVGElement.cpp
rename : content/svg/content/src/nsSVGSVGElement.h => content/svg/content/src/SVGSVGElement.h
2013-01-09 18:02:45 -05:00
Jonathan Watt
bc8a83065f Bug 820506 - Problem selecting image node in SVG when used with clip-path in certain condition. r=roc.
--HG--
extra : rebase_source : 874ed2a13f51dc5381909502f030cb4ca6c2a41e
2013-01-04 11:48:12 +00:00
David Zbarsky
f568f12d29 Bug 827197 - Remove some uses of nsIDOMSVGElement subclasses r=longsonr 2013-01-07 22:22:41 -05:00
David Zbarsky
a3aaae810c Bug 825834 - Move SVGViewElement to mozilla:::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGViewElement.cpp => content/svg/content/src/SVGViewElement.cpp
rename : content/svg/content/src/nsSVGViewElement.h => content/svg/content/src/SVGViewElement.h
2013-01-07 22:22:41 -05:00
Edwin Flores
904e957b56 Bug 798839 - Fix scaling of SVG glyphs inheriting outer object pattern under zooming r=roc 2013-01-08 11:03:44 +13:00
David Zbarsky
af6c0fe225 Bug 825732: Convert SVGTextPathElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGTextPathElement.cpp => content/svg/content/src/SVGTextPathElement.cpp
rename : content/svg/content/src/nsSVGTextPathElement.h => content/svg/content/src/SVGTextPathElement.h
2013-01-06 09:14:43 -05:00
David Zbarsky
ca38d12d8d Bug 825732: Convert SVGTextContentElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGTextContentElement.cpp => content/svg/content/src/SVGTextContentElement.cpp
rename : content/svg/content/src/nsSVGTextContentElement.h => content/svg/content/src/SVGTextContentElement.h
2013-01-06 09:14:43 -05:00
David Zbarsky
35604d01d3 Bug 825147: Convert SVGImageElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGImageElement.cpp => content/svg/content/src/SVGImageElement.cpp
rename : content/svg/content/src/nsSVGImageElement.h => content/svg/content/src/SVGImageElement.h
2013-01-06 04:32:01 -05:00
David Zbarsky
4494fc67d8 Bug 825147: Convert SVGForeignObjectElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGForeignObjectElement.cpp => content/svg/content/src/SVGForeignObjectElement.cpp
2013-01-06 01:25:55 -05:00
David Zbarsky
49bb7ff199 Bug 825147: Convert SVGSwitchElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGSwitchElement.cpp => content/svg/content/src/SVGSwitchElement.cpp
rename : content/svg/content/src/nsSVGSwitchElement.h => content/svg/content/src/SVGSwitchElement.h
2013-01-06 01:25:54 -05:00
David Zbarsky
1cad2b6a5a Bug 824229 Part 6: Move SVGGraphicsElement to mozilla::dom r=bz,longsonr
--HG--
rename : content/svg/content/src/nsSVGGraphicElement.cpp => content/svg/content/src/SVGGraphicsElement.cpp
rename : content/svg/content/src/nsSVGGraphicElement.h => content/svg/content/src/SVGGraphicsElement.h
2013-01-03 01:17:03 -05:00
Alexander Surkov
d4f193b7c9 Bug 822983 - Map SVG graphic elements to accessibility API, r=tbsaunde, longsonr 2013-01-04 13:26:00 +09:00
Masatoshi Kimura
9a4812e054 Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09:00
David Zbarsky
f88a3e128d Bug 817442 Part 10: Remove nsIDOMSVGPoint r=bz 2012-12-22 23:54:25 -05:00
Jonathan Kew
a76332437f Bug 823964 - Wrong bounds for scaled images. r=longsonr 2012-12-22 10:07:00 +00:00
Jonathan Watt
0900576d4c Bug 806432 - When creating the offscreen surface into which group opacity, mask or non-trivial-clipPath are painted, use the non-transformed visual overflow rect. r=roc. 2012-12-21 21:40:06 +00:00
Jonathan Watt
827b117cbe Crashtest for bug 813420 - "ASSERTION: Must not call under nsISVGChildFrame::ReflowSVG" with nested <svg> and dynamic marker. (Now WORKSFORME.) 2012-12-21 19:43:05 +00:00
Jonathan Watt
935330a0a2 Bug 767535 - "ASSERTION: How did we getting here, then?" 2012-12-21 19:13:48 +00:00
Jonathan Watt
5b2cfc1dea Bug 808318 - "ASSERTION: Children must have same reference frame" with SVG display lists disabled for painting. 2012-12-21 18:23:32 +00:00
Jonathan Watt
7b63518845 Bug 788831 - "ASSERTION: If display lists are enabled, only painting of non-display SVG should take this code path". r=longsonr.
--HG--
extra : rebase_source : 3625a395a7ef74fc566cb3ee58914be0e3da81d7
2012-12-21 10:00:39 +00:00
Cameron McCormack
154f38b92a Bug 793617 - Implement mask-type property. r=dbaron,longsonr 2012-12-21 11:15:22 +11:00
Robert Longson
ad7569cc5f Bug 791675 - Scaled shapes fail to draw sometimes r=jwatt. 2012-12-20 13:49:54 +00:00
Jonathan Watt
12fdf8dc38 Bug 813531 - Part 2: Stop reconstructing the entire SVG frame tree after the initial reflow of nsSVGOuterSVGFrame frames that have a viewBox. r=roc. 2012-12-18 02:25:16 +00:00
Jonathan Watt
e4722f2e70 Bug 813531 - Part 1: Fix pre-existing bugs by making sure we update the overflow areas of nsSVGOuterSVGFrame children when reflowing after a previous reflow that occurred when the viewport was zero-sized. r=roc. 2012-12-18 02:21:09 +00:00
Jonathan Watt
2a75ea0fc8 Bug 802628 - Part 2, Fix broken invalidation in ReflowSVG implementations. r=mattwoodrow. 2012-11-28 10:34:58 +00:00
Jonathan Watt
57e52e7f84 Bug 802628 - Part 1, Kill nsSVGUtils::InvalidateAndScheduleReflowSVG. r=mattwoodrow. 2012-11-28 09:42:13 +00:00
Mats Palmgren
4a453b2f3b Bug 820230 - Move PaintSVGGlyph and GetSVGGlyphExtents from nsContentUtils to nsSVGUtils. r=roc 2012-12-12 00:15:07 +01:00
Ed Morley
7980450712 Backout 2044222a3f1d (bug 820230) for build failures on a CLOSED TREE 2012-12-11 16:24:11 +00:00
Mats Palmgren
a8375e7e07 Bug 820230 - Move PaintSVGGlyph and GetSVGGlyphExtents from nsContentUtils to nsSVGUtils. r=roc 2012-12-11 16:45:51 +01:00
Robert Longson
aba24e2cf7 Bug 817439 r=dholbert 2012-12-05 10:59:26 +00:00
Edwin Flores
0c9f80a9ea Bug 789390 - Fix crash when using -moz-objectStroke paint value with transitions r=dbaron 2012-09-24 00:10:00 +12: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
Jonathan Watt
f6ebd75d11 Add warning comments to SVG frame container classes. No bug. DONTBUILD.
--HG--
extra : rebase_source : 7bca01b0786f2ef262f774f570ab37492c29ca47
2012-11-22 16:23:57 +00:00
Matt Woodrow
489b64c3b6 Bug 796847 - Make AdjustInvalidAreaForSVGEffects correctly adjust for the coordinate space of the input rect. r=dholbert 2012-11-28 17:06:07 +13:00
Robert Longson
a990f2bd30 Bug 812161 r=jwatt 2012-11-16 18:03:45 +00:00
Robert Longson
ad6ef3f12a Bug 805024 r=dholbert 2012-11-16 17:59:52 +00:00
Jonathan Watt
d61c5f3354 Testcase for Bug 780764 - "ASSERTION: null nsSVGPathGeometry frame" and crash.
--HG--
extra : rebase_source : 5b9b5224ded867b622613a41c535f8e335cfa549
2012-11-15 11:25:13 -08:00
Jonathan Watt
99437f1521 Testcase for Bug 780764 - "ASSERTION: null nsSVGPathGeometry frame" and crash. 2012-11-15 10:04:27 -08:00
Jonathan Watt
d44390ccb9 Testcase for Bug 778492 - SVG element too far outside viewBox crashes Firefox. 2012-11-15 10:04:00 -08:00
Jonathan Watt
9d4fdda686 Testcase for Bug 768087 - "ASSERTION: aFrame should be first continuation" in nsSVGEffects::GetFilterProperty. 2012-11-15 10:04:00 -08:00
Boris Zbarsky
05ba9f02c1 Bug 811449 part 8. Get rid of nsGenericElement. r=peterv 2012-11-14 14:10:08 -08:00
Ehsan Akhgari
2305a6fff8 Merge mozilla-central into mozilla-inbound 2012-11-07 17:24:27 -05:00
Ryan VanderMeulen
a516da2d3d Merge the last PGO-green inbound changeset to m-c. 2012-11-06 21:02:09 -05:00
Daniel Holbert
b74715b3f2 Bug 784061: add crashtest for this WORKSFORME bug. r=longsonr 2012-11-02 15:23:18 -07:00
Daniel Holbert
cbb09a311e Bug 612736: add crashtests for this WORKSFORME bug. r=longsonr 2012-11-02 15:23:16 -07:00
Robert Longson
bff7a1af2f Fix comment. r=jwatt. no bug. DONTBUILD.
--HG--
extra : rebase_source : 3dbbe95341f3acecf433dd7571b87a6296bbe37a
2012-11-06 19:13:25 +00:00
Robert Longson
d145b9db53 Fix comment. r=jwatt. no bug. DONTBUILD.
--HG--
extra : rebase_source : 780ad16e8432347096d81290140d91411a726cc1
2012-11-06 19:02:04 +00:00
Robert Longson
1ba271ebcd Bug 807919 - stop invalidating text bounds twice on updates. r=jwatt 2012-11-06 17:00:11 +00:00
Jonathan Watt
68136cd2db Crashtest for bug 782141 - (CVE-2012-3969) Heap-buffer-overflow in nsSVGFEMorphologyElement::Filter. r=me. 2012-11-06 14:06:06 +00:00
Robert Longson
0feceed4cd Bug 807355 - Only create marker effects if the content is markable. r=jwatt 2012-11-01 09:41:51 +00:00
Jonathan Watt
1e553ec4ef Bug 807213 - Stop creating nsSVGMarkerProperty objects for non-nsSVGPathGeometryFrame frames. r=roc. 2012-10-31 04:11:00 +00: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
Jonathan Watt
9e47f8b7e5 Bug 809328 - Stop using nsChangeHint_UpdateEffects in nsSVGRenderingObserver::DoUpdate overrides. r=roc.
--HG--
extra : rebase_source : 79d032ea6ad6275882ab675004d2e02b932d56d5
2012-11-07 13:54:55 +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
602db403b7 Bug 791826 - Fix crash with SVG preserveAspectRatio, position:fixed. r=jwatt 2012-10-20 11:03:35 +01:00
Josh Matthews
c8eb573b6f Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe 2012-10-12 12:11:23 -04:00
Josh Matthews
f905bcf9ea Bug 505385 - Part 13: Remove OnStopContainer and make OnStopDecode a true decode notification. r=joe 2012-10-12 12:11:22 -04:00
Josh Matthews
b84562cef3 Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe 2012-10-12 12:11:22 -04:00
Josh Matthews
138935b14a Back out bug 585385 for build bustage. 2012-10-11 21:58:24 -04:00
Josh Matthews
fcd1ce5c84 Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe 2012-10-11 21:34:24 -04:00
Josh Matthews
1d3700a537 Bug 505385 - Part 13: Remove OnStopContainer and make OnStopDecode a true decode notification. r=joe 2012-10-11 21:34:23 -04:00
Josh Matthews
abbb0715c2 Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe 2012-10-11 21:34:23 -04:00
Robert Longson
288013f5c7 Bug 793484 - Optimise simple gradients. r=jwatt 2012-10-06 13:52:32 +01:00
Cameron McCormack
7fc49e541b Bug 655877 - Part 23b: Add UA style sheet rules to map xml:space='preserve' to white-space:-moz-pre-discard-newlines on SVG text elements. r=jwatt 2012-10-04 07:32:35 +10:00
Isaac Aggrey
481e7dfb0b Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Matt Woodrow
30f635b6f8 Bug 539356 - Correctly invalidate SVG observers. r=roc 2012-08-29 17:49:16 +12:00
Matt Woodrow
daef8103fd Bug 539356 - Add an option for frames to invalid just a rect instead of the frame bounds. r=roc 2012-08-29 17:48:45 +12:00
Matt Woodrow
da86ec189f Bug 539356 - Part 9d - Make SVG support the new invalidation model. r=jwatt 2012-08-29 17:39:33 +12: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
7be72ad421 Bug 539356 - Correctly invalidate SVG observers. r=roc 2012-08-29 17:49:16 +12:00
Matt Woodrow
27184c37d8 Bug 539356 - Add an option for frames to invalid just a rect instead of the frame bounds. r=roc 2012-08-29 17:48:45 +12:00
Matt Woodrow
4d096475d2 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-08-29 17:38:58 +12:00
Alexandre Dumont
9bb8822425 Bug 596753: Flatten layout/svg/base/src into layout/svg. r=dholbert
--HG--
rename : layout/svg/base/src/Makefile.in => layout/svg/Makefile.in
rename : layout/svg/base/src/SVGFEContainerFrame.cpp => layout/svg/SVGFEContainerFrame.cpp
rename : layout/svg/base/src/SVGFEImageFrame.cpp => layout/svg/SVGFEImageFrame.cpp
rename : layout/svg/base/src/SVGFELeafFrame.cpp => layout/svg/SVGFELeafFrame.cpp
rename : layout/svg/base/src/SVGFEUnstyledLeafFrame.cpp => layout/svg/SVGFEUnstyledLeafFrame.cpp
rename : layout/svg/base/src/SVGViewFrame.cpp => layout/svg/SVGViewFrame.cpp
rename : layout/svg/base/src/nsISVGChildFrame.h => layout/svg/nsISVGChildFrame.h
rename : layout/svg/base/src/nsISVGGlyphFragmentNode.h => layout/svg/nsISVGGlyphFragmentNode.h
rename : layout/svg/base/src/nsISVGSVGFrame.h => layout/svg/nsISVGSVGFrame.h
rename : layout/svg/base/src/nsSVGAFrame.cpp => layout/svg/nsSVGAFrame.cpp
rename : layout/svg/base/src/nsSVGClipPathFrame.cpp => layout/svg/nsSVGClipPathFrame.cpp
rename : layout/svg/base/src/nsSVGClipPathFrame.h => layout/svg/nsSVGClipPathFrame.h
rename : layout/svg/base/src/nsSVGContainerFrame.cpp => layout/svg/nsSVGContainerFrame.cpp
rename : layout/svg/base/src/nsSVGContainerFrame.h => layout/svg/nsSVGContainerFrame.h
rename : layout/svg/base/src/nsSVGEffects.cpp => layout/svg/nsSVGEffects.cpp
rename : layout/svg/base/src/nsSVGEffects.h => layout/svg/nsSVGEffects.h
rename : layout/svg/base/src/nsSVGFilterFrame.cpp => layout/svg/nsSVGFilterFrame.cpp
rename : layout/svg/base/src/nsSVGFilterFrame.h => layout/svg/nsSVGFilterFrame.h
rename : layout/svg/base/src/nsSVGFilterInstance.cpp => layout/svg/nsSVGFilterInstance.cpp
rename : layout/svg/base/src/nsSVGFilterInstance.h => layout/svg/nsSVGFilterInstance.h
rename : layout/svg/base/src/nsSVGFilterPaintCallback.h => layout/svg/nsSVGFilterPaintCallback.h
rename : layout/svg/base/src/nsSVGForeignObjectFrame.cpp => layout/svg/nsSVGForeignObjectFrame.cpp
rename : layout/svg/base/src/nsSVGForeignObjectFrame.h => layout/svg/nsSVGForeignObjectFrame.h
rename : layout/svg/base/src/nsSVGGFrame.cpp => layout/svg/nsSVGGFrame.cpp
rename : layout/svg/base/src/nsSVGGFrame.h => layout/svg/nsSVGGFrame.h
rename : layout/svg/base/src/nsSVGGenericContainerFrame.cpp => layout/svg/nsSVGGenericContainerFrame.cpp
rename : layout/svg/base/src/nsSVGGenericContainerFrame.h => layout/svg/nsSVGGenericContainerFrame.h
rename : layout/svg/base/src/nsSVGGeometryFrame.cpp => layout/svg/nsSVGGeometryFrame.cpp
rename : layout/svg/base/src/nsSVGGeometryFrame.h => layout/svg/nsSVGGeometryFrame.h
rename : layout/svg/base/src/nsSVGGlyphFrame.cpp => layout/svg/nsSVGGlyphFrame.cpp
rename : layout/svg/base/src/nsSVGGlyphFrame.h => layout/svg/nsSVGGlyphFrame.h
rename : layout/svg/base/src/nsSVGGradientFrame.cpp => layout/svg/nsSVGGradientFrame.cpp
rename : layout/svg/base/src/nsSVGGradientFrame.h => layout/svg/nsSVGGradientFrame.h
rename : layout/svg/base/src/nsSVGImageFrame.cpp => layout/svg/nsSVGImageFrame.cpp
rename : layout/svg/base/src/nsSVGInnerSVGFrame.cpp => layout/svg/nsSVGInnerSVGFrame.cpp
rename : layout/svg/base/src/nsSVGInnerSVGFrame.h => layout/svg/nsSVGInnerSVGFrame.h
rename : layout/svg/base/src/nsSVGIntegrationUtils.cpp => layout/svg/nsSVGIntegrationUtils.cpp
rename : layout/svg/base/src/nsSVGIntegrationUtils.h => layout/svg/nsSVGIntegrationUtils.h
rename : layout/svg/base/src/nsSVGMarkerFrame.cpp => layout/svg/nsSVGMarkerFrame.cpp
rename : layout/svg/base/src/nsSVGMarkerFrame.h => layout/svg/nsSVGMarkerFrame.h
rename : layout/svg/base/src/nsSVGMaskFrame.cpp => layout/svg/nsSVGMaskFrame.cpp
rename : layout/svg/base/src/nsSVGMaskFrame.h => layout/svg/nsSVGMaskFrame.h
rename : layout/svg/base/src/nsSVGOuterSVGFrame.cpp => layout/svg/nsSVGOuterSVGFrame.cpp
rename : layout/svg/base/src/nsSVGOuterSVGFrame.h => layout/svg/nsSVGOuterSVGFrame.h
rename : layout/svg/base/src/nsSVGPaintServerFrame.cpp => layout/svg/nsSVGPaintServerFrame.cpp
rename : layout/svg/base/src/nsSVGPaintServerFrame.h => layout/svg/nsSVGPaintServerFrame.h
rename : layout/svg/base/src/nsSVGPathGeometryFrame.cpp => layout/svg/nsSVGPathGeometryFrame.cpp
rename : layout/svg/base/src/nsSVGPathGeometryFrame.h => layout/svg/nsSVGPathGeometryFrame.h
rename : layout/svg/base/src/nsSVGPatternFrame.cpp => layout/svg/nsSVGPatternFrame.cpp
rename : layout/svg/base/src/nsSVGPatternFrame.h => layout/svg/nsSVGPatternFrame.h
rename : layout/svg/base/src/nsSVGStopFrame.cpp => layout/svg/nsSVGStopFrame.cpp
rename : layout/svg/base/src/nsSVGSwitchFrame.cpp => layout/svg/nsSVGSwitchFrame.cpp
rename : layout/svg/base/src/nsSVGTSpanFrame.cpp => layout/svg/nsSVGTSpanFrame.cpp
rename : layout/svg/base/src/nsSVGTSpanFrame.h => layout/svg/nsSVGTSpanFrame.h
rename : layout/svg/base/src/nsSVGTextContainerFrame.cpp => layout/svg/nsSVGTextContainerFrame.cpp
rename : layout/svg/base/src/nsSVGTextContainerFrame.h => layout/svg/nsSVGTextContainerFrame.h
rename : layout/svg/base/src/nsSVGTextFrame.cpp => layout/svg/nsSVGTextFrame.cpp
rename : layout/svg/base/src/nsSVGTextFrame.h => layout/svg/nsSVGTextFrame.h
rename : layout/svg/base/src/nsSVGTextPathFrame.cpp => layout/svg/nsSVGTextPathFrame.cpp
rename : layout/svg/base/src/nsSVGTextPathFrame.h => layout/svg/nsSVGTextPathFrame.h
rename : layout/svg/base/src/nsSVGUseFrame.cpp => layout/svg/nsSVGUseFrame.cpp
rename : layout/svg/base/src/nsSVGUtils.cpp => layout/svg/nsSVGUtils.cpp
rename : layout/svg/base/src/nsSVGUtils.h => layout/svg/nsSVGUtils.h
rename : layout/svg/base/src/resources/content/svgBindings.xml => layout/svg/resources/content/svgBindings.xml
rename : layout/svg/base/src/svg.css => layout/svg/svg.css
2012-09-24 23:01:21 +02:00
Robert Longson
9f1158e270 Bug 567848 - Split content methods from nsSVGUtils into SVGContentUtils. r=dholbert
--HG--
rename : layout/svg/base/src/nsSVGUtils.cpp => content/svg/content/src/SVGContentUtils.cpp
rename : layout/svg/base/src/nsSVGUtils.h => content/svg/content/src/SVGContentUtils.h
2012-09-22 20:26:05 +01:00
Robert O'Callahan
f745e28a4c Bug 772726. Part 13: Fix handling of transforms in gfxTextObjectPaint. r=eflores,jwatt
gfxTextObjectPaint::GetFillPattern/GetStrokePattern should take the destination's CTM
as a parameter in order to set up the pattern matrix correctly, since the pattern matrix
is combined with the CTM by cairo/Thebes --- but we want the pattern rendering to be
independendt of the CTM, instead depending only on the TM set up when we initialized
the gfxTextObjectPaint.
We make SVGTextObjectPaint store matrices that map device space to pattern space.
2012-09-12 17:13:12 +12:00
Robert O'Callahan
f8eaf0bc83 Bug 772726. Part 6: Add NudgeToIntegers operation to Azure Matrix, add MultiplyAndNudgeToIntegers to gfxContext, and call it from SVG when we render path geometry, to ensure that small internal rounding errors in transforms don't cause unnecessary differences in rasterization of paths. r=bas 2012-09-05 12:15:52 +12:00
Edwin Flores
30485d3f14 Bug 790072 - Fix crash when using -moz-objectFill property outside SVG glyphs r=roc 2012-09-19 17:03:25 +12:00
Peter Van der Beken
6f38d2708d Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz.
--HG--
extra : rebase_source : 18e21a786b6a9cc2aeada52ba5ca3a2614cb596b
2012-09-05 22:49:53 +02:00
Arnaud Sourioux
a84a1b22ad Bug 733186: Annotate ~1000 methods with MOZ_OVERRIDE in /layout r=dholbert r=dbaron 2012-09-14 09:10:08 -07:00
David Anderson
09854d2b71 Merge from mozilla-central. 2012-09-10 12:16:38 -07:00
David Anderson
f4bf6ff039 Merge from mozilla-central. 2012-09-06 18:28:59 -07:00
David Anderson
f6eca6c7f0 Merge from mozilla-central.
--HG--
rename : js/jsd/jsd_scpt.c => js/jsd/jsd_scpt.cpp
rename : js/jsd/jsd_stak.c => js/jsd/jsd_stak.cpp
rename : js/jsd/jsd_val.c => js/jsd/jsd_val.cpp
2012-09-05 16:18:11 -07:00
David Anderson
25cb077cb2 Merge from mozilla-central.
--HG--
rename : js/src/sharkctl.cpp => js/src/devtools/sharkctl.cpp
rename : js/src/sharkctl.h => js/src/devtools/sharkctl.h
rename : js/src/MemoryMetrics.cpp => js/src/jsmemorymetrics.cpp
2012-08-29 17:57:37 -07:00
David Anderson
a77264d9fb Merge from mozilla-central.
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-29 17:51:24 -07:00
David Anderson
3b9fed8952 Merge from mozilla-central. 2012-08-22 16:09:24 -07:00
David Anderson
a264d0ebc8 Merge from mozilla-central. 2012-08-21 15:59:12 -07:00
David Anderson
f427cc76fa Merge from mozilla-central. 2012-08-16 14:04:20 -07:00
David Anderson
58e1815704 Merge from mozilla-central. 2012-08-15 14:22:26 -07:00
David Anderson
5c045998a5 Merge from mozilla-central. 2012-08-13 13:40:42 -07:00
David Anderson
ecf43e9ddf Merge from mozilla-central. 2012-08-10 14:50:20 -07:00
David Anderson
8d084d5b2e Merge from mozilla-central. 2012-08-08 15:09:49 -07: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
David Anderson
7ab97db10e Merge from mozilla-central. 2012-08-07 15:13:28 -07:00
David Anderson
f2b01e4cbb Merge from mozilla-central.
--HG--
rename : layout/base/nsFrameTraversal.cpp => layout/base/nsFrameIterator.cpp
rename : layout/base/nsFrameTraversal.h => layout/base/nsFrameIterator.h
rename : browser/modules/WebappsInstaller.jsm => toolkit/webapps/WebappsInstaller.jsm
2012-08-06 12:44:06 -07:00
David Anderson
f0e6ae1aeb Merge from mozilla-central. 2012-08-03 18:58:30 -07:00
Ehsan Akhgari
4a8bc9fd25 Bug 579517 follow-up: Remove NSPR types that crept in
--HG--
extra : rebase_source : 3fc28d51fcb5c63e417b0fe2b90fb6e1eb0cac63
2012-09-06 10:11:28 -04:00
Edwin Flores
1b68cbc146 Bug 719286 - Make SVG glyphs play nice with displaylist code r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores
a8ea4d5da0 Bug 719286 - Use -moz-objectValue keywords in SVG glyphs r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores
1b4129c7f5 Bug 719286 - Add support for -moz-objectFillOpacity and -moz-objectStrokeOpacity to SVG *-opacity fields in SVG glyphs r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores
f5a2675bcf Bug 719286 - Add support for -moz-objectFillOpacity and -moz-objectStrokeOpacity to CSS parser for SVG glyphs r=dbaron 2012-09-06 16:58:46 +12:00
Edwin Flores
4db701b991 Bug 719286 - Setup gfxTextObjectPaint wrapper for SVG glyphs to inherit outer text object paint r=roc 2012-09-06 16:58:46 +12:00
Edwin Flores
3b0fe9adec Bug 719286 - Add new gfxTextObjectPaint paint wrapper for use with SVG glyphs r=roc 2012-09-06 16:58:46 +12:00
Edwin Flores
4e81980066 Bug 719286 - Add support for objectfill and objectstroke values to CSS parser r=dbaron 2012-09-06 16:58:46 +12:00
Cameron McCormack
7e03b63996 Bug 655877 - Part 39: Get bounding boxes of SVG text using new text frames correctly. r=jwatt 2012-08-10 21:13:44 +10:00
Cameron McCormack
b040f67002 Bug 655877 - Part 30: Allow PathExtentsToMaxStrokeExtents to work with nsTextFrames. r=jwatt 2012-08-10 21:13:44 +10:00
Cameron McCormack
4efeaa9269 Bug 655877 - Part 1: Move some path drawing functions from nsSVGGeometryFrame to nsSVGUtils. r=jwatt 2012-08-10 21:13:43 +10:00
Cameron McCormack
7671ce8d57 Bug 655877 - Part 24: Add UA style sheet rule to inherit unicode-bidi on <text> to its anonymous block child. r=jwatt 2012-08-10 17:09:55 +10:00
Cameron McCormack
3d2ce33f14 Bug 655877 - Part 22: Add function for getting the 'is SVG text using CSS frames' pref. r=jwatt
--HG--
extra : rebase_source : 781039f078c347146299e66eef57b515fdc843a0
2012-08-08 21:46:06 +10:00
David Anderson
bd3a52c3e2 Merge.
--HG--
rename : content/base/src/nsGenericElement.h => content/base/public/FragmentOrElement.h
rename : content/base/src/nsGenericElement.cpp => content/base/src/FragmentOrElement.cpp
rename : gfx/thebes/nsCoreAnimationSupport.mm => gfx/2d/QuartzSupport.mm
2012-08-01 11:30:00 -07:00
Sergey Glushchenko
a2ebf3852f Bug 776429: Unify scattered M_PI definitions into mfbt/Constants.h r=dRdR 2012-08-06 13:32:11 -07:00
Robert Longson
655d6b15fd Bug 619964 - Implement FillPaint and StrokePaint filter sources. r=jwatt 2012-08-05 20:10:21 +01:00
Robert Longson
5c39e0f895 Bug 773467 - Make SVG patterns ignore their patternContentUnits attribute when their viewBox attribute is set. r=jwatt
--HG--
rename : layout/reftests/svg/viewBox-and-pattern-01.svg => layout/reftests/svg/viewBox-and-pattern-02.svg
rename : layout/reftests/svg/viewBox-and-pattern-01.svg => layout/reftests/svg/viewBox-and-pattern-03.svg
2012-07-31 11:17:11 +01:00
Jonathan Watt
26dfd38f11 Bug 768351 - "ABORT: Passed bad frame" with mask pointing at data: URL. r=roc.
--HG--
extra : rebase_source : ec2c0dd2b216a818cbe4c9526e198afb18f08c13
2012-07-30 20:14:18 +01:00
Jonathan Watt
d995281e36 Bug 776337 - "ASSERTION: Should not use nsSVGIntegrationUtils on this SVG frame". r=longsonr.
--HG--
extra : rebase_source : b72f0311607b5d4ae0fa28939a53728566b4bfd9
2012-07-31 00:20:06 +01:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Cameron McCormack
8d3613cdb5 Bug 655877 - Part 8: Ignore letter-spacing in SVG text frames. r=roc 2012-08-02 21:38:47 +10:00
Robert Longson
489a806b3f Bug 757751 - attribute updates on non-rendered svg elements result in an abort. r=jwatt 2012-08-15 12:58:06 +01:00
Cameron McCormack
0bb2ab1660 No bug - Comment fix now that InvalidateAndScheduleBoundsUpdate has been renamed to InvalidateAndScheduleReflowSVG. DONTBUILD 2012-08-27 17:51:48 +10:00
David Zbarsky
c6b51c42c1 Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones 2012-07-30 17:42:26 -07:00
Matt Brubeck
bf73b59537 Back out 7ac323ff812e (bug 768351) because crashtests/768351.svg fails with an unexpected assertion 2012-07-30 15:09:22 -07:00
Jonathan Watt
69799e28b1 Bug 768351 - "ABORT: Passed bad frame" with mask pointing at data: URL. r=roc. 2012-07-30 20:14:18 +01: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
b82eee1846 Bug 776747 - Talos Regression :( SVG, Opacity Row Major increase 4.54%. r=roc. 2012-07-30 01:35:26 +01:00
Robert Longson
938bb2b0cf Bug 777476 - text bounding boxes should ignore whitespace-only nodes when whitespace compression suppresses them. r=jwatt 2012-07-27 09:07:32 +01:00
Aryeh Gregor
4e199a1679 Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Jonathan Watt
9625bcae6c Bug 780963 - Make UpdateOverflow() on filter primitive frames a no-op. r=roc. 2012-08-14 10:04:24 +01:00
Cameron McCormack
5807bfa843 Bug 655877 - Part 38: Ignore the non-SVG frames when propagating SVG changes through a tree. r=longsonr 2012-08-23 11:23:23 +10:00
Jonathan Watt
6b6b241b56 Bug 767056 - Stop calling nsLayoutUtils::PostRestyleEvent during reflow to avoid infinite loop. r=roc.
--HG--
extra : rebase_source : c397431c824e2d1f624765636320129201209b60
2012-08-31 15:30:18 +01:00
Jonathan Watt
c49b6d62d9 Bug 786736 - Initialize nsSVGOuterSVGFrame::mFullZoom to the full-zoom value in the ctor. r=roc. 2012-08-30 09:55:22 +01:00
Robert Longson
3b6919b047 Bug 780880 - patternTransforms that involve rotation do not work properly. r=dholbert
--HG--
rename : layout/reftests/svg/pattern-scale-01a.svg => layout/reftests/svg/pattern-scale-01c.svg
2012-08-09 09:17:05 +01:00
Robert Longson
28c6ba9813 Bug 786216 - Fix evenodd fill-rule. r=jwatt 2012-08-28 15:47:01 +01:00
Jonathan Watt
abbc9d424f Bug 780963 crashtest. r=roc. 2012-08-16 11:54:48 +01:00
Mats Palmgren
b786b1a25d Bug 776327 - Subtract the start index from the length to get remaining characters of this fragment. r=jwatt 2012-07-25 16:04:23 +02:00
Jonathan Watt
099f57ceca Bug 767726 - Kill nsISVGChildFrame::DO_NOT_NOTIFY_RENDERING_OBSERVERS. r=longsonr.
--HG--
extra : rebase_source : 3242d29a2251c767dc055a9a7d15ce76e27ac2f2
2012-07-23 12:00:43 +01:00
Jonathan Watt
fcc7f9aa20 Bug 707960 - Remove the covered region hack added in bug 614732. r=longsonr.
--HG--
extra : rebase_source : 0b2147bed77e20ba1a1afa635a1aa95e23f41051
2012-07-23 12:00:40 +01:00
Aryeh Gregor
65eef91085 Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan 2012-07-20 14:16:17 +03:00
Jonathan Watt
48cab57f94 Bug 773595 - Have nsSVGPatternFrame::GetPatternMatrix use the correct attribute. r=longsonr.
--HG--
extra : rebase_source : b261c4e5cda1971ea6877790d97d056e05361373
2012-07-21 20:16:35 -04: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
Jonathan Watt
d36be8643e Remove unused variable to fix build bustage. no bug. r=me.
--HG--
extra : rebase_source : d0540d8aa9e57358d44a68692fa15172bd7ecefc
2012-07-20 15:12:26 -04:00
Jonathan Watt
c8b3589558 Bug 614732 - Implement display list based painting and hit-testing for SVG. r=roc.
--HG--
extra : rebase_source : 77e55885fbbf428008f5be787ddeb7e561c0d9bd
2012-07-20 14:12:29 -04:00
Jonathan Watt
b96d92727e Bug 614723 - Make sure SVG frames that shouldn't directly display don't create display list items. r=roc.
--HG--
extra : rebase_source : 0b3c9aca661798ea45b6b0ee3b7d0d24fdf2e736
2012-07-20 12:41:29 -04:00
Jonathan Watt
d7fa10301d Bug 775735 - When filters/markers change, update the overflow rect/bounds of referencing frames. r=roc. 2012-07-20 00:54:20 -04:00
Jonathan Watt
3d3b692947 Bug 775304 - Don't visit the descendant frames for the nsChangeHint_UpdateEffects hint. r=roc, r=dbaron.
--HG--
extra : rebase_source : 11996bd6194d62f98eba81d5e3a13d29eaacd62b
2012-07-19 15:44:04 -04:00
Brian Birtles
f393414bcf Bug 765107 - Fix transformed filter drawing with Azure; r=bas
--HG--
extra : rebase_source : bfd4a2a16cbae25db180aed7c84991374a41730b
2012-07-18 15:15:17 -04:00
Jonathan Watt
87fd77de71 Bug 773450 - Lines don't show up in some Google Maps directions. r=roc. 2012-07-17 15:44:39 -04:00
Matt Woodrow
8f6b3ad35c Bug 539356 - Part 5 - Change SVG effects painting to use a LayerManager transaction. r=roc 2012-07-17 13:03:51 -04:00
Jonathan Watt
523c418951 Bug 539356 - Part 4 - Reinstate the foreignObject registering code so that bug 605265 doesn't slow down SVG in general. r=mattwoodrow 2012-07-17 13:03:51 -04:00
Jonathan Watt
de3e7e0ba9 Bug 774095 - Make sure that we call nsSVGEffects::UpdateEffects() on frames that are added after the first reflow. r=dholbert. 2012-07-15 20:42:50 -04:00
Jonathan Watt
3491c5d24f Bug 774087 - Mark SVG filter primitive frame classes as NS_STATE_SVG_NONDISPLAY_CHILD. r=dholbert. 2012-07-15 20:42:50 -04:00
Rafael Ávila de Espíndola
8432e91d7a Bug 774039 - remove unused field. r=roc. 2012-07-15 00:18:50 -04:00
Jonathan Watt
d1a353d909 Bug 769970 - Get SVG patterns working under HTML elements with CSS transforms applied. r=roc. 2012-07-14 00:18:38 +01:00
Jonathan Watt
1a49fcfa1a Bug 772017, part 2 - Have the visual overflow rect for SVG frames include non-rendering stroke when 'pointer-events' demands it. r=roc. 2012-07-11 12:25:27 +01:00
Jonathan Watt
e66c1cc566 Bug 772406 - Make nsSVGGlyphFrame::UpdateBounds reuse GetBBoxContribution. r=roc. 2012-07-11 00:01:50 +01:00
Jonathan Watt
278d6fb643 Bug 772246 - nsSVGUtils::GetPostFilterVisualOverflowRect should not offset the returned rect by the frame's position. r=roc. 2012-07-10 13:09:08 +01:00
Jonathan Watt
05947e196b Bug 771042, part 1 - Fix invalidation of animateMotion. r=birtles. 2012-07-09 18:41:12 +01:00
Jonathan Watt
8b8c9b9f9e Bug 772017 - Have the visual overflow rect for SVG frames include 'none' stroke when 'pointer-events' demands it. r=roc. 2012-07-09 12:55:16 +01:00
Cameron McCormack
6f599d230a Bug 771879 - Minor code formatting tweaks. r=roc 2012-07-09 11:09:50 +10:00
Jonathan Watt
f234ac813a Bug 769742 - Account for nsSVGOuterSVGFrames' border/padding offset by giving nsSVGOuterSVGFrame an anonymous child to wrap its real children. r=roc. 2012-07-09 02:04:56 +01:00
Jonathan Watt
357cbc427f Bug 771935 - SVGs that are larger than the browser content area should scroll. r=roc. 2012-07-09 01:55:34 +01:00
Jonathan Watt
bf8eebac20 Bug 771795 - Stop over-invalidating SVG. r=heycam. 2012-07-08 08:29:57 +02:00
Jonathan Watt
be9eb94c50 Bug 769645 - Use nsDisplayClip to do the content box clipping for nsSVGOuterSVGFrame. r=roc. 2012-07-06 16:44:50 +02:00
Jonathan Watt
548a272417 Bug 769612 - Move the SVGAutoRenderState::SetPaintingToWindow() call to nsDisplayOuterSVG::Paint and kill nsSVGOuterSVGFrame::Paint. r=dholbert. 2012-07-05 17:18:03 +02:00
Jonathan Watt
b7edafaac5 Bug 769514 - Kill the Mac bitmap fallback code in nsSVGOuterSVGFrame. r=roc. 2012-07-05 17:18:03 +02:00
Ehsan Akhgari
202d711270 Backout changeset 3a41b53f8ada (bug 539356) because of performance and correctness regressions 2012-07-03 20:30:11 -04:00
Ehsan Akhgari
0a629a3bf0 Backout changeset eea5704272d0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:28:32 -04:00
Ehsan Akhgari
cf18ee9122 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
Jonathan Watt
3379f2249a Bug 769902 - Avoid unnecessary precision issues in nsSVGUtils::ObjectSpace. r=longsonr. 2012-06-30 21:21:31 +01:00
Jonathan Watt
9a0c75c977 Bug 767734 - Give GetCanvasTM knowledge of what the request is for so it can do the right thing when SVG display lists are enabled. r=longsonr. 2012-06-30 12:20:46 +01:00
Jonathan Watt
3b0c752628 Bug 732819 - "ASSERTION: don't think me need this any more" with font-size: 0. r=roc. 2012-06-30 12:20:46 +01:00
Matt Woodrow
31125260ee Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Matt Woodrow
831f8a3e50 Bug 539356 - Part 5 - Change SVG effects painting to use a LayerManager transaction. r=roc 2012-06-30 15:06:10 +12:00
Jonathan Watt
212b1c8863 Bug 539356 - Part 4 - Reinstate the foreignObject registering code so that bug 605265 doesn't slow down SVG in general. r=mattwoodrow 2012-06-30 15:06:09 +12:00
Jonathan Watt
3511c2190f Bug 769103 - Get SVG masks working for HTML elements under CSS transforms. r=roc. 2012-06-28 23:59:05 +01:00
Jonathan Watt
e93280a699 Bug 769306 - Move more code from nsSVGOuterSVGFrame::Paint to nsDisplaySVG::Paint. r=dholbert. 2012-06-28 20:51:31 +01:00
Jonathan Watt
c0fda032aa Bug 769242 - Rename nsDisplaySVG to nsDisplayOuterSVG in preparation for adding other SVG display list item types. r=dholbert. 2012-06-28 20:51:20 +01:00
Jonathan Watt
fca108d98c Bug 769238 - Rename aEffectsFrame to just aFrame in nsSVGIntegrationUtils. r=dholbert. 2012-06-28 20:51:09 +01:00
Ed Morley
ec0a32e7e2 Merge mozilla-central to mozilla-inbound 2012-06-26 12:12:52 +01:00
Jonathan Watt
f970cf9626 Bug 767823 - Make nsAutoFilterInstance take frame rects and stop using GetCoveredRegion. r=longsonr. 2012-06-26 11:49:23 +01:00
Jonathan Watt
bb676c03b1 Bug 767996 - Prevent DoApplyRenderingChangeToTree calling nsSVGUtils::InvalidateBounds() and passing in an nsSVGOuterSVGFrame. r=me. 2012-06-25 18:55:30 +01:00
Jonathan Watt
d3ac52e321 Bug 767996 - Add null check to nsSVGUtils::InvalidateBounds. r=me. 2012-06-25 16:17:42 +01:00
Jonathan Watt
a73ba1849d Bug 767734, part 1 - Require all callers of nsSVGPathGeometryFrame::GeneratePath to pass in the CTM that should be used. r=longsonr. 2012-06-24 21:12:40 +01:00
Jonathan Watt
80beda3ba7 Bug 738192 follow-up. Re-enable layout/reftests/svg/dynamic-text-04.svg after fixing MarkDirtyBitsOnDescendants. r=me. 2012-06-24 18:02:23 +01:00
Jonathan Watt
378a935ff3 Bug 738192 - Get rid of the old horrendous "invalidate everything" hack in nsSVGUtils::FindFilterInvalidation(). r=longsonr. 2012-06-24 13:59:26 +01:00
Jonathan Watt
dcd8f9e561 Bug 767647 followup. Fix unused variable bustage. r=me. 2012-06-23 17:49:37 +01:00
Jonathan Watt
53807bd4e9 Bug 767647 - Stop invalidating once for every SVG descendant of a changed SVG container, and stop invalidating the descendants' rendering observers. r=longsonr. 2012-06-23 17:36:46 +01:00
Jonathan Watt
609c071452 Bug 767697 - Stop invalidating rendering observers of ancestors of SVG frames that only render by reference. r=longsonr. 2012-06-23 15:19:00 +01:00
Jonathan Watt
05e101c7eb Bug 767701 - Add missing nsSVGEffects::InvalidateDirectRenderingObservers() call to the clipPath code. r=longsonr. 2012-06-23 15:18:49 +01:00
Jonathan Watt
1398fb868a Bug 541270 - Correctly calculate the filter region for SVG filters on HTML to account for zooming. r=dholbert. 2012-06-23 04:01:36 +01:00
Phil Ringnalda
9560bedbc9 Back out 12f76b9a2d78 (bug 541270) for failing to compile 2012-06-22 19:12:35 -07:00
Jonathan Watt
a3c7e68ef9 Bug 541270 - Correctly calculate the filter region for SVG filters on HTML to account for zooming. r=dholbert. 2012-06-23 02:47:10 +01:00
Jonathan Watt
8adb92112e Bug 766896 - Have InvalidateAllContinuations use GetNextContinuationOrSpecialSibling so that we invalidate the correct areas. r=roc. 2012-06-22 11:44:18 +01:00
Jonathan Watt
9ef21cd8da Bug 766227 - Follow-up to fix comment after discussion with roc. r=me. 2012-06-22 11:42:05 +01:00
Jonathan Watt
58ef37f17a Bug 766227 - More nsSVGIntegrationUtils cleanup and commenting to make it a lot easier to understand. r=longsonr.
--HG--
extra : rebase_source : fab6126eac4f1135562e1b2404bf5c52d0500344
2012-06-21 01:29:50 +01:00
Jonathan Watt
07c0c6fa7e Bug 766429 - Minimize the size of the offscreen surfaces created for SVG group opacity, masks and complex clipPaths. r=roc. 2012-06-20 10:02:43 +01:00
Jonathan Watt
9472b0acf9 Bug 766120 - Stop conflating effects offset and continuation union size in nsSVGIntegrationUtils. r=longsonr. 2012-06-19 16:28:04 +01:00
Robert Longson
6498ee3556 Bug 467498 - Second level of use is not live to changes. r=dholbert
--HG--
rename : layout/reftests/svg/dynamic-use-nested-01.svg => layout/reftests/svg/dynamic-use-nested-01a.svg
rename : layout/reftests/svg/dynamic-use-nested-01.svg => layout/reftests/svg/dynamic-use-nested-01b.svg
2012-06-19 15:58:39 +01:00
Jonathan Watt
faa9392008 Bug 765505 - Clean up filter code. r=longsonr. 2012-06-16 21:23:48 +01:00
Jonathan Watt
072f5b2cb7 Bug 764860 - Simplify and comment the clipPath code. r=longsonr. 2012-06-15 10:06:34 +01:00
Jonathan Watt
c06a0c60b8 Bug 764824 - Make it easier to spot when were using a temporary context. r=longsonr. 2012-06-15 04:02:29 +01:00
Jonathan Watt
1f88d8036d Bug 764813 - Avoid using gfxContext::SetMatrix in SVG code where possible. r=Bas. 2012-06-15 04:02:27 +01:00
Jonathan Watt
35a8bfc76c Bug 762679 - Stop rounding coordinates prematurely while doing SVG hit testing. r=longsonr 2012-06-13 21:12:38 -04:00
Robert Longson
89657d93ac Bug 762411 - getScreenCTM scaling broken on inline outer svg elements. r=jwatt 2012-06-13 14:32:23 +01:00
Robert Longson
485eb813d7 Bug 763133 - border-radius not clipping SVG contents. r=bzbarsky 2012-06-12 11:25:26 +01:00
Ed Morley
865fc92be0 Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms 2012-06-11 10:08:32 +01:00
Matt Woodrow
cee7c9d24b Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
* * *
Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc
* * *
Bug 539356 - Part 9b - Add new frame invalidation API. r=roc
* * *
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
* * *
Bug 539356 - Part 9d - Make SVG support the new invalidation model. r=jwatt
* * *
Bug 539356 - Part 9e - FrameLayerBuilder changes for display list invalidation. r=roc
* * *
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
* * *
Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc
2012-06-11 16:45:30 +12:00
Matt Woodrow
6f54e66111 Bug 539356 - Part 5 - Change SVG effects painting to use a LayerManager transaction. r=roc 2012-06-11 16:44:08 +12:00
Jonathan Watt
76923e0b3c Bug 539356 - Part 4 - Reinstate the foreignObject registering code so that bug 605265 doesn't slow down SVG in general. r=mattwoodrow 2012-06-11 16:44:08 +12:00
Ed Morley
21cb707d88 Merge mozilla-central to mozilla-inbound 2012-06-01 16:58:27 +01:00
Mounir Lamouri
758e77e235 Bug 759770 - Fix build error when warnings-as-errors in nsSVGUtils.cpp. r=dholbert 2012-06-01 11:48:39 +02:00
Joel Maher
bb1449586f Bug 748088 - Native android reftest are not testing OMTC+OGL. r=ajuma 2012-06-01 08:42:38 -04:00
Gervase Markham
68d38d677f Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Ginn Chen
f4bf72b1f2 Bug 758516 nsSVGGenericContainerFrame.cpp failed to compile with Solaris Studio compiler r=roc 2012-05-28 09:30:54 +08:00
Robert Longson
7aa8c491d6 Bug 746452 - textPath does not handle startOffset with non-user-unit/non-percentage units correctly. r=jwatt 2012-05-24 11:43:10 +01:00
Robert Longson
f42e89af46 Bug 757718 - Crash with SVG requiredFeatures, adoptNode. r=jwatt 2012-05-23 10:54:19 +01:00
Robert Longson
ee7ff5f484 Bug 757704 - getScreenCTM() crash. r=jwatt 2012-05-23 10:49:15 +01:00
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