Commit Graph

856 Commits

Author SHA1 Message Date
Robert Longson
61cc278b22 Bug 647914 - Horizontal and vertical SVG paths are omitted from bbox calculations if they have siblings. r=jwatt 2012-01-23 17:42:32 +00:00
Jonathan Watt
0788e372c8 Bug 718968 - Remove old include paths from Makefile.in. r=dholbert. 2012-01-18 11:49:00 +00:00
Daniel Holbert
9070fa4738 Bug 716699: Mark some SMIL and SVG-related directories as gcc-warning-free. r=jwatt 2012-01-11 00:32:38 -08:00
Kyle Huey
9cc71b5f7f Bug 714752: Make imgIContainerObserver::FrameChanged take an imgIRequest*. r=joe sr=roc 2012-01-06 07:32:38 -05:00
Robert Longson
d9086c4d00 Bug 607854 - implement SVGTests interface. r=jwatt 2011-12-31 09:44:03 +00:00
Bobby Holley
3d280d317c Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz 2011-12-30 09:35:38 -08:00
Jonathan Watt
26b23f0bfa Bug 668163 - Map 'width' and 'height' on <svg> into style to stop <svg>'s computed width/height falling back to 150px x 300px when they're set to explicit percentage values that can be resolved (regression from bug 611099). r=dbaron. 2011-12-27 10:27:42 +00:00
Daniel Holbert
6cda14be64 Bug 710990: Replace duplicate aStartVal check with aEndVal check, in SVGOrientSMILType::Interpolate. r=jwatt
--HG--
rename : layout/reftests/svg/smil/anim-marker-orient-01.svg => layout/reftests/svg/smil/anim-marker-orient-02.svg
2011-12-19 10:03:45 -08:00
Ms2ger
6fd0287787 Bug 707498 - Use a template to get the array length for nsGenericElement::FindAttributeDependence; r=Waldo 2011-12-18 11:09:27 +01:00
Brian O'Keefe
1513850d8f Bug 708846 - Clean up the SVG namespace checks to use nsIContent::IsSVG() instead; r=longsonr 2011-12-15 14:47:03 +00:00
Boris Zbarsky
17d09c5aec Bug 589640 second followup: make sure the new element class actually QIs to nsIClassInfo. 2011-12-08 03:05:41 -05:00
Brian O'Keefe
ef0c3fd087 Bug 589640 (part 2) - Make nsIContent::IsSVG more like IsHTML, and remove the eSVG node type. r=bzbarsky 2011-12-08 01:32:11 -05:00
Brian O'Keefe
05a8f0100a Bug 589640 part 1. Add an SVGUnknownElement, like HTMLUnknownElement, so random elements in the SVG namespace create SVGElements (instead of XML Elements). r=bzbarsky 2011-12-08 01:32:11 -05:00
Daniel Holbert
76c367c005 Bug 702696 followup: Remove unnecessary temporary gfxMatrix() argument. r=jwatt 2011-11-29 14:06:30 -08:00
Ms2ger
b1ff1b89a3 Bug 703333 - Remove pointless const_casts from SVG DOM list classes; r=roc 2011-11-26 11:22:15 +01:00
Robert Longson
581866451b Bug 696078 - Move filter attribute processing to frame classes. r=jwatt
--HG--
rename : layout/svg/base/src/nsSVGLeafFrame.cpp => layout/svg/base/src/SVGFELeafFrame.cpp
extra : rebase_source : 74ac4d84da2f0a99272e83590a9adc1dc8511fce
2011-11-19 17:53:52 +00:00
Jonathan Watt
efb9f8f776 Bug 702696 - Path length scale factor should not be affected by the 'transform' attribute. r=dholbert. 2011-11-21 21:22:19 +00:00
Robert Longson
f8adc86119 Bug 698195 - Use AfterSetAttr to process script href changes. r=dholbert 2011-11-19 09:00:04 +00:00
Ms2ger
118e48e9c1 Bug 669012 - Part c: Remove the return value from nsIContent::DoneAddingChildren; r=smaug+hsivonen. 2011-11-16 08:50:18 +01:00
Ms2ger
87cfab5086 Bug 669012 - Part b: Introduce nsIScriptElement::AttemptToExecute; r=smaug+hsivonen. 2011-11-16 08:50:18 +01:00
Jonathan Watt
02ee85d336 Bug 702477 - Change the names of nsSVGPathElement::GetScale and nsSVGTextPathFrame::GetPathScale, and add documenting comments. r=longsonr. 2011-11-15 13:11:43 +00:00
David Zbarsky
4a23b35179 Bug 660959 - Update link state less lazily r=bz 2011-11-14 16:24:41 +13:00
Robert Longson
5ac58411e9 Bug 699147 - Simplify lengthList parsing. r=jwatt 2011-11-09 12:58:34 +00:00
Robert Longson
e68833b8e5 Bug 280391 - implement SVGSVGElement.getElementById. r=jwatt,bzbarsky 2011-11-08 15:00:29 +00:00
Ed Morley
345c2b06c0 Merge mozilla-central and mozilla-inbound 2011-11-05 18:46:28 +00:00
Ed Morley
6a998be2c5 Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Matheus Kerschbaum
fb722a61dd Bug 698630 - Remove --disable-smil build option; r=dholbert 2011-11-05 10:32:52 +00:00
Rail Aliiev
364e83c545 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Jonathan Watt
868fc90520 Backout 12b227a42623, bug 653928 (changes to SVG arc path segment animation). 2011-11-02 19:15:32 +00:00
Mounir Lamouri
6cc2587c0d Bug 698534 - Fix build bustage when smil is disabled. r=dholbert 2011-11-01 20:22:30 +01:00
Robert Longson
b15078098b Bug 697978 - make display:none svg images load. r=dholbert,bzbarsky 2011-10-29 09:18:25 +01:00
Jonathan Watt
8a0b72332d Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg. 2011-10-28 19:33:28 +01:00
Robert Longson
b1c939575c Bug 696579 - Round out mask, filter and pattern surfaces. r=roc 2011-10-26 09:52:11 +01:00
Robert Longson
24c0304698 Bug 653928 - Animation of path d attribute with elliptical arcs discrete instead of continuous when flags change. r=dholbert 2011-10-25 09:18:13 +01:00
Benjamin Smedberg
bd8fab352e Bug 694953 - Check the node type of an <svg:mpath> link before derefencing the link, not just the node name, r=dholbert 2011-10-20 12:03:18 -04:00
Robert Longson
9b0482ab73 Bug 693183 - move image processing to the frame class. r=jwatt 2011-10-19 16:37:49 +01:00
Robert Longson
e3b2a10d49 Backout Bug 693183 2011-10-19 14:55:27 +01:00
Robert Longson
64d601cee6 Bug 693183 - Simplify class animation processing. r=jwatt 2011-10-19 14:40:58 +01:00
Marco Bonardo
96f6fdb983 Merge last green changeset from mozilla-inbound to mozilla-central 2011-10-19 11:47:57 +02:00
Olli Pettay
e5b7e8ee46 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 2, r=jst
--HG--
extra : rebase_source : 53dc2ec386f6e4147587e6be3c53d297ad71d57a
2011-10-18 14:19:44 +03:00
Olli Pettay
a86b1a4d43 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Robert Longson
e94dddbf2f Bug 528444 - Empty xlink:href treated like absent xlink:href on SVG script. r=dholbert 2011-10-14 19:25:58 +01:00
Ed Morley
5cd7df1bff Backout changeset c49fd40bbd2b (bug 528444) for causing M1 orange; a=philor 2011-10-14 16:10:01 +01:00
Robert Longson
43b89d47d6 Bug 528444 - Empty xlink:href treated like absent xlink:href on SVG script. r=dholbert 2011-10-14 14:50:56 +01:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Robert Longson
baf4f6d89e Backout Bug 693183 - reftest failure 2011-10-10 21:30:54 +01:00
Robert Longson
2e60074c52 Bug 693183 - Move image element attribute processing to the frame class. r=jwatt 2011-10-10 18:44:03 +01:00
Ehsan Akhgari
ee637e4944 Merge mozilla-central into mozilla-inbound 2011-10-10 11:30:21 -04:00
Robert Longson
b4fd35944b Bug 691194 - Move filter element attribute processing to the frame class. r=dholbert 2011-10-09 18:17:29 +01:00
Robert Longson
47cd489a25 Bug 691298 - Remove aDoSetAttr arguments where callers always pass the same value. r=dholbert 2011-10-09 16:25:07 +01:00
Robert Longson
35051be845 Bug 550047 - Removing attributes from most elements does not cause a refresh. r=dholbert 2011-10-08 07:32:44 +01:00
Robert Longson
04eabdecc1 Bug 693145 - Simplify class animation processing. r=dholbert 2011-10-18 13:43:57 +01:00
Peter Van der Beken
c119510fb8 Stop including nsDOMClassInfo.h all over the place.
--HG--
extra : rebase_source : 24bd6a84238834f8ca50990a91849dff2c5040ba
2011-10-03 21:11:31 +02:00
Boris Zbarsky
0747c80b9c Bug 692506. Make sure that SVG animated strings keep track of whether the base value is set correctly. r=longsonr 2011-10-06 16:53:23 -04:00
Ed Morley
72ed7305fc Bug 689884 - Deleted the now unused Makefiles from the tree; r=khuey 2011-10-06 17:15:07 +01:00
Ed Morley
918444551f Bug 689884 - Skip Makefiles that are no-op or else only |DIRS = a_single_subdir|; r=khuey 2011-10-06 17:15:07 +01:00
Jonathan Watt
01b6cbbc31 Bug 690486 - Kill nsISVGValue, nsSVGValue, nsISVGValueObserver, nsISVGValueUtils and nsSVGStringProxyValue. r=longsonr. 2011-09-30 10:25:34 +01:00
Robert Longson
524e2377a2 Bug 689546 - Simplify attribute updates to svg elements. r=jwatt 2011-09-30 09:25:01 +01:00
Robert Longson
69bd857cce Bug 630657 - masks should respect color-interpolation. r=jwatt
--HG--
extra : rebase_source : d8ec90b0a18444be4890dbe127a1e0e7d70f9ede
2011-09-29 15:03:21 +01:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
David Zbarsky
f28bcb747a Bug 682367 - Call nsINode::GetChildAt less. r=smaug 2011-09-27 09:54:58 +02:00
Brian Birtles
b390f13380 Bug 602759 part 17 - Remove unnecessary BeforeSetAttr overrides; r=jwatt 2011-09-25 22:05:02 +01:00
Brian Birtles
b533961a9c Bug 602759 part 15 - Rename nsSVGTransformListParser as SVGTransformListParser; r=jwatt
--HG--
rename : content/svg/content/src/nsSVGTransformListParser.cpp => content/svg/content/src/SVGTransformListParser.cpp
rename : content/svg/content/src/nsSVGTransformListParser.h => content/svg/content/src/SVGTransformListParser.h
2011-09-25 22:04:32 +01:00
Brian Birtles
f34baa9c17 Bug 602759 part 14 - Mark tests that now pass as such; r=jwatt 2011-09-25 22:04:32 +01:00
Brian Birtles
ccc2aff23b Bug 602759 part 11 - Update nsSVGTransformListParser to use new SVG transform types; r=jwatt 2011-09-25 22:04:31 +01:00
Brian Birtles
b968a8c6ed Bug 602759 part 10 - Update SVG elements to use new SVG transform types; r=longsonr, r=jwatt 2011-09-25 22:04:31 +01:00
Brian Birtles
ede1dc9e22 Bug 602759 part 9 - Refactor nsSVGTransformSMILType to use SVGTransformSMILData; r=jwatt
--HG--
rename : content/svg/content/src/nsSVGTransformSMILType.cpp => content/svg/content/src/SVGTransformListSMILType.cpp
rename : content/svg/content/src/nsSVGTransformSMILType.h => content/svg/content/src/SVGTransformListSMILType.h
2011-09-25 22:04:31 +01:00
Brian Birtles
f10cfdc536 Bug 602759 part 8 - Move nsSVGSMILTransform to SVGTransform; r=jwatt 2011-09-25 22:04:31 +01:00
Brian Birtles
387569d0ab Bug 602759 part 7 - Refactor nsSVGAnimatedTransformList into SVGAnimatedTransformList and DOMSVGAnimatedTransformList and incorporate nsSVGTransformSMILAttr; r=jwatt
--HG--
rename : content/svg/content/src/nsSVGAnimatedTransformList.cpp => content/svg/content/src/DOMSVGAnimatedTransformList.cpp
rename : content/svg/content/src/nsSVGAnimatedTransformList.h => content/svg/content/src/DOMSVGAnimatedTransformList.h
2011-09-25 22:04:31 +01:00
Brian Birtles
d658bef1a5 Bug 602759 part 6 - Refactor nsSVGTransformList into SVGTransformList and DOMSVGTransformList; r=jwatt
--HG--
rename : content/svg/content/src/nsSVGTransformList.cpp => content/svg/content/src/DOMSVGTransformList.cpp
rename : content/svg/content/src/nsSVGTransformList.h => content/svg/content/src/DOMSVGTransformList.h
2011-09-25 22:04:31 +01:00
Brian Birtles
1bc95dca8d Bug 602759 part 5 - Refactor nsSVGTransform into SVGTransform and DOMSVGTransform; r=jwatt
--HG--
rename : content/svg/content/src/nsSVGTransform.cpp => content/svg/content/src/DOMSVGTransform.cpp
rename : content/svg/content/src/nsSVGTransform.h => content/svg/content/src/DOMSVGTransform.h
2011-09-25 22:04:27 +01:00
Brian Birtles
8ce9d44d6b Bug 602759 part 4 - Update DOMSVGPoint to use gfxMatrix; r=jwatt 2011-09-25 22:03:26 +01:00
Brian Birtles
31099fac11 Bug 602759 part 3 - Rewrite nsSVGMatrix and use gfxMatrix instead; r=jwatt
--HG--
rename : content/svg/content/src/nsSVGMatrix.cpp => content/svg/content/src/DOMSVGMatrix.cpp
rename : content/svg/content/src/nsSVGMatrix.h => content/svg/content/src/DOMSVGMatrix.h
2011-09-25 22:03:26 +01:00
Brian Birtles
1011ee0fc5 Bug 602759 part 2 - Add tests for transform lists; r=jwatt 2011-09-25 22:03:26 +01:00
Brian Birtles
b91a19622b Bug 602759 part 1 - Refactor SVG list tests to correct assumptions about SMIL; r=jwatt 2011-09-25 22:03:26 +01:00
Robert Longson
df62def5e9 Bug 687830 - Simplify marker implementation by calculating viewbox on paint rather than attempting to cache it. r=roc 2011-09-21 08:53:09 +01:00
Robert Longson
31d473fc4f Bug 687340 - Make dynamic changes to mask, clipPath and marker attributes work. r=roc 2011-09-19 13:59:52 +01:00
Daniel Holbert
83154c3b65 Back out cset c3bf76213a6c (bug 665392) for breaking a testcase from the w3c svg testsuite, 'full-animate-elem-24-t.html'. 2011-09-17 09:18:13 -07:00
Daniel Holbert
f96e56a976 Bug 686044: Hold temporary reference to |this| inside DOMSVGPathSegList::InternalListWillChange whenever we're nonempty. r=jwatt 2011-09-15 15:42:57 -07:00
Daniel Holbert
838de0acbd Bug 665392: Make <animateMotion>'s transform apply on top of the "transform" attribute, instead of the other way around. r=roc 2011-09-15 15:42:55 -07:00
Robert O'Callahan
0580c4d643 Bug 619992 - Fix location calculations for light sources. r=longsonr 2011-09-14 15:48:32 +01:00
Brian Birtles
08eeeda336 Bug 682184 part 1 - Rename nsSMILTimeValue::IsResolved to IsDefinite; r=dholbert 2011-09-07 09:20:40 +09:00
Daniel Holbert
8976b9c599 Bug 683040: Override new method IsToAnimation instead of old method TreatSingleValueAsStatic, to handle "to animation" for animateMotion. r=birtles 2011-09-06 16:50:49 -07:00
Daniel Holbert
ffdc71e1a9 Bug 684358: In nsSVGFEImageElement, replace GetOurDocument call with GetOwnerDoc, to bypass an unnecessary QI. r=roc 2011-09-06 14:41:37 -07:00
Robert Longson
edacda1823 Bug 684479 - Bounding boxes for strokes are unnecessarily big for many shapes. r=roc 2011-09-05 18:53:34 +01:00
Marco Castelluccio
7cb0506077 Bug 682744 - Sprinkle some do_QueryObject fairy dust around the tree; r=khuey 2011-08-30 22:45:31 +01:00
Robert Longson
759a6077a9 Bug 682685 - Dynamic changes to use elements only work to/from invalid states. r=dholbert 2011-08-29 09:20:29 +01:00
Brian Birtles
9ed6935d93 Bug 562815 part 2a - Add further tests; r=dholbert
--HG--
extra : rebase_source : 6646562047657bda34547d01b784ddafa2b6f583
2011-08-23 08:33:52 +09:00
Robert Longson
04b2e2e4e4 Bug 680035 - Filter elements do not react to color-interpolation-filters attribute changes. r=roc
--HG--
rename : layout/reftests/svg/dynamic-filter-contents-01.svg => layout/reftests/svg/dynamic-filter-contents-01a.svg
2011-08-20 14:02:41 +01:00
Malini Das
02665c9658 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain 1/1. r=jmaher, a=test-only 2011-08-12 12:21:42 -04:00
Malini Das
da32b5cbd3 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only 2011-08-12 12:21:37 -04:00
Ms2ger
9414376b01 Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar 2011-08-11 15:29:50 +02:00
Ed Morley
24be888a22 Bug 666984 - Remove/substitute NS_FloatIsFinite since it does the same thing as NS_finite; r=jwatt 2011-08-01 13:43:23 -04:00
Robert Longson
f03ce0f8a3 Bug 671892 - Simplify a common filter number conversion pattern. r=dholbert 2011-07-23 09:44:52 +01:00
Robert Longson
7115c1b565 Bug 672055 - Use nsCharSeparatedTokenizer to parse number-optional-number attributes. r=dholbert sr=jonas 2011-07-23 09:41:17 +01:00
Robert Longson
217bff5298 Bug 669155 - animation of filterRes does not result in layout being refreshed. r=jwatt 2011-07-08 18:10:07 +01:00
Jonathan Watt
500e26e9cf Bug 669584 - The kungFuDeathGrip is required if the new length is less than the old length, since the items are created lazily and so the last strong ref to the object could be at any index. r=dholbert.
--HG--
extra : rebase_source : bc3dd36d99d3478434315afe04b404bfdd0bee61
2011-07-07 16:48:10 +01:00