Commit Graph

1195 Commits

Author SHA1 Message Date
Cameron McCormack
f873853e5f 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
e3c89dc540 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
5796977c88 Bug 619498 - Part 1: Eliminate some forwarding member functions with using declarations. r=dholbert 2011-04-08 10:17:32 +12:00
Craig Topper
6096667acd Bug 645956 - Part 1: Remove NS_NewCSSStyleRule, r=bzbarsky 2011-03-22 19:56:47 -07:00
Boris Zbarsky
dc3c181623 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
d6a199195e 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
33e2b16404 Bug 614367 - Fix assert removing nonexistent transform r=dholbert 2011-02-27 10:54:47 +00:00
Robert Longson
0e3d0a6a8e Bug 635511 - Improve performance getting parent SVG elements r=jwatt 2011-02-26 10:21:11 +00:00
Daniel Holbert
1742f23133 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
f99d899234 Bug 619503 - Support SMIL animation of the class attribute r=dholbert,jwatt 2011-01-23 17:08:17 +00:00
Ms2ger
afb8ed489f Bug 639849 - Remove nsIDOM3Document; r=bz 2011-03-26 17:06:27 +01:00
Craig Topper
678b9c7c11 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
2004971086 Bug 635442 - Crash [@ nsSVGComponentTransferFunctionElement::DidAnimateNumberList]
r=dholbert a=shaver
2011-02-22 13:04:51 +01:00
timeless@mozdev.org
fd2dad5a03 Bug 620421 - remove useless check of mTokenPos from nsSVGTransformListParser::GetTransformToken
r=jwatt a=dbaron
2011-02-16 14:14:22 +01:00
Daniel Holbert
d06b864012 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
580149d472 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
04e3fc2233 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
92786469e9 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
6edc32d46b 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
c4b8d3cd41 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
9653ef51f8 (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
f78ceb3ed4 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
acd9183d26 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
6b8a2d8914 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
7b15b63e36 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
c45858aed6 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
b3ca54256e 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
65cda56077 Bug 630083 - Use SetParsedAttr in nsSVGElement::DidChangeXxx instead of SetAttr. r=roc, a=roc. 2011-02-02 08:41:50 +13:00
Jonathan Watt
3a76d2e4bd 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
3c8760609b 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
39e1406647 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
5c65e6d6bb CLOSED TREE: Merge mozilla-central and tracemonkey. (a=blockers) 2011-01-27 20:06:21 -08:00
Blake Kaplan
677937b943 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
ac569e89cd Bug 586130 - Warning C4099 fixes (svg). r=dholbert a=bsmedberg 2011-01-20 19:49:09 -08:00
Brian Birtles
86398f1c49 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
6392eab70e Bug 625800: Add missing outparam-setting in SMILAnimatedNumberList::ValueFromString. r+a=roc 2011-01-14 13:30:09 -08:00
Daniel Holbert
9e71c36163 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
152b4f3f0e 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
9934dc9026 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
b825b2ce54 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
999d3260be 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
c7eb7f1b6c 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
198eef8656 Bug 620295 - Give SVGAElement objects an href property in JS r=jwatt a=roc 2010-12-22 16:30:38 +13:00
Brian Birtles
460d8df030 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
48a2da0f0e 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
aa6b77f297 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
c330acddbc 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
9bf199b4a1 Bug 619968 - feGaussianBlur should render as identity if stdDeviation=0 r=jwatt,a=roc 2010-12-18 13:14:09 +00:00
Robert Longson
a72e5e15b4 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
38fea6cbb3 Bug 614522 - SVGPathData::GetMarkerPositioningData reads uninitialised stack allocated memory.
--HG--
extra : rebase_source : 085e371fc3dd565258eb5e5f604e080604c9d7eb
2010-12-14 12:48:28 -08:00
Jonathan Watt
e0fc603463 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
bfbb5772d5 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
315d58c8d6 Bug 272288 Patch 4: Mark <svg:image> as supported feature. r=longsonr a=roc 2010-12-19 16:45:29 -08:00
Daniel Holbert
901759a6ef 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
3accb6ca19 Bug 272288 Patch 1: Fix nsSVGImageFrame to handle SVG images. r=roc a=roc 2010-12-19 16:45:29 -08:00
Daniel Holbert
fba6deb958 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
ce3929fd22 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
91c3c4516c 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
b2a9c7cba7 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
815b5004c9 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
c1d4d80ee3 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
cd1f4202c2 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
223bcc21ec 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
9bab925233 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
e83166f6ce 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
39154b34d4 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
b19d4e2f0c 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
069b81c71b 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
dab4af6147 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
f322fea87c 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
3fad3ee032 (no bug) comment fix in SVG code: s/rational/rationale/. a=comments-only 2010-11-30 21:27:30 -08:00
Boris Zbarsky
3fe2b9b4bb 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
9167d8acf3 Backed out changeset a5ec817740f0. a=orange 2010-11-29 09:08:24 -08:00
Oleg Romashin
8a52f4b99f 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
fb8abb6e9d 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
bb4bf02096 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
35749e7e39 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
7fc58aa6e4 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
2006b1b12f 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
81cf8876e1 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
a4e2cf3a18 Note tests that are not actually being run. a=npob. 2010-11-11 20:40:07 +00:00
Jonathan Watt
39ff414a70 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
76999c3787 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
14b30508ab 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
6bebcd41c3 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
45adef3d66 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
4c2adb47ad 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
8d2603cd28 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
7f8fdfd939 Bug 608653 - lacuna pattern width/height should be zero r+a=roc 2010-11-03 22:35:00 +00:00
Robert Longson
26f19f70fa 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
45a0779de1 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
aa0de1aaa4 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
a495819ba2 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
06426cc202 Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz 2010-10-20 13:26:32 +02:00
Robert Longson
9a8c49bbbb Bug 580983 - try to make test_pointer-events.xhtml more robust. a=test-only 2010-10-17 17:27:51 +01:00
Markus Stange
4c74ef0ee6 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
d91398d42e Backed out changeset 2d184fdf2776
--HG--
extra : rebase_source : a70a04e5dec9fafff061009d1758f4f2dd57883a
2010-10-14 14:29:39 -04:00
Serge Gautherie
ec07aea677 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
d4106241cf 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
2ba0cb27b5 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
12c35b9104 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
191b24cc24 Bug 589436 patch 3: Tests. r=dholbert a=blocking-b8+ 2010-10-07 12:19:32 -07:00
Robert Longson
eba2ec8bc5 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
a6b6c37935 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
70eeb58789 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
1b2d6f9f21 Back out bug 591981 since it causes bug 599583. a=backout 2010-09-27 16:23:33 -07:00
Henri Sivonen
13fdc6cc71 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
85155492df Back out bug 591981 to see if it caused a performance regression. a=backout 2010-09-20 15:47:57 -07:00
Henri Sivonen
cda261fa94 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
3ead7e2dab Bug 586184 - Report true for AnimationEventsAttribute feature string; r=longsonr; a=blocking-betaN 2010-09-11 16:05:31 +09:00
Daniel Holbert
ef970d70d1 Bug 592964: Use nsDependentAtomString instead of nsAtomString for temporary variables. r=jst a=jst 2010-09-04 23:41:17 -04:00
Josh Matthews
fe8af14775 Backing out ebce58252cf8, 1f94199af190, 81664d1912ee, 8e95db7adbea, f97a99ad74af, 66d12a1541f2, 6b936d1a9e65 2010-09-04 15:15:31 -04:00
Daniel Holbert
03eaa380a5 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
b01dbc0d56 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
88d155fd35 Bug 585817. Part 3: Remove nsSVGUtils::GetThebesComputationalSurface and use gfxPlatform::ScreenReferenceSurface instead. r=jwatt 2010-08-20 14:29:01 -05:00
Chris Jones
7f92d363c1 Backed out changeset cebb111fbfc4 2010-08-19 19:03:56 -05:00
Robert O'Callahan
67c4dcd9f5 Bug 585817. Part 3: Remove nsSVGUtils::GetThebesComputationalSurface and use gfxPlatform::ScreenReferenceSurface instead. r=jwatt 2010-08-19 13:49:35 -05:00
Brian Birtles
9896ec8948 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
e5574fcbf1 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
3133bff6c6 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
a4e6996a16 Bug 537890. Part 8: Define MM_PER_INCH_FLOAT. r=dbaron 2010-08-13 21:57:57 +12:00
Mounir Lamouri
89e9fd902f Bug 585507 - Fix compilation issue when SMIL is disabled. r=dholbert a2.0=dbaron 2010-08-15 11:19:34 -04:00
Robert Longson
beb10ce6a3 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
beb120b612 Backed out changeset 7b475a00cd7c. Reftest bustage. 2010-08-14 21:27:43 -04:00
Robert Longson
ce3734116b Bug 584322 - feDisplacementMap seems to be adding an offset. r=roc, a=dbaron 2010-08-14 20:42:18 -04:00
Daniel Holbert
2c2ed663ed 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
1e1c1def63 Backed out changeset cdd440adb726 2010-08-10 15:10:11 +02:00
Ms2ger
719312de88 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
256d4fa87a Bug 584293. Make .style faster. r=peterv 2010-08-05 17:59:36 -04:00
Daniel Holbert
4113e49e15 Crashtests for Bug 579356. [tests-only] 2010-08-05 07:53:43 -07:00
Robert Longson
70aa0c4b71 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
b184cb662d 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
8b6e3c3cc7 Bug 527270: Implement SMIL TimeEvents. r=dholbert,smaug; sr=roc; a=blocking-betaN 2010-07-31 16:02:52 +09:00
Robert Longson
d8318c4a74 Backout Bug 578309 due to mochitest failures 2010-07-27 09:35:54 +01:00
Robert Longson
03cd1f62f1 Bug 578309 - mask and clipPath applied to foreignObject are translated. r=roc a=blocking 2010-07-27 08:33:01 +01:00
Kyle Huey
ae68024861 Bug 581723: Remove completely unused nsISVGLength. r=jwatt 2010-07-26 12:32:43 -07:00
Craig Topper
7f6bd7be85 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
6059821942 Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Daniel Holbert
16c5e8046e 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
4caec055d0 Bug 577438 Part 1: Add previous sibling to nsIMutationObserver::ContentRemoved. r=sicking 2010-07-21 15:05:17 -07:00
Boris Zbarsky
9f23039775 Bug 578696 part 4. Stop holding strong refs when calling NodeWillBeDestroyed. r=sicking 2010-07-21 11:33:32 -04:00
Zack Weinberg
2f4426c2f1 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
d60d9e623f Bug 569719 part 1: Rename nsCSSDeclaration to mozilla::css::Declaration. r=dbaron 2010-06-28 15:49:35 -07:00
Robert Longson
780577b92e Bug 487649 - Markers handle viewBox and preserveAspectRatio badly. r=jwatt 2010-07-18 11:06:03 +01:00
Robert Longson
17a0720c8d 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
b771d2d1d3 Bug 579017 - Fix crash calling nsSVGAngle::NewValueSpecifiedUnits. r=jwatt 2010-07-18 10:51:30 +01:00
Jonathan Watt
9da6570c8a 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
535492b2f9 Bug 576986 - Fix pointer-events on foreignObject with clip-path. r=roc 2010-07-15 09:10:59 +01:00
Robert Longson
a2fd96954a Bug 576802 - Fix crash with gradientTransform animate. r=jwatt 2010-07-12 20:17:17 +01:00
Robert Longson
fd3fd38c95 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
7be35161f4 Bug 555627. Make transitions actually work correctly on :before and :after. r=dbaron 2010-06-30 18:54:29 -07:00
Ms2ger@gmail.com
91560b026e Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Felipe Corrêa da Silva Sanches
ac6104327b Bug 554704: Rename "aCanCache" param (for nsISMILAttr::ValueFromString), r=dholbert, r=jwatt 2010-06-23 17:30:55 -07:00
Jesse Ruderman
27cd5edb8c 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
c743190bdb Backout bug 487404 2010-06-19 13:55:46 +01:00
Jesse Ruderman
73e0f6b5f2 Add some crashtests and reftests
--HG--
extra : rebase_source : a167ccf140387fa50e3668422b5a74bea0527255
2010-06-17 13:21:24 -07:00
Robert Longson
74a71da6f7 Bug 569463 - Stop coverity complaining about GetParsedAttr call in RebuildPathAndVerticesFromMpathElem. r=jwatt 2010-06-09 20:13:03 +01:00
Robert Longson
42880f8258 Bug 570354 - CSS mapping missing for link elements. r=jwatt 2010-06-09 19:53:40 +01:00
Henri Sivonen
38a188aa08 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
d938851670 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
7b1e51be23 Bug 570258: Some more atom usage cleanup. r=jst 2010-06-08 16:25:27 -07:00
Craig Topper
213b0d1c3f 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
189cf82cee Bug 561726 - make animateTransform work on gradientTransform and patternTransform. r=jwatt 2010-05-28 13:15:56 +01:00
Robert Longson
f9b20eb9ad 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
5404061c20 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
7de02fc132 Bug 561654. nsSVGTextPositioningElement should be on the primary inheritance chain. r=longsonr 2010-05-24 16:58:24 +02:00
Boris Zbarsky
1316de26e9 Bug 565826. Use Element in SMIL code as needed. r=dholbert 2010-05-14 13:04:51 -04:00
Boris Zbarsky
4399ba2268 Bug 565820. Use Element as the return value for ReferencedElement. r=roc 2010-05-14 13:04:51 -04:00
Boris Zbarsky
8ccd3c1fea Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking 2010-05-10 21:12:34 -04:00
Boris Zbarsky
fb534f9674 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
43c97eb34c Start annotating crashtest manifests with assertion counts. (Bug 472557) 2010-05-04 21:28:19 -07:00
Daniel Holbert
3749f1139c 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
bf0bf82b9c 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
76eb0b7a70 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
89bfd67671 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
b398d9af92 Bug 562688 part 15. Remove the eELEMENT bit. r=jst 2010-04-30 09:12:06 -04:00
Boris Zbarsky
0466fc87f5 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
7accfbd87e Bug 562688 part 7. Eliminate eELEMENT users in the rest of content/. r=jst 2010-04-30 09:12:06 -04:00
Boris Zbarsky
9c2ad4b2aa 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
7ad753f947 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
7b4b55a963 Bug 436418, patch G: SVG/SMIL animateMotion - add support for path attribute. r=roc 2010-04-28 16:00:54 -07:00
Daniel Holbert
2196ba717a Bug 436418, patch F: SVG/SMIL animateMotion - add support for keyPoints attribute. r=roc 2010-04-28 16:00:54 -07:00
Daniel Holbert
ea5825f520 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
c722e28bb1 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
6be4492738 Bug 436418, patch A: SVG/SMIL animateMotion - add some foundational code. r=roc 2010-04-28 16:00:53 -07:00
Ben Newman
bd232d2cb8 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
1cabbb443f 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
b627649b3d 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
0a0e3af0ba Bug 559024 - SVGStyleElement.media and SVGStyleElement.title setters do not work. r=jwatt 2010-04-14 10:30:55 +01:00
Robert Longson
b3316bb10e Bug 456286 - support altGlyph elements as tspans. r=roc 2010-04-13 09:58:09 +01:00
Daniel Holbert
8974b8f2ee (no bug, comment-only) Remove duplicate "nsIContent methods" header-comment in nsSVGAnimationElement.cpp 2010-04-12 16:50:35 -07:00
Julian Seward
4b42858919 Bug 547964 - r=dbaron
--HG--
extra : rebase_source : 88834502ab1cdac1aa7dac9557ee1aa40ccc354f
2010-04-12 11:53:59 -04:00
Jesse Ruderman
542512ff31 Add crashtests 2010-04-11 16:59:47 -07:00
Daniel Holbert
d9de189fe5 (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
c2be0ffdad 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
df5f3c9a60 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
85c9e641b0 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
348f3082bf 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
d509dc0e16 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
605900c19f Backed out changeset 29bc09de2f77 (Bug 551298) due to Linux debug mochitest-5 orange 2010-04-01 09:38:53 -07:00