Commit Graph

772 Commits

Author SHA1 Message Date
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
Mounir Lamouri
66067bcb7b Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz 2010-10-20 13:26:32 +02:00
Robert Longson
4e114f3286 Bug 580983 - try to make test_pointer-events.xhtml more robust. a=test-only 2010-10-17 17:27:51 +01:00
Markus Stange
e785f3e168 Bug 592118 - Don't stack-allocate gfxContexts that are passed to other functions. r=roc a=blocking2.0:final
--HG--
extra : rebase_source : efcf3b58c953ea8ec8cad45f4b0ffa0b898a2397
2010-10-15 12:20:22 +02:00
Gavin Sharp
5f6788ed0b Backed out changeset 2d184fdf2776
--HG--
extra : rebase_source : a70a04e5dec9fafff061009d1758f4f2dd57883a
2010-10-14 14:29:39 -04:00
Serge Gautherie
267b5d7fee 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.
2010-10-14 19:37:50 +02:00
Robert Longson
a177bf7bad Bug 601251 - numberList and pointlist DOM methods need to validate their arguments. r=jwatt a=blocking-final 2010-10-11 15:11:39 +01:00
Robert Longson
c92d390c9d Bug 601406 - GetBBox crashes when called on an SVG a element r=jwatt a=blocking-final 2010-10-08 17:49:39 +01:00
Robert Longson
a9e1988758 Bug 595608: Check for non-atom value for "type" attribute in nsSVGTransformSMILAttr::ValueFromString. r=dholbert a=blocking-final+ 2010-10-07 12:19:33 -07:00
Robert Longson
062ba744d2 Bug 589436 patch 3: Tests. r=dholbert a=blocking-b8+ 2010-10-07 12:19:32 -07:00
Robert Longson
5115e60502 Bug 589436 patch 2: Allow string-valued SVG attributes to be SMIL-animated. r=dholbert a=blocking-b8+ 2010-10-07 12:19:32 -07:00
Daniel Holbert
27a432d4a3 Bug 600574 part 2: Check for SVG images with viewBox in nsStyleBackground::Layer::RenderingMightDependOnFrameSize. r=bz r=longsonr a=blocking-betaN+ 2010-10-06 15:18:52 -07:00
Henri Sivonen
62878d9b2f Bug 591981 - Make script-inserted inline scripts run right away, make script-inserted external scripts behave like async scripts and make document.write writing an inline script return at a predictable time. r=jonas, a=blocking2.0-beta7. 2010-09-01 14:41:12 +03:00
Jonas Sicking
5d3b067a49 Back out bug 591981 since it causes bug 599583. a=backout 2010-09-27 16:23:33 -07:00
Henri Sivonen
27395b2f77 Bug 591981 - Make script-inserted inline scripts run right away, make script-inserted external scripts behave like async scripts and make document.write writing an inline script return at a predictable time. r=sicking a=blocking2.0-beta7 2010-09-21 12:48:40 -07:00
Jonas Sicking
f161eca3e2 Back out bug 591981 to see if it caused a performance regression. a=backout 2010-09-20 15:47:57 -07:00
Henri Sivonen
1e21e4e21a Bug 591981 - Make script-inserted inline scripts run right away, make script-inserted external scripts behave like async scripts and make document.write writing an inline script return at a predictable time. r=jonas, a=blocking2.0-beta7.
--HG--
extra : rebase_source : 3d30baa42025c2d5e63b39586671345ae87bb0b2
2010-09-01 14:41:12 +03:00
Brian Birtles
700698e922 Bug 586184 - Report true for AnimationEventsAttribute feature string; r=longsonr; a=blocking-betaN 2010-09-11 16:05:31 +09:00
Daniel Holbert
8460fa015a Bug 592964: Use nsDependentAtomString instead of nsAtomString for temporary variables. r=jst a=jst 2010-09-04 23:41:17 -04:00
Josh Matthews
2814f869bb Backing out ebce58252cf8, 1f94199af190, 81664d1912ee, 8e95db7adbea, f97a99ad74af, 66d12a1541f2, 6b936d1a9e65 2010-09-04 15:15:31 -04:00
Daniel Holbert
f390399c09 Bug 592964: Use nsDependentAtomString instead of nsAtomString for temporary variables. r=jst a=jst
Bug 592964: Use nsDependentAtomString instead of nsAtomString for temporary variables. r=jst a=jst
2010-09-03 14:29:00 -04:00
Ms2ger
27271a8a8f Bug 562698 - Part a: Pass Elements to nsIMutationObserver::AttributeChanged and nsCSSFrameConstructor::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-24 09:05:56 +02:00
Robert O'Callahan
8cbf8e9f2a Bug 585817. Part 3: Remove nsSVGUtils::GetThebesComputationalSurface and use gfxPlatform::ScreenReferenceSurface instead. r=jwatt 2010-08-20 14:29:01 -05:00
Chris Jones
308355c7a0 Backed out changeset cebb111fbfc4 2010-08-19 19:03:56 -05:00
Robert O'Callahan
3ecd0a2a97 Bug 585817. Part 3: Remove nsSVGUtils::GetThebesComputationalSurface and use gfxPlatform::ScreenReferenceSurface instead. r=jwatt 2010-08-19 13:49:35 -05:00
Brian Birtles
62844c6133 Bug 485157: SMIL event timing, part 5 make default event base the animation target, r=dholbert, sr=roc, a=roc 2010-08-18 19:20:24 +09:00
Brian Birtles
7581213bbc Bug 485157: SMIL event timing, part 4 refactor nsIContent usage to use mozilla::dom::Element instead, r=dholbert, sr=roc, a=roc 2010-08-18 19:20:24 +09:00
Robert O'Callahan
20c2a19d6a Bug 537890. Part 10: Fix nsPresContext and nsIDeviceContext unit-conversion methods to be explicit about using CSS logical units instead of physical units. r=dbaron 2010-08-13 21:58:04 +12:00
Robert O'Callahan
87bbf8a495 Bug 537890. Part 8: Define MM_PER_INCH_FLOAT. r=dbaron 2010-08-13 21:57:57 +12:00
Mounir Lamouri
1860675a01 Bug 585507 - Fix compilation issue when SMIL is disabled. r=dholbert a2.0=dbaron 2010-08-15 11:19:34 -04:00
Robert Longson
79c3db79d2 Bug 584322: Fix confusion between premultiplied and non-premultiplied colors that was causing feDisplacementMap to offset the result incorrectly. r=roc a2.0=dbaron 2010-08-15 08:42:29 -04:00
Robert Sayre
0ab67ae195 Backed out changeset 7b475a00cd7c. Reftest bustage. 2010-08-14 21:27:43 -04:00
Robert Longson
011cb3e886 Bug 584322 - feDisplacementMap seems to be adding an offset. r=roc, a=dbaron 2010-08-14 20:42:18 -04:00
Daniel Holbert
5b754a5516 Bug 582004 part 2: Make imgIContainerObserver::FrameChanged take a const aDirtyRect argument. r=joe a=blocking 2010-08-13 21:09:48 -07:00
Dão Gottwald
f246f9a00f Backed out changeset cdd440adb726 2010-08-10 15:10:11 +02:00
Ms2ger
e0dc6046da Bug 562698 - Part a: Pass Elements to nsIMutationObserver::AttributeChanged and nsCSSFrameConstructor::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-10 14:25:28 +02:00
Boris Zbarsky
ff911ada1d Bug 584293. Make .style faster. r=peterv 2010-08-05 17:59:36 -04:00
Daniel Holbert
8695da5b48 Crashtests for Bug 579356. [tests-only] 2010-08-05 07:53:43 -07:00
Robert Longson
495bb25761 Bug 579356: Limit recursion in CalcBezLength for SVG path length-calculation. r=dholbert a=blocking 2010-08-05 07:53:43 -07:00
Zack Weinberg
6873de67ec Bug 569719 part 9: remove return value from css::Declaration methods that always return NS_OK, and change GetCSSDeclaration to return a css::Declaration instead of an nsresult. r=dbaron 2010-07-23 11:00:34 -07:00
Brian Birtles
6c35d0694f Bug 527270: Implement SMIL TimeEvents. r=dholbert,smaug; sr=roc; a=blocking-betaN 2010-07-31 16:02:52 +09:00
Robert Longson
2316d387ff Backout Bug 578309 due to mochitest failures 2010-07-27 09:35:54 +01:00
Robert Longson
c28d8f49a4 Bug 578309 - mask and clipPath applied to foreignObject are translated. r=roc a=blocking 2010-07-27 08:33:01 +01:00
Kyle Huey
a9e232cc45 Bug 581723: Remove completely unused nsISVGLength. r=jwatt 2010-07-26 12:32:43 -07:00
Craig Topper
432b14f38e Bug 580902 - Remove "using namespace mozilla;" from nsSVGElement.h and fixup the places that relied on it. r=jwatt 2010-07-25 17:25:38 -07:00
Olli Pettay
abf43f852b Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Daniel Holbert
68569e8636 Bug 580098: Request resample when firing SVGLoad, so that any DOM requests after SVGLoad but before first SMIL sample will trigger synchronous sample-flush. r=birtles 2010-07-22 12:19:46 -07:00
Craig Topper
b9673b8709 Bug 577438 Part 1: Add previous sibling to nsIMutationObserver::ContentRemoved. r=sicking 2010-07-21 15:05:17 -07:00
Boris Zbarsky
b8256cdb51 Bug 578696 part 4. Stop holding strong refs when calling NodeWillBeDestroyed. r=sicking 2010-07-21 11:33:32 -04:00
Zack Weinberg
76dbdde0f4 Bug 569719 part 2: Move headers for the former nsCSSLoader and nsCSSDeclaration into mozilla/css/. r=dbaron
--HG--
rename : layout/style/nsCSSDeclaration.cpp => layout/style/Declaration.cpp
rename : layout/style/nsCSSDeclaration.h => layout/style/Declaration.h
rename : layout/style/nsCSSLoader.cpp => layout/style/Loader.cpp
rename : layout/style/nsCSSLoader.h => layout/style/Loader.h
2010-06-28 15:49:35 -07:00
Zack Weinberg
9c006a4ff7 Bug 569719 part 1: Rename nsCSSDeclaration to mozilla::css::Declaration. r=dbaron 2010-06-28 15:49:35 -07:00
Robert Longson
f098d16c9b Bug 487649 - Markers handle viewBox and preserveAspectRatio badly. r=jwatt 2010-07-18 11:06:03 +01:00
Robert Longson
dc3a420c38 Bug 577475 - polygon end marker should be at the same point as the start marker. r=jwatt 2010-07-18 10:59:11 +01:00
Robert Longson
88ca84966e Bug 579017 - Fix crash calling nsSVGAngle::NewValueSpecifiedUnits. r=jwatt 2010-07-18 10:51:30 +01:00
Jonathan Watt
fe8a477f84 Bug 515116. DeCOMify SVG length-list, and implement SMIL animation of length-list. r=longsonr, r=dholbert, sr=roc 2010-07-16 22:42:12 +01:00
Robert Longson
9c5cda0b67 Bug 576986 - Fix pointer-events on foreignObject with clip-path. r=roc 2010-07-15 09:10:59 +01:00
Robert Longson
36db312d94 Bug 576802 - Fix crash with gradientTransform animate. r=jwatt 2010-07-12 20:17:17 +01:00
Robert Longson
58c2213318 Bug 574249 - Polyline should display up to the point of a parse error. r=jwatt 2010-07-04 20:00:00 +01:00
Boris Zbarsky
b8fb52d415 Bug 555627. Make transitions actually work correctly on :before and :after. r=dbaron 2010-06-30 18:54:29 -07:00
Ms2ger@gmail.com
a4005e2fd1 Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Felipe Corrêa da Silva Sanches
57a4d6e3e9 Bug 554704: Rename "aCanCache" param (for nsISMILAttr::ValueFromString), r=dholbert, r=jwatt 2010-06-23 17:30:55 -07:00
Jesse Ruderman
b02675a617 Bug 573316 - Use IsSVGWhitespace instead of isspace to fix an assertion failure and match the SVG spec. r=jwatt 2010-06-20 14:39:14 -07:00
Robert Longson
3480f5102b Backout bug 487404 2010-06-19 13:55:46 +01:00
Jesse Ruderman
fb054fc73e Add some crashtests and reftests
--HG--
extra : rebase_source : a167ccf140387fa50e3668422b5a74bea0527255
2010-06-17 13:21:24 -07:00
Robert Longson
ae845283fd Bug 569463 - Stop coverity complaining about GetParsedAttr call in RebuildPathAndVerticesFromMpathElem. r=jwatt 2010-06-09 20:13:03 +01:00
Robert Longson
32ed8c2967 Bug 570354 - CSS mapping missing for link elements. r=jwatt 2010-06-09 19:53:40 +01:00
Henri Sivonen
66b4460d1a Bug 535691 - Adjust the assertion annotations for the test case for bug 535691. r=jruderman.
--HG--
extra : rebase_source : 3cedc8e5754bd8ade1e9debea0924d7c52650c4b
2010-06-09 09:44:25 +03:00
Henri Sivonen
95a61f78e3 Bug 569538 - Make aFromParser distinguish network, document.write and fragments in the HTML case. r=Olli.Pettay.
--HG--
extra : rebase_source : 2f4804245ff7b235736b882e0f9e84403e4e0ae6
2010-06-09 09:44:25 +03:00
Jonas Sicking
1489785d0c Bug 570258: Some more atom usage cleanup. r=jst 2010-06-08 16:25:27 -07:00
Craig Topper
00d9a2b835 Bug 566808 - "DeCOMtaminate nsIStyleRule method signatures" [r=dbaron]
(transplanted from 9a7be1835b530c72a46069a5c3951b80b16804a3)

