Commit Graph

1121 Commits

Author SHA1 Message Date
Cameron McCormack
a76ad567a4 Bug 655877 - Part 33: Allow new SVG text frames in clip paths. r=longsonr 2013-02-11 17:22:17 +11:00
Cameron McCormack
529122a1a5 Bug 655877 - Part 31c: Ensure SVG text with effects applied to them are in the right position. r=jwatt 2013-02-11 17:22:17 +11:00
Cameron McCormack
8e28ffb003 Bug 655877 - Part 31b: New frame class nsSVGTextFrame2 for SVG text using CSS block/inline/text frames for layout. r=jwatt 2013-02-11 17:22:16 +11:00
David Zbarsky
816b8b265b Bug 833446: Remove nsIDOMSVGStopElement r=peterv 2013-02-02 15:23:18 -05:00
David Zbarsky
266d83e6a5 Bug 833446: Remove nsIDOMSVGGradientElement and subclasses r=peterv 2013-02-02 15:23:16 -05:00
Daniel Holbert
50de891b7c Bug 837004: Annotate some overridden methods in nsSVGContainerFrame as MOZ_OVERRIDE. r=jwatt 2013-02-01 08:01:49 -08:00
Mounir Lamouri
116e0cedd6 Bug 833012 - Remove "nsContentUtils.h" inclusion from Element.h. r=Ms2ger 2013-01-31 23:11:49 +00:00
Johnny Stenback
165e87231e Fixing bug 836173. Stop leaking gfxPattern objects when using SVG with cairo. r=jwatt 2013-01-30 01:40:34 -08:00
David Zbarsky
5ca7ffc965 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
a83c4b6b01 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
b0d491ec2d 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
9a053a440f 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
bcedd010ca Bug 835030 - Remove svg.smil.enabled pref. r=dholbert 2013-01-27 19:30:21 +00:00
Robert Longson
7cd56794f0 Bug 378716 - crash test 2013-01-26 21:28:56 +01:00
Cameron McCormack
158d213827 Bug 828962 - Don't let xml:space="preserve" affect <foreignObject>. r=longsonr 2013-01-26 21:28:15 +11:00
Mats Palmgren
db66952e28 Bug 344557 - Add crashtests. 2013-01-25 18:34:30 +01:00
David Zbarsky
8a93d81ad8 Bug 832153 - Convert SVGMaskElement to WebIDL r=bz 2013-01-23 15:59:46 -05:00
David Zbarsky
a7cbb739bb 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
817706a4aa Bug 833190 - Disable PGO on svg; a=me 2013-01-21 23:00:29 -05:00
David Zbarsky
ca423bef60 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
6ed1683c31 Bug 830230 - Convert SVGPatternElement to WebIDL r=bz 2013-01-16 15:51:00 -05:00
David Zbarsky
3fc3482bac Bug 827174 - Remove nsIDOMSVGLocatable and nsIDOMSVGTransformable r=bz 2013-01-16 15:51:00 -05:00
David Zbarsky
62083d2100 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
08a4d241f5 Bug 827182: Convert SVGUseElement to WebIDL 2013-01-16 15:50:59 -05:00
David Zbarsky
faab5f105a 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
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
Cameron McCormack
572084f298 Bug 828805 - Implement SVG paint-order property. r=bz,roc 2013-01-13 10:27:53 +11:00
David Zbarsky
c276cafcb1 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
42af054b05 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
c450d91d46 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
cd990802cf 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
60c7a3b594 Bug 827119: Convert SVGSVGElement to WebIDL r=bz 2013-01-09 18:02:47 -05:00
David Zbarsky
e4a26da046 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
e81a009b21 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
4a5021753c Bug 827197 - Remove some uses of nsIDOMSVGElement subclasses r=longsonr 2013-01-07 22:22:41 -05:00
David Zbarsky
c94423fc14 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
a81da6454c 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
c5ea6822f4 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
912c7ada9c 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
1832141c50 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
59325015c8 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
a97c87056d 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
0c6e775fd6 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
191ac606e9 Bug 822983 - Map SVG graphic elements to accessibility API, r=tbsaunde, longsonr 2013-01-04 13:26:00 +09:00
Masatoshi Kimura
b5e27745c8 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
74d58a6f8f Bug 817442 Part 10: Remove nsIDOMSVGPoint r=bz 2012-12-22 23:54:25 -05:00
Jonathan Kew
ee527f41ef Bug 823964 - Wrong bounds for scaled images. r=longsonr 2012-12-22 10:07:00 +00:00
Jonathan Watt
dc78bb5300 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
a867156017 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
89c3b9fbe3 Bug 767535 - "ASSERTION: How did we getting here, then?" 2012-12-21 19:13:48 +00:00
Jonathan Watt
75434d51ff 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
312348755c 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
873a543487 Bug 793617 - Implement mask-type property. r=dbaron,longsonr 2012-12-21 11:15:22 +11:00
Robert Longson
92ddd37dc0 Bug 791675 - Scaled shapes fail to draw sometimes r=jwatt. 2012-12-20 13:49:54 +00:00
Jonathan Watt
3cd5836413 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
6fa311e1b9 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
29110f1969 Bug 802628 - Part 2, Fix broken invalidation in ReflowSVG implementations. r=mattwoodrow. 2012-11-28 10:34:58 +00:00
Jonathan Watt
f595fb2060 Bug 802628 - Part 1, Kill nsSVGUtils::InvalidateAndScheduleReflowSVG. r=mattwoodrow. 2012-11-28 09:42:13 +00:00
Mats Palmgren
fa172a5e94 Bug 820230 - Move PaintSVGGlyph and GetSVGGlyphExtents from nsContentUtils to nsSVGUtils. r=roc 2012-12-12 00:15:07 +01:00
Ed Morley
2781a25aa5 Backout 2044222a3f1d (bug 820230) for build failures on a CLOSED TREE 2012-12-11 16:24:11 +00:00
Mats Palmgren
273cdc4adc Bug 820230 - Move PaintSVGGlyph and GetSVGGlyphExtents from nsContentUtils to nsSVGUtils. r=roc 2012-12-11 16:45:51 +01:00
Robert Longson
987d38fe50 Bug 817439 r=dholbert 2012-12-05 10:59:26 +00:00
Edwin Flores
d4b2deb0c0 Bug 789390 - Fix crash when using -moz-objectStroke paint value with transitions r=dbaron 2012-09-24 00:10:00 +12:00
Mats Palmgren
0bae59cdf1 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
68e6677804 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
7c2f1cdf21 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
2a8fa7f9c3 Bug 812161 r=jwatt 2012-11-16 18:03:45 +00:00
Robert Longson
cb0e66ecce Bug 805024 r=dholbert 2012-11-16 17:59:52 +00:00
Jonathan Watt
e767f7e199 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
f1c4a409d5 Testcase for Bug 780764 - "ASSERTION: null nsSVGPathGeometry frame" and crash. 2012-11-15 10:04:27 -08:00
Jonathan Watt
6670d736c6 Testcase for Bug 778492 - SVG element too far outside viewBox crashes Firefox. 2012-11-15 10:04:00 -08:00
Jonathan Watt
1ba5696cff Testcase for Bug 768087 - "ASSERTION: aFrame should be first continuation" in nsSVGEffects::GetFilterProperty. 2012-11-15 10:04:00 -08:00
Boris Zbarsky
d23220892d Bug 811449 part 8. Get rid of nsGenericElement. r=peterv 2012-11-14 14:10:08 -08:00
Ehsan Akhgari
7155c4fc5f Merge mozilla-central into mozilla-inbound 2012-11-07 17:24:27 -05:00
Ryan VanderMeulen
ac03c9c930 Merge the last PGO-green inbound changeset to m-c. 2012-11-06 21:02:09 -05:00
Daniel Holbert
da9265efff Bug 784061: add crashtest for this WORKSFORME bug. r=longsonr 2012-11-02 15:23:18 -07:00
Daniel Holbert
04c7908b09 Bug 612736: add crashtests for this WORKSFORME bug. r=longsonr 2012-11-02 15:23:16 -07:00
Robert Longson
74ef5ce548 Fix comment. r=jwatt. no bug. DONTBUILD.
--HG--
extra : rebase_source : 3dbbe95341f3acecf433dd7571b87a6296bbe37a
2012-11-06 19:13:25 +00:00
Robert Longson
b99c3ea241 Fix comment. r=jwatt. no bug. DONTBUILD.
--HG--
extra : rebase_source : 780ad16e8432347096d81290140d91411a726cc1
2012-11-06 19:02:04 +00:00
Robert Longson
24007d3553 Bug 807919 - stop invalidating text bounds twice on updates. r=jwatt 2012-11-06 17:00:11 +00:00
Jonathan Watt
6efefc9b87 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
bb5f133bd4 Bug 807355 - Only create marker effects if the content is markable. r=jwatt 2012-11-01 09:41:51 +00:00
Jonathan Watt
f91401feba Bug 807213 - Stop creating nsSVGMarkerProperty objects for non-nsSVGPathGeometryFrame frames. r=roc. 2012-10-31 04:11:00 +00:00
Robert Longson
95d45d92ee 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
1a92bc6ab1 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
18a52c3135 Backout 99a2125bd365 (bug 779971) for reftest failures 2012-11-07 12:31:00 +00:00
Robert Longson
af422317a5 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
a164e47d1b Bug 791826 - Fix crash with SVG preserveAspectRatio, position:fixed. r=jwatt 2012-10-20 11:03:35 +01:00
Josh Matthews
80112a2809 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
36511684e4 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
2c57ae944e 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
08a5eceeeb Back out bug 585385 for build bustage. 2012-10-11 21:58:24 -04:00
Josh Matthews
ae359191a3 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
de69f2ada1 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
f3459980ad 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
c9483c0dbb Bug 793484 - Optimise simple gradients. r=jwatt 2012-10-06 13:52:32 +01:00
Cameron McCormack
3fcef2abc9 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
997db4d142 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Matt Woodrow
f0d7341b98 Bug 539356 - Correctly invalidate SVG observers. r=roc 2012-08-29 17:49:16 +12:00
Matt Woodrow
5f32437ca2 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