Commit Graph

893 Commits

Author SHA1 Message Date
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
Masayuki Nakano
baf54af560 Bug 663039 content should use mozilla::Preferences r=roc+jwatt+chris.double+bjacob 2011-07-07 11:00:02 +09:00
Robert Longson
308f373d21 Bug 669216 - Simplify some of the number-optional-number implementation. r=dholbert 2011-07-04 22:19:54 +01:00
Robert Longson
b1a2285137 Bug 669025 - class name and proto chain interface mismatch with number-optional-number and integer-optional-integer. r=dholbert 2011-07-03 20:49:11 +01:00
Marco Bonardo
13b5cd08c3 Merge mozilla-inbound and mozilla-central 2011-07-02 10:39:08 +02:00
Robert Longson
e5b43ca994 Bug 668889 - simplify boolean attribute parsing. r=dholbert 2011-07-01 22:15:04 +01:00
Robert Longson
1371deaee4 Bug 617623 - animate number-optional-number and integer-optional-integer attributes properly. r=dholbert 2011-07-01 08:19:52 +01:00
Jonas Sicking
26f99e3cdb Bug 658714 Part 7: DeCOMtaminate nsEventListenerManager. r=smaug 2011-06-23 19:18:01 -07:00
Igor Bazarny
39a01edf21 bug 570341 Initial implementation of web timing specification
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00
Robert Longson
3235a831cb Bug 652832 - Support animation of use element width/height. r=jwatt 2011-06-20 21:15:42 +01:00
Jonathan Watt
739789661d Bug 664708 - GetCharNumAtPosition should only accept native points. r=longsonr.
--HG--
extra : rebase_source : f6baa2c0d4f4d79d626aaebc272604d79edb1db3
2011-06-16 14:47:04 +01:00
Jonathan Watt
cea21c4f74 Bug 664130 - const-ify some SVG element class methods. r=dholbert.
--HG--
extra : rebase_source : e3efcfa1b14b36a5b7f1baefde3fbffb471c6b37
2011-06-16 11:53:13 +01:00
Jonas Sicking
5f95458332 Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz 2011-06-14 00:56:49 -07:00
Matheus Kerschbaum
7406ce377f Bug 660762 - Remove --disable-mathml support. r=roc 2011-06-02 13:11:33 +02:00
Robert Longson
622580fa22 Bug 657077 - Should not assert calling suspendRedraw on elements that fail conditional processing. r=dholbert 2011-05-31 19:12:40 +01:00
Boris Zbarsky
76f757828a Bug 598833 part 12. Add dom::Element::UpdateState and use it in various places where elements update their own state. r=smaug,sdwilsh,mounir 2011-05-31 21:46:57 -04:00
Boris Zbarsky
e167b0caba Bug 598833 part 9. Store an Element pointer in Link. r=smaug,sdwilsh 2011-05-31 21:46:57 -04:00
Boris Zbarsky
e0320797e3 Bug 598833 part 8. Create an explicit API to request link state updates. r=smaug,sdwilsh
This is a bit of a hack to make sure that we update link state sometime when doing style resolution, pending a better setup in bug 660959 for determining when to resolve the link URI.
2011-05-31 21:46:57 -04:00
Ms2ger
b171b9ae5c Bug 658906 - Remove nsIDOMNSDocument; r=sicking 2011-05-28 09:43:53 +02:00
Masayuki Nakano
2b6aea130f Bug 660401 Re-land the previous backed out patch 2011-05-28 16:03:00 +09:00
Masayuki Nakano
4dede19235 Bug 660401 temporary backout the patches for bug 659820 and bug 659821 for investigating talos regression 2011-05-28 13:50:19 +09:00
Masayuki Nakano
387ea6f111 Bug 659821 Replace nsContentUtils::GetLocalizedStringPref() with Preferences::GetLocalizedC?String() r=roc 2011-05-27 13:53:03 +09:00
Jonas Sicking
b35fd6c424 Bug 659530: Clean up and remove unused code that we no longer need with the safer mutation events implementation. r=smaug 2011-05-25 10:58:23 -07:00
Masayuki Nakano
060287addd Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc 2011-05-25 15:31:59 +09:00
Steven Michaud
3c38967408 Backed out changeset ae5b84b96fd7 (bug 570341) due to test failures DONTBUILD. a=sheriff 2011-05-24 01:54:23 -05:00
Igor Bazarny
b829003e22 bug 570341 - Initial implementation of web timing specification
r=jduell sr=biesi
2011-05-23 19:19:24 -07:00
Jim Mathies
4327e25f5e Backout of bug 570341 (cset:1a645ea075fc) due to test failure. 2011-05-23 19:55:36 -05:00
Igor Bazarny
dbf49a1d09 bug 570341 - Initial implementation of web timing specification
r=smaug sr=biesi

--HG--
extra : rebase_source : e8b233ebcf1065ea5e6df61446cfd013262a61d0
2011-05-23 14:19:36 -07:00
Matheus Kerschbaum
35f86c76ad Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
Ms2ger
fb6f5dd0ca Bug 655517 - Remove nsIDOMDocumentEvent; f=ehsan r=smaug 2011-05-23 18:46:36 +02:00
Jonathan Watt
f709b31a75 Bug 657862 - Relative SVG arc path segments are broken. r=longsonr.
--HG--
extra : rebase_source : 8897f5f5358f67708f92f50e1061d1947ae011a1
2011-05-20 21:00:35 +01:00
Jonathan Watt
b4856a95b9 Bug 580983. Fix broken test, but disable it since it would now be virtually permaorange. 2011-05-14 20:10:18 +01:00
Jonathan Watt
42626a794e Bug 580983. Invert the args to is() so that the 'expected...got...' message is the correct way round. 2011-05-14 18:06:02 +01:00
Jonathan Watt
8efe0687fe Bug 580983. Use path instead of rect to eliminate ambiguity about which rect is being hit.
--HG--
extra : rebase_source : 9608b39c80a8a7a1b88c61db1ebd5cfa21e7ff09
2011-05-14 17:56:47 +01:00
Jonathan Watt
de09de0254 Bug 580983. Clean up test before another attempt at orange fix.
--HG--
extra : rebase_source : c5dcaec1516041578c9db5af4682b52a0c67d1d0
2011-05-14 17:55:53 +01:00
Jonathan Watt
414d346a76 Bug 580983. Attempt to fix random orange. 2011-05-14 14:12:32 +01:00
Ed Morley
ff5f79b83b Bug 654463 - Remove WinCE code from content/* ; r=sicking 2011-05-04 09:25:50 +02:00
Olli Pettay
a4d206d66a Bug 654182, svgnumberlist keeps a strong pointer to element, r=dholbert 2011-05-02 22:19:20 +03:00
Robert Longson
d3f15b07db Bug 643419 - pathLength should affect stroke-dasharray. r=dholbert 2011-05-01 19:26:20 +01:00
Ms2ger
941e819c63 Bug 616684 - Remove support for DOM Views; r=sicking,ehsan 2011-04-24 08:54:25 +02:00
Robert Longson
b64e818fa8 Bug 652442 - Script feature support should depend on whether javascript is enabled. r=dholbert 2011-04-30 14:56:16 +01:00
DĂŁo Gottwald
abc853c0f0 Backed out changeset 00f6e702f095 because svg-image-script-2.svg is failing intermittently 2011-04-29 17:11:07 +02:00
Robert Longson
91f2e27dba Bug 652442 - Script feature support should depend on whether javascript is enabled. r=dholbert 2011-04-29 12:28:10 +01:00
Olli Pettay
106880b08c Bug 653497 - Once bug 335998 is fixed, SVGPathDataAndOwner::mElement leaks documents, r=dholbert
--HG--
extra : rebase_source : 76c024841265bbd2a0c2acecc5285074b23f4079
2011-04-29 15:33:11 +03:00
Daniel Holbert
f719ee4025 Bug 649568: Clean up logic for addition & interpolation in SVGPathSegListSMILType. r=jwatt 2011-04-28 12:02:10 -07:00
Ehsan Akhgari
d2a61eb331 Backout changeset 13f6847dd840 (bug 616684) because it changes code semantics in a bad way, which results in problems like the crash in bug 652580, possibly among others 2011-04-25 17:05:17 -04:00
Jonathan Watt
33ba400dd2 Bug 433063 - write tests for bug 418206 (Some SVG files that appear to hang Mozilla). 2011-04-25 16:32:20 +01:00
Ms2ger
295bf7256b Bug 616684 - Remove support for DOM Views; r=sicking 2011-04-24 08:54:25 +02:00
Daniel Holbert
70f0915512 Bug 652050: revert diagnostic 2 (remove temporary debugging printfs) 2011-04-22 18:28:11 -07:00
Daniel Holbert
db90c5a738 Bug 652050 diagnostic 2 followup: use printf_stderr since android doesn't have printf. rs=dougt 2011-04-22 17:10:50 -07:00
Daniel Holbert
68f63cf866 Bug 652050 diagnostic 2: Temporarily add printfs to verify presumed cause of mobile permaorange. r=dougt 2011-04-22 14:08:54 -07:00
L. David Baron
25d74a36a4 Remove null-checks of nsCSSParser, since construction is infallible. (Bug 542058, patch 1) r=bzbarsky
Note that many callers already skipped the null-checks.
2011-04-21 20:17:31 -07:00
Jonathan Watt
9c895c01df Bug 589648 part 3. Work around lack of cairo support to display square stroke-linecaps for zero length paths. r=longsonr.
--HG--
extra : rebase_source : 5aaa65a2bc888b4a64884f5f2a87beb7803f646e
2011-04-20 10:16:02 +01:00
Jonathan Watt
2ab77ec23f Bug 589648 part 2. Stop hardcoding the segment argument count in SVGPathData::ConstructPath. r=longsonr.
--HG--
extra : rebase_source : 8e670189c28a66c682c6097b3c42f41fa3126aa5
2011-04-20 10:16:02 +01:00
Jonathan Watt
95f497f6f6 Bug 589648 part 1. Explicitly maintain a 'segStart' variable in SVGPathData::ConstructPath instead of being clever with 'segEnd'. r=longsonr.
--HG--
extra : rebase_source : 7e18e457b3589d103173ffdb97ee7791cf5bf3d2
2011-04-20 10:16:02 +01:00
Robert Longson
55e9f84758 Bug 648819 - Stop ASSERTION: unknown nsISVGValue with invalid patternTransform. r=dholbert 2011-04-18 19:55:07 +01:00
Daniel Holbert
562808c8e5 Bug 641393 patch 4: Add more tests for SVG length lists. r=jwatt 2011-04-14 11:47:27 -07:00
Daniel Holbert
3d7e72652f Bug 641393 patch 3: Make SVGLengthListSMILType logic match other list types. r=jwatt 2011-04-14 11:47:27 -07:00
Daniel Holbert
d6b2f34020 Bug 641393 patch 2: Make namespacing style consistent across SVG List classes, and replace some Length==0 checks with IsEmpty(). r=jwatt 2011-04-14 11:47:27 -07:00
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
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