--HG--
extra : transplant_source : %9A%7B%E1%83%5BS%0Cr%A4%60i%A5%C3%95%1B%80%B1h%04%A3
2010-05-19 22:28:00 -04:00
Robert Longson
4be6c6e0c5 Bug 561726 - make animateTransform work on gradientTransform and patternTransform. r=jwatt 2010-05-28 13:15:56 +01:00
Robert Longson
3829941e78 Bug 564719 - SVG length parsing should indicate an error when it only contains whitespace. r=jwatt 2010-05-28 12:07:06 +01:00
Felipe Corrêa da Silva Sanches
64332a58a3 Bug 558935: Add ifndef/define/endif guards to header files that lack them, in SVG code. r=jwatt 2010-05-26 13:01:10 -07:00
Jonathan Watt
8fb86df3e7 Bug 561654. nsSVGTextPositioningElement should be on the primary inheritance chain. r=longsonr 2010-05-24 16:58:24 +02:00
Boris Zbarsky
45dd44b40c Bug 565826. Use Element in SMIL code as needed. r=dholbert 2010-05-14 13:04:51 -04:00
Boris Zbarsky
626e1bb052 Bug 565820. Use Element as the return value for ReferencedElement. r=roc 2010-05-14 13:04:51 -04:00
Boris Zbarsky
e98cd67374 Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking 2010-05-10 21:12:34 -04:00
Boris Zbarsky
f7d7c95ec6 Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst 2010-05-05 14:18:05 -04:00
L. David Baron
279b6f41b9 Start annotating crashtest manifests with assertion counts. (Bug 472557) 2010-05-04 21:28:19 -07:00
Daniel Holbert
003d36c7fc Bug 562310 Part 5: Use nsCharSeparatedTokenizer to simplify/fix existing parsing code in SVG and SMIL. r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert
06a036b3ef Bug 562310 Part 4: Remove nsCommaSeparatedTokenizer typedef, and replace its uses with nsCharSeparatedTokenizer(','). r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert
20950733f1 Bug 562310 Part 1: Rename file nsCommaSeparatedTokenizer.h to nsCharSeparatedTokenizer.h (and update #includes). r=roc
--HG--
rename : xpcom/ds/nsCommaSeparatedTokenizer.h => xpcom/ds/nsCharSeparatedTokenizer.h
2010-05-04 07:43:48 -07:00
timeless@mozdev.org
37f93391a2 Bug 562487 - comparison between signed and unsigned integer expressions in BoxBlur and nsSVGFETileElement::Filter, r=roc 2010-04-28 16:15:00 -07:00
Boris Zbarsky
5e646b58c9 Bug 562688 part 15. Remove the eELEMENT bit. r=jst 2010-04-30 09:12:06 -04:00
Boris Zbarsky
ca01cf3893 Bug 562688 part 13. Eliminate eELEMENT usage in layout/style, except the rule processor. r=dbaron 2010-04-30 09:12:06 -04:00
Boris Zbarsky
30883f9737 Bug 562688 part 7. Eliminate eELEMENT users in the rest of content/. r=jst 2010-04-30 09:12:06 -04:00
Boris Zbarsky
04027a9479 Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Daniel Holbert
128f3eaa73 Bug 436418, patch H: SVG/SMIL animateMotion - add support for <mpath> sub-element. r=roc 2010-04-28 16:00:54 -07:00
Daniel Holbert
c121001886 Bug 436418, patch G: SVG/SMIL animateMotion - add support for path attribute. r=roc 2010-04-28 16:00:54 -07:00
Daniel Holbert
c240503b49 Bug 436418, patch F: SVG/SMIL animateMotion - add support for keyPoints attribute. r=roc 2010-04-28 16:00:54 -07:00
Daniel Holbert
49730afb12 Bug 436418, patch E: SVG/SMIL animateMotion - add support for <animateMotion> element and its core logic. r=roc 2010-04-28 16:00:54 -07:00
Daniel Holbert
a18dc3de3d Bug 436418, patch B: SVG/SMIL animateMotion - update license text, and fix compilation issues. r=roc 2010-04-28 16:00:53 -07:00
Eric Hedekar
d1baa7f8dd Bug 436418, patch A: SVG/SMIL animateMotion - add some foundational code. r=roc 2010-04-28 16:00:53 -07:00
Ben Newman
941ed3332c Replace direct instantiations of nsRunnableMethod with calls to the templatized NS_NewRunnableMethod function (part 3/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 16:21:35 -07:00
Robert O'Callahan
a982d52092 Bug 534566. Use separate nsPropertyTables for different categories so we don't pollute the property name list with unrelated names. r=sicking 2010-04-23 14:41:38 +12:00
Neil Deakin
ceb1712f98 Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil 2010-04-21 10:53:42 -04:00
Ms2ger
4581294096 Bug 559024 - SVGStyleElement.media and SVGStyleElement.title setters do not work. r=jwatt 2010-04-14 10:30:55 +01:00
Robert Longson
eb179fd968 Bug 456286 - support altGlyph elements as tspans. r=roc 2010-04-13 09:58:09 +01:00
Daniel Holbert
0e8a67a7ec (no bug, comment-only) Remove duplicate "nsIContent methods" header-comment in nsSVGAnimationElement.cpp 2010-04-12 16:50:35 -07:00
Julian Seward
4a8eff8ae8 Bug 547964 - r=dbaron
--HG--
extra : rebase_source : 88834502ab1cdac1aa7dac9557ee1aa40ccc354f
2010-04-12 11:53:59 -04:00
Jesse Ruderman
8255751882 Add crashtests 2010-04-11 16:59:47 -07:00
Daniel Holbert
465b1bf745 (no bug) Fix typo in header comment for nsSVGPathDataParser.h: s/nsIDOMPathSeg/nsIDOMSVGPathSeg/. rs=roc 2010-04-08 15:09:14 -07:00
Robert Longson
24c35dec9d Bug 556808 - ASSERTION: unknown nsISVGValue: Not Reached, when appending segment to SVG path. r=jwatt 2010-04-08 18:18:58 +01:00
Robert Longson
6d504862c2 Bug 553905 - data parser should parse up to a failure and not scrap the whole path. r=jwatt 2010-04-08 09:58:04 +01:00
Peter Van der Beken
8e3acb1006 Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst.
--HG--
extra : rebase_source : 9a7823b365cfca04bb08c5be94eab29d218f1e61
2010-01-12 14:08:43 +01:00
Mats Palmgren
57a4d3a783 Bug 383488: don't accept trailing tokens in 'value' in style.setProperty(prop,value,"important"). r=dbaron 2010-04-01 23:07:40 -07:00
Daniel Holbert
f055328561 Bug 551298, patch B: Replace uses of THEBES_INLINE_DECL_REFCOUNTING with NS_INLINE_DECL_REFCOUNTING. r=roc 2010-04-01 11:05:40 -07:00
Daniel Holbert
2c959d12e8 Backed out changeset 29bc09de2f77 (Bug 551298) due to Linux debug mochitest-5 orange 2010-04-01 09:38:53 -07:00
Daniel Holbert
bf4331f880 Bug 551298, patch B: Replace uses of THEBES_INLINE_DECL_REFCOUNTING with NS_INLINE_DECL_REFCOUNTING. r=roc 2010-04-01 08:08:51 -07:00
Robert Longson
11cc4a0089 Bug 388547 - initial support for x,y,dx,dy,rotate lists on SVG text and tspan elements. r=roc 2010-03-30 11:21:19 +01:00
Daniel Holbert
0421bbf64e Bug 555321: In nsSVGSVGElement::InvalidateTransformNotifyFrame, don't warn about 'wrong frame type' if we don't have a frame. r=jwatt 2010-03-26 20:55:30 -07:00
Daniel Holbert
d527d95aca Bug 555291: Replace multiple string-literals of SVG whitespace/comma delimeters with a single #define. r=jwatt 2010-03-26 20:55:28 -07:00
Daniel Holbert
fe512e0b26 Bug 554804: Fix GetBaseValue in nsSMILCSSProperty and nsSVGTransformSMILAttr to benefit from return value optimization. r=jwatt 2010-03-26 12:24:13 -07:00
Daniel Holbert
8a432e2ae4 Bug 554687 patch 2: Use nsSMILValue::Swap instead of operator= where appropriate. r=roc 2010-03-26 12:24:07 -07:00
Daniel Holbert
f5b5986626 Backed out changeset 1bcf725bb32f due to PR_STATIC_ASSERT failure on ppc 2010-03-25 09:21:10 -07:00
Daniel Holbert
7a1b4bf825 Bug 554687 patch 2: Use nsSMILValue::Swap instead of operator= where appropriate. r=roc 2010-03-25 09:02:03 -07:00
Robert Longson
0f85e4e1d7 Bug 554091 - negative rx and ry are unsupported rather than errors according to SVG1.2T. r=jwatt 2010-03-23 12:53:36 +00:00
Daniel Holbert
93fa4b366b Bug 550593: Make nsISMILType::Init infallible, and return |void| instead of |nsresult|. r=roc 2010-03-22 11:57:36 -07:00
Robert Longson
c6f98571f9 Bug 553053 - Should not create frames for SVG animation elements, it interferes with clipPath validation and is inefficient. r=dholbert,sr=roc 2010-03-19 11:17:49 +00:00
Peter Van der Beken
e5d87ec5bb Fix for bug 552716 (Remove NS_INTERFACE_MAP_ENTRY_CONTENT_CLASSINFO). r=jst.
--HG--
extra : rebase_source : 8e03b54ff6117dcac27188b296c59dcafbb6db78
2010-03-17 16:09:05 +01:00
Robert Longson
b4884958db Bug 552830 - Should not force rx=ry for a rect by clamping if one is omitted. r=jwatt 2010-03-18 12:14:38 +00:00
Robert O'Callahan
c11d039a6b Bug 538266. Part 3: move nsSVGUtils::GfxRectToIntRect to nsLayoutUtils. r=mats 2010-03-02 12:08:28 +13:00
Daniel Holbert
52f0b1c7e3 Bug 534028, Patch C: Support SMIL animation of SVG attributes that are mapped to CSS properties. r=roc 2010-03-16 16:17:33 -07:00
Daniel Holbert
017831a213 Bug 534028, Patch B: Add "MappedAttrParser" class to simplify parsing values for mapped attributes. r=dbaron 2010-03-16 16:17:32 -07:00
Daniel Holbert
1b7f3ee4bc Bug 534028, Patch A: Make nsIContent::GetAnimatedAttr()'s nsIAtom argument non-const. r=roc 2010-03-16 16:17:32 -07:00
Daniel Holbert
269ef04f37 Bug 550975: In mochitests with SVG embedded in XHTML, move initial pauseAnimations call to <svg> onload handler. r=roc 2010-03-10 12:33:37 -08:00
Jonas Sicking
3175f89133 Bug 534136 Part 3: Optimize atom-using code for the fact that atoms store 16bit strings. Also take advantage of new nsAtomString API. r=bz 2010-03-08 07:45:00 -08:00