Commit Graph

698 Commits

Author SHA1 Message Date
Daniel Holbert
f228ce35af Bug 641393 patch 1: Upgrade some NS_ASSERTIONs in SVG List classes to NS_ABORT_IF_FALSE. r=jwatt 2011-04-14 11:47:27 -07:00
Ms2ger
6ee0b2b1da Bug 589894 - Fix a number of build warnings in content/; r=smaug 2011-04-14 14:04:12 +02:00
Ehsan Akhgari
96d750195b Merge cedar into mozilla-central 2011-04-08 02:27:03 -07:00
Boris Zbarsky
7fcb06f8bb Bug 628794. SVG and HTML/XUL .style come from different interfaces. r=peterv 2011-04-07 22:27:57 -07:00
Felipe Corrêa da Silva Sanches
122358c42d Bug 484966. Remove nsSVGUtils::GetParentElement in favor of nsIContent::GetFlattenedTreeParent. r=jwatt 2011-04-07 22:27:57 -07:00
Boris Zbarsky
8578808ee1 Bug 581177 part 5. Make 'may have style' into a boolean flag. r=sicking 2011-04-07 19:29:50 -07:00
Cameron McCormack
9c4e74e95e Bug 631437: Add length to SVGXXXList interfaces and make them respond to array indexing (v4) r=jwatt,bzbarsky 2011-04-08 10:44:03 +12:00
Cameron McCormack
6f9c7ae6e8 Bug 619498 - Part 2: Support interpolation and addition of similar SVG path segment types (v4) r=dholbert 2011-04-08 10:17:36 +12:00
Cameron McCormack
f7c58f9131 Bug 619498 - Part 1.5: Some nearby style cleanups (no change to code behavior) r=dholbert 2011-04-08 10:17:36 +12:00
Cameron McCormack
888a445a77 Bug 619498 - Part 1: Eliminate some forwarding member functions with using declarations. r=dholbert 2011-04-08 10:17:32 +12:00
Craig Topper
742b017a7c Bug 645956 - Part 1: Remove NS_NewCSSStyleRule, r=bzbarsky 2011-03-22 19:56:47 -07:00
Boris Zbarsky
6673da2a39 Bug 646850. When resetting length to the pre-animation value, make sure to not lose track of our units. r=dholbert 2011-03-31 15:29:44 -04:00
Boris Zbarsky
1014c1d928 Bug 646912. Fix grad-to-degree conversion factor. r=dholbert
--HG--
rename : layout/reftests/svg/smil/motion/animateMotion-rotate-1.svg => layout/reftests/svg/smil/motion/animateMotion-rotate-1a.svg
rename : layout/reftests/svg/smil/motion/animateMotion-rotate-1.svg => layout/reftests/svg/smil/motion/animateMotion-rotate-1b.svg
2011-03-31 15:29:44 -04:00
Robert Longson
8b57446931 Bug 614367 - Fix assert removing nonexistent transform r=dholbert 2011-02-27 10:54:47 +00:00
Robert Longson
7c5a1f227d Bug 635511 - Improve performance getting parent SVG elements r=jwatt 2011-02-26 10:21:11 +00:00
Daniel Holbert
141b29162d Bug 639728: Retain temporary owning references to new-style SVGxxxList DOM tearoffs where necessary. r=jwatt 2011-03-29 08:47:53 -07:00
Robert Longson
60a6329a4b Bug 619503 - Support SMIL animation of the class attribute r=dholbert,jwatt 2011-01-23 17:08:17 +00:00
Ms2ger
2deca252e5 Bug 639849 - Remove nsIDOM3Document; r=bz 2011-03-26 17:06:27 +01:00
Craig Topper
72d7c1f754 Bug 576831 part 4. Remove nsICSSStyleRule and use mozilla::css::StyleRule instead. r=bzbarsky
--HG--
rename : layout/style/nsCSSStyleRule.cpp => layout/style/StyleRule.cpp
rename : layout/style/nsICSSStyleRule.h => layout/style/StyleRule.h
2011-03-10 21:48:57 -05:00
Robert Longson
ebf398f4ac Bug 635442 - Crash [@ nsSVGComponentTransferFunctionElement::DidAnimateNumberList]
r=dholbert a=shaver
2011-02-22 13:04:51 +01:00
timeless@mozdev.org
22c57b9bbd Bug 620421 - remove useless check of mTokenPos from nsSVGTransformListParser::GetTransformToken
r=jwatt a=dbaron
2011-02-16 14:14:22 +01:00
Daniel Holbert
8febb4269b Bug 632143 patch 4: Extend SVGxxxList mochitest to check animVal up-to-date-ness after baseVal's length is mutated. r=roc a=tests 2011-02-15 23:54:37 -08:00
Daniel Holbert
c8abad09b2 Bug 632143 patch 3: Update animVal after modifying baseVal length, for DOMSVGPathSegList. r=roc a=blocking-final+ 2011-02-15 23:54:37 -08:00
Daniel Holbert
a0613a7dd3 Bug 632143 patch 2: Update animVal after modifying baseVal length, for DOMSVGPointList. r=roc a=blocking-final+ 2011-02-15 23:54:37 -08:00
Jonathan Watt
0ae30986fa Bug 632143 patch 1: Update animVal after modifying baseVal length, for DOMSVGLengthList and DOMSVGNumberList. r=roc a=blocking-final+ 2011-02-15 23:54:26 -08:00
Daniel Holbert
6db3fddfca Bug 632143 patch 0: Add helper-method 'UpdateListIndicesFromIndex' to DOMSVGxxxList classes. r=roc a=blocking-final+ 2011-02-15 23:54:04 -08:00
Daniel Holbert
83f62938a9 Bug 633315: Make "namespace mozilla" usage consistent across DOMSVG*List.cpp files. r+a=roc 2011-02-15 23:53:43 -08:00
Daniel Holbert
34236c78f0 (no bug) comment typo fix in 2 tests: s/the affect/the effect/ a=comment-only+test-only DONTBUILD 2011-02-15 10:10:40 -08:00
Jonas Sicking
0d87556628 Bug 629982: Attempt to fix crashes due to too deep DOM trees by making GetBaseURI non-recursive. r=jst a=blocker 2011-02-10 23:47:00 -08:00
Daniel Holbert
0c4aab88d6 Bug 614649, patch 1: In SVG-as-an-image with no viewBox, use height & width attrs on <svg> to dynamically synthesize a viewBox. r=jwatt a=roc 2011-02-09 12:13:18 -08:00
Daniel Holbert
7898bd203a Bug 614649, patch 0: In SVG-as-an-image internals, rename "mNeedsPreserveAspectRatioFlush" & friends to "mImageNeedsTransformInvalidation". r=jwatt a=roc 2011-02-09 12:13:18 -08:00
Jonathan Watt
b3192a3ab4 Bug 631946 - SVG DOM lists should limit the number of items to the number they can index. r=roc, a=roc. 2011-02-08 13:43:34 +00:00
Jonathan Watt
4c64bd4173 Bug 631939 - New SVG list item DOM wrappers get confused if there are more than 256 items in list. r=roc, a=roc. 2011-02-08 13:43:02 +00:00
Jonathan Watt
2a399a00e4 Bug 630760 - DOMSVGLengthList ctor synchronizes animVal instances to the baseVal internal list, plus sync some divergence between comments and code in list types. r=roc, a=blocking. 2011-02-06 22:11:26 +13:00
Jonathan Watt
30cee9cb37 Bug 630083 - Use SetParsedAttr in nsSVGElement::DidChangeXxx instead of SetAttr. r=roc, a=roc. 2011-02-02 08:41:50 +13:00
Jonathan Watt
7c9f9c67d5 Bug 610990 - Regression: SVGPathSegList should allow manipulation of invalid paths. r=roc,sicking, a=blocking. 2011-02-02 08:41:50 +13:00
Phil Ringnalda
1a3b7e01d2 Bug 625562 - Fix intermittent frameLoaded is not defined by moving the iframes below the definition of frameLoaded, r=jwatt, a=orange 2011-01-17 22:26:32 -08:00
Jonathan Watt
e9766e8961 Bug 619955. 'pointer-events' broken on SVG text. r=longsonr, a=roc.
--HG--
extra : rebase_source : 69ebfac4019f926014c957c9984cc6d6795016b3
2011-01-28 19:35:35 +13:00
Chris Leary
2b67ce4256 CLOSED TREE: Merge mozilla-central and tracemonkey. (a=blockers) 2011-01-27 20:06:21 -08:00
Blake Kaplan
bde820c88b Bug 627302 - Don't violate COM rules by forgetting to check the return value. r+a=jst
--HG--
extra : rebase_source : 238204a7aefb4cfcc62662004180beba2ede628d
2011-01-25 15:07:07 -08:00
Ryan VanderMeulen
57ae60243a Bug 586130 - Warning C4099 fixes (svg). r=dholbert a=bsmedberg 2011-01-20 19:49:09 -08:00
Brian Birtles
23f0dcba7c Bug 544809 - nsSVGPatternFrame::GetPatternWithAttr and callers should take account of SMIL animation, r=longsonr, a=roc 2011-01-16 16:36:34 +09:00
Daniel Holbert
c581c55b9a Bug 625800: Add missing outparam-setting in SMILAnimatedNumberList::ValueFromString. r+a=roc 2011-01-14 13:30:09 -08:00
Daniel Holbert
15a7fae4e1 Bug 623945: Null-check animationController before using it, in SVGDocumentWrapper::StartAnimation/StopAnimation. r=roc a=joe 2011-01-10 21:58:00 -08:00
Daniel Holbert
86f61bfba0 Bug 613899: If SVG <feImage> element points to our current document's exact URL, keep it from loading that image, to avoid a recursive death-spiral. r=longsonr a=roc 2011-01-10 21:57:57 -08:00
Jonathan Watt
64baa40654 Bug 619959, part 2. Fix handling of various values of pointer-events when stroke-opacity="0". r=longsonr,heycam. a=roc.
--HG--
extra : rebase_source : d2adfa6fb8abfc08e2c1693521668587d1aaa00d
2011-01-26 17:50:29 +13:00
Jonathan Watt
3190eb9b42 Bug 619959, part 1. Rename test_pointer-events.xhtml. r=longsonr, a=test.
--HG--
rename : content/svg/content/test/test_pointer-events.xhtml => content/svg/content/test/test_pointer-events-2.xhtml
extra : rebase_source : 0278da844f95eec32e994d2ffe8890ea8acbfa0d
2011-01-26 17:47:49 +13:00
Jonathan Watt
01f9a1b0c2 Bug 620034 - "ABORT: DOM wrapper's list length is out of sync" [@ mozilla::DOMSVGNumberList::Length]. r=longsonr, a=blocking. 2011-01-03 09:26:28 +00:00
Jonathan Watt
0e404435bc Bug 610594 - "ABORT: F.6.6.3 should prevent this. Will sqrt(-num)!". r=longsonr, a=blocking 2011-01-03 09:26:28 +00:00
Cameron McCormack
cc2415b164 Bug 620295 - Give SVGAElement objects an href property in JS r=jwatt a=roc 2010-12-22 16:30:38 +13:00
Brian Birtles
2b13cacbcd Bug 615872 Part 2 - SVG SMIL: Remove local resamples from timed elements; r=dholbert; a=roc 2010-12-23 14:48:31 +09:00
Brian Birtles
845e17fc42 Bug 615872 Part 1 - SVG SMIL: Remove unneeded mTimedDocumentRoot member from nsSVGAnimationElement; r=dholbert; a=roc 2010-12-23 14:48:30 +09:00
Ms2ger
3cfc490bc7 Bug 620358 - Fix uninitialized variable warning in SVGAnimated{PathSeg|Point}List::SetBaseValueString; r=jwatt a=roc 2010-12-21 15:03:01 -08:00
timeless@mozdev.org
784dd164c7 Bug 620169 [@ SVGAnimatedLengthList::SetBaseValueString] uses domWrapper forgetting it might be null. r=dholbert, a=roc. 2010-12-20 11:13:17 +00:00
Robert Longson
95f8c3df9b Bug 619968 - feGaussianBlur should render as identity if stdDeviation=0 r=jwatt,a=roc 2010-12-18 13:14:09 +00:00
Robert Longson
2ae2507399 Bug 619630 - Support no comma or whitespace between negative 2nd point in polyline r=jwatt,a=roc 2010-12-18 20:12:13 +00:00
Jonathan Watt
57e831d9ce Bug 614522 - SVGPathData::GetMarkerPositioningData reads uninitialised stack allocated memory.
--HG--
extra : rebase_source : 085e371fc3dd565258eb5e5f604e080604c9d7eb
2010-12-14 12:48:28 -08:00
Jonathan Watt
42fd83c9cd Bug 602207 - <animateMotion><mpath> uses path's "transform" attribute on <path> elements, which it shouldn't
--HG--
extra : rebase_source : 9c8d0cb8d4c349cacf4b6c1f0db2b74695e74ff0
2010-12-09 16:42:59 +00:00
Jonathan Watt
a9cdd991d8 Bug 617634 - SVGPathData::GetMarkerPositioningData checks for PATHSEG_CURVETO_QUADRATIC_ABS instead of PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS. r=longsonr, a=blocking
--HG--
extra : rebase_source : ff2195531164a553a099f3a0ff907022db13f322
2010-12-08 20:12:12 +00:00
Daniel Holbert
cad078735a Bug 272288 Patch 4: Mark <svg:image> as supported feature. r=longsonr a=roc 2010-12-19 16:45:29 -08:00
Daniel Holbert
ebf2a2f077 Bug 272288 Patch 2: Store override preserveAspectRatio values in property table on image document's root node, when painting <svg> image element. r=roc a=roc
--HG--
rename : layout/reftests/svg/image/blueRect10x10.svg => layout/reftests/svg/image/blueRect10x10-viewBox.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-01.svg => layout/reftests/svg/image/image-preserveAspectRatio-01-raster.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-01.svg => layout/reftests/svg/image/image-preserveAspectRatio-01-svg.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-02.svg => layout/reftests/svg/image/image-preserveAspectRatio-02-raster.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-02.svg => layout/reftests/svg/image/image-preserveAspectRatio-02-svg.svg
2010-12-19 16:45:29 -08:00
Daniel Holbert
9dce61ff01 Bug 272288 Patch 1: Fix nsSVGImageFrame to handle SVG images. r=roc a=roc 2010-12-19 16:45:29 -08:00
Daniel Holbert
24a0292ab0 Bug 619516 Patch 3: Rename files nsSVGPreserveAspectRatio.* to SVGAnimatedPreserveAspectRatio. r=jwatt a=roc
--HG--
rename : content/svg/content/src/nsSVGPreserveAspectRatio.cpp => content/svg/content/src/SVGAnimatedPreserveAspectRatio.cpp
rename : content/svg/content/src/nsSVGPreserveAspectRatio.h => content/svg/content/src/SVGAnimatedPreserveAspectRatio.h
2010-12-19 16:45:29 -08:00
Daniel Holbert
725fb5d939 Bug 619516 Patch 2: Update clients of nsSVGPreserveAspectRatio with new class name. r=jwatt a=roc 2010-12-19 16:45:29 -08:00
Daniel Holbert
61a096d4a4 Bug 619516 Patch 1: Rename nsSVGPreserveAspectRatio and its inner class to SVGAnimatedPreserveAspectRatio / SVGPreserveAspectRatio. r=jwatt a=roc 2010-12-19 16:45:29 -08:00
Robert Longson
618ecff833 Bug 617448 - remove svg.enabled as the browser now uses SVG and fails to start if it's disabled r+a=roc 2010-12-08 21:25:06 +00:00
Jonathan Watt
0265b48597 Bug 522308 - Add support for SMIL animation of the <polygon> and <polyline> element's 'points' attributes. r=longsonr,dholbert,roc a=roc
--HG--
extra : rebase_source : b5958bf2635db311c94191b4683d4b3f24d0232f
2010-12-08 12:15:53 +00:00
timeless@mozdev.org
2e15d9fa67 Bug 577905 mark DEBUG only variables as ifdef DEBUG in svg
r=dholbert a=roc

--HG--
extra : rebase_source : 1ff1359b298ffc5f273f3d0448e0e676d0d95069
2010-07-11 15:30:35 +03:00
Boris Zbarsky
90ea2dcdc2 Bug 614723. Don't get our acceptLangs unless we plan to use it. r=jwatt a=roc
--HG--
extra : rebase_source : 3f04cb498d6bf86e07ba82c393b4958d27e64449
2010-11-24 21:13:59 -05:00
Robert Longson
106fe8daf7 Bug 615666 - SMIL animation does not work with percent units for "offset" attr on <stop> elements. r=jwatt a=roc
--HG--
extra : rebase_source : 9907e24c397c5e7971256c3f0164255420585824
2010-12-05 20:33:31 +00:00
Jonathan Watt
abbcf32622 Bug 580796 - "ASSERTION: Returning unknown unit type" regression from bug 515116. r=longsonr a=roc
--HG--
extra : rebase_source : 5aa4913dab0572bbbf7aed3a961348c69fcb0542
2010-12-05 20:28:08 +00:00
Robert Longson
0e3a1489d4 Bug 615658 - SMIL animation of some filter attributes don't invalidate correctly. r=jwatt, a=roc.
--HG--
extra : rebase_source : 85b4bbde3697272e5f4f3352b993f46a49a845d6
2010-12-05 11:37:45 +00:00
Jonathan Watt
8f42ed666f Bug 589556. Make SVGMotionSMILPathUtils::PathGenerator use SVGLength, not nsSVGLength2. r=longsonr, a=roc.
--HG--
extra : rebase_source : 24c00ed89d741dd5445db600df3151e4ebe39215
2010-12-04 12:26:45 +00:00
Oleg Romashin
3874b00931 Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. part1 r=roc a=apporval2.0 2010-11-24 11:35:21 +02:00
Jonathan Watt
aef4dd636f Bug 589439. De-COMtaminate SVG number lists and support for SMIL animation of SVG number lists. a=roc r=roc,longsonr,dholbert.
--HG--
extra : rebase_source : eabed292053e9f63e025dc44b9f5a6c2017f626a
2010-12-03 16:40:23 +00:00
Boris Zbarsky
ce4d032cff Bug 608914 part 2. Get rid of some temporary strings now that we can AppendFloat to an nsAString. r=dbaron 2010-11-30 13:18:15 -05:00
Dave Townsend
7a0e0a5cd9 Backing out bug 614058, bug 609272, bug 478445, bug 499628, bug 605296, bug 608914 and bug 614724 due to potentially causing bug 615736 CLOSED TREE. a=backout 2010-12-01 11:01:56 -08:00
Daniel Holbert
365b12fb3a (no bug) comment fix in SVG code: s/rational/rationale/. a=comments-only 2010-11-30 21:27:30 -08:00
Boris Zbarsky
325022b283 Bug 608914 part 2. Get rid of some temporary strings now that we can AppendFloat to an nsAString. r=dbaron 2010-11-30 13:18:15 -05:00
Justin Lebar
43b18d2b18 Backed out changeset a5ec817740f0. a=orange 2010-11-29 09:08:24 -08:00
Oleg Romashin
233ef8a80c Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0 2010-11-24 11:35:21 +02:00
Dave Townsend
1244f0ae62 Backing out changeset 8fff1c186b30 from bug 607653 due to reftest failures on OSX. a=bustage 2010-11-24 16:19:41 -08:00
Oleg Romashin
a8abb4a458 Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0 2010-11-24 11:35:21 +02:00
Brian Birtles
bb15eae39f Bug 531550 - SVG SMIL: Fix assertion with indefinite duration by-animateTransform; r=dholbert; a=blocking-final 2010-11-24 08:31:17 +09:00
Henri Sivonen
be74c70467 Bug 606729 - Make sure a script with the src attribute is treated as an external script even if the value of the attribute is not a valid URL. r=jonas, a=blocking2.0-final. 2010-10-27 10:03:10 +03:00
Brian Birtles
b698e78544 Bug 606399 - SVG SMIL: Animating rect rx or ry only should animate corresponding attribute; r=roc; a=roc 2010-11-17 08:24:11 +09:00
Daniel Holbert
cca5a43b65 Bug 610796 followup: Fix non-libxul build issue from main patch, by using a virtual function call to a helper method. (Revert this changeset once we drop support for non-libxul builds). r=roc a=blocking-final+ 2010-11-16 15:19:21 -08:00
Jonathan Watt
32b749f30e Note tests that are not actually being run. a=npob. 2010-11-11 20:40:07 +00:00
Jonathan Watt
400e224219 Bug 611138. Replacing a segment with a second segment with a different number of arguments puts the wrapper and internal list out of sync. r=dholbert, a=blocking. 2010-11-11 20:40:07 +00:00
Henri Sivonen
0e5c39fc7b Bug 599588 - Make scripts created by createContextualFragment() executable. r=jonas, a=blocking2.0-final.
--HG--
extra : rebase_source : cfe476ed6ac2b1ee4cc243034659290d1226bd42
2010-11-01 11:50:01 +01:00
Robert Longson
330faa5ecf Bug 610466 - feDiffuseLighting with filterRes larger than filter region causes filter not to work r+a=roc 2010-11-10 08:53:53 +00:00
Brian Birtles
36130da895 Bug 608549 - SVG SMIL: Range check values passed to begin/endElement; r=dholbert; a=blocking-2.0 2010-11-10 08:22:19 +09:00
Brian Birtles
c6097b97f5 Bug 605345 - SVG SMIL: Fix time container pause state handling to avoid negative container times; r=dholbert; a=blocking-2.0 2010-11-10 08:22:02 +09:00
Brian Birtles
fb1f182b4c Bug 603917 - Part 2 - SVG SMIL: Fix notification of animated transforms; r=dholbert; a=blocking-2.0 2010-11-10 08:21:29 +09:00
Jonathan Watt
18d9313895 Bug 522306. Add support for SMIL animation of the <path> element's 'd' attribute. r=roc, r=longsonr, r=dholbert, a=roc. 2010-11-08 15:07:00 +00:00
Robert Longson
785fa4398d Bug 608653 - lacuna pattern width/height should be zero r+a=roc 2010-11-03 22:35:00 +00:00
Robert Longson
5f4593ff3d Bug 603584 - feDisplacementMap does not always create output in correct colour space r+a=roc 2010-10-26 09:23:41 +01:00
Serge Gautherie
0de00b3fcb Bug 595756 - "DOMSVGLength.cpp(58) : error C2248: 'mozilla::DOMSVGLengthList::mItems' : cannot access private member declared in class 'mozilla::DOMSVGLengthList'"; (Av1) Add an unrelated PRUint8() cast.
r=longsonr a2.0=roc.
2010-10-27 02:45:50 +02:00
Felipe Corrêa da Silva Sanches
11203a2085 Bug 596063: Fix 4 "warning: suggest parentheses around && within ||" warnings in SVGLengthListSMILType. r=dholbert a=bsmedberg 2010-11-05 11:24:12 -07:00
Ms2ger
024d857be8 Bug 594339 - Create a FromParser enum. r=hsivonen, sr=bzbarsky, a=jonas.
--HG--
extra : rebase_source : 70d6b15b0b149a29d0cdb298209706bb5391f6b4
2010-10-25 15:17:38 +03:00