Commit Graph

270 Commits

Author SHA1 Message Date
Brian Birtles
1ffb9cb392 Bug 663288 - Don't allow instance times to be self-dependent, r=dholbert 2011-06-22 10:12:35 +09:00
Brian Birtles
df2767992e Bug 650732 - Move interval change notifications into the timed element, r=dholbert 2011-06-15 09:16:57 +09:00
Dominic Fandrey
0ab2f46136 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Daniel Holbert
72a7071032 Bug 654015 patch 2: Assert that page is hidden when document disconnects from nsSMILAnimationController. r=bz 2011-05-12 10:50:14 -07:00
Ms2ger
941e819c63 Bug 616684 - Remove support for DOM Views; r=sicking,ehsan 2011-04-24 08:54:25 +02:00
Daniel Holbert
4263ad2860 Bug 653238 patch 2: Promote nsSMILAnimationController's static helper 'GetRefreshDriverForDoc' to an instance method. r=smaug 2011-04-28 12:05:24 -07:00
Daniel Holbert
abb2768190 Bug 653238 patch 1: Add nsSMILAnimationController::Disconnect to clear the controller's pointer to its doc when the doc goes away. r=smaug 2011-04-28 12:02:20 -07:00
Daniel Holbert
f3d8578086 Bug 653270: Simplify nsSMILAnimationController construction/initialization. r=jwatt 2011-04-28 12:02:20 -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
Ms2ger
295bf7256b Bug 616684 - Remove support for DOM Views; r=sicking 2011-04-24 08:54:25 +02:00
Masayuki Nakano
cc0623b6e3 Bug 647421 -moz-text-decoration-color and -moz-text-decoration-style should be reset by text-decoration r=dbaron, sr=bzbarsky 2011-04-23 14:16:41 +09:00
Cameron McCormack
c0000045de Bug 651036 - SMIL: Make discrete to-animations behave consistently with discrete from-to animations r=dholbert 2011-04-20 14:05:29 +12:00
Daniel Holbert
4c244025ec Bug 641388: When a refresh driver is created, don't start sampling unless we have animations registered. r=bz 2011-04-01 13:33:20 -07:00
Ms2ger
06e2459b57 Bug 604596. Stop using an out param for the return value of GetSMILOverrideStyle. r=bzbarsky 2011-03-28 23:32:11 -04:00
Ms2ger
4add4dff80 Bug 562701, part c: Use Element in nsStyleAnimation::ComputeValue; r=dbaron 2011-03-28 12:51:59 -04:00
Ms2ger
f3bff9fd12 Bug 562701, part a: Use Element in nsSMILCSSValueType::ValueFromString; r=smaug 2011-03-28 12:49:11 -04:00
Daniel Holbert
0ed416d521 Bug 604147: Make nsSMILTimedElement::GetNextInterval return PRBool instead of nsresult. r=birtles 2011-03-27 19:10:33 -04:00
Markus Stange
635a2437ca Bug 627651 - Improve the smooth scroll animation. ui-r=faaborg, r=roc 2011-03-26 00:30:19 -04:00
Brian Birtles
6c0c23ca0b Bug 628888 - Ensure external documents loaded after page show get page show update - tests; r=dholbert; a=roc 2011-02-11 16:02:04 +09:00
Brian Birtles
7560786ee4 Backing out bug 628888, changeset e3a645b56973 and changeset 4327761b6350 due to failing test, a=bustage 2011-02-11 11:15:18 +09:00
Brian Birtles
08d2b25e19 Bug 628888 - Ensure external documents loaded after page show get page show update - tests; r=dholbert; a=roc
--HG--
extra : rebase_source : 759db44bceb4b681f72e3d40ee16a7d81dac7f30
2011-02-11 10:07:38 +09:00
L. David Baron
3efa9fabcc In contexts where the CSS parser accepts numbers and lengths, treat unitless zero as a number rather than a length. (Bug 595648) r=bzbarsky,dholbert a=blocking2.0:betaN+
This patch has the side-effect of changing the representation of '0'
values in properties added by SVG to use the number representation
rather than the length representation.  This requires marking the
stroke-dashoffset:0 test in test_value_computation.html as known to
fail, since computed style code now returns 0 rather than 0px, and also
requires changing some inputs and results in some SMIL tests (which
seems like it's showing a bug that we can't interpolate between
equivalent values when we ought to be able to do so).
2010-12-30 12:59:33 -05:00
Brian Birtles
98d103fe8b Bug 607537 - SVG SMIL: Support paint servers an animation values; r=dholbert,dbaron; a=roc 2010-12-29 10:31:14 +09:00
Brian Birtles
8658beede3 Bug 618205 - SVG SMIL: Correctly fallback to non-additive animation on display and shorthand properties; r=dholbert; a=roc 2010-12-23 14:48:31 +09: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
365bdf5a91 Bug 615002 - SVG SMIL: Ignore previous milestones if we've been reset; r=dholbert; a=roc 2010-12-14 09:38:14 +09:00
Daniel Holbert
e8961b4743 Bug 617817: Don't automatically recompose <set> & indefinite-duration animations, since we know they always have the same effect. r=birtles a=roc 2010-12-10 10:33:13 -08: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
Daniel Holbert
59aec5e3a8 Bug 615977: Make nsCSSValue::BufferFromString() return an already_AddRefed pointer. r=dbaron a=roc
--HG--
extra : rebase_source : b4048d8fbde522f05a01df693887e0e26a5afb97
2010-12-05 13:17:29 +00:00
Brian Birtles
ecbab21a00 Bug 614879 - SVG SMIL: Fix indefinite to-animation; r=dholbert, a=roc
--HG--
extra : rebase_source : 9abf06da6a8e24f814623c370e66d77ec467c0e6
2010-12-05 13:13:31 +00: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
Brian Birtles
c15a012ecd Bug 611927 - SVG SMIL: Fix assertion when attempting to add to NULL base value; r=dholbert; a=roc 2010-11-24 08:31:17 +09:00
Brian Birtles
e71c63f793 Bug 606932 - SVG SMIL: Detect big delays in sampling and ignore intervening time; r=roc; a=blocking-final 2010-11-24 08:31:17 +09: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
896e0f43f0 Bug 603917 - SVG SMIL: Allow some forms of animation even if base value is not animatable; r=dholbert; a=blocking-2.0 2010-11-10 08:21:04 +09:00
Brian Birtles
e493c5ede0 Bug 572938 - SVG SMIL: Fix infinite recursion on 'display' with '<use>'; r=dholbert; a=blocking-final 2010-11-10 08:21:03 +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
Daniel Holbert
aeccfd6caa Bug 594198: In SMIL animation of length-valued attributes/properties, allow interpolation between 0 values and unitless values. r=birtles a=blocking-final+
--HG--
rename : layout/reftests/svg/smil/style/anim-css-strokewidth-1-by-px-px.svg => layout/reftests/svg/smil/style/anim-css-strokewidth-1-by-no-no.svg
rename : layout/reftests/svg/smil/style/anim-css-strokewidth-1-from-by-px-px.svg => layout/reftests/svg/smil/style/anim-css-strokewidth-1-from-by-no-no.svg
rename : layout/reftests/svg/smil/style/anim-css-strokewidth-1-from-to-px-px.svg => layout/reftests/svg/smil/style/anim-css-strokewidth-1-from-to-no-no.svg
rename : layout/reftests/svg/smil/style/anim-css-strokewidth-1-to-px-px.svg => layout/reftests/svg/smil/style/anim-css-strokewidth-1-to-no-no.svg
rename : layout/reftests/svg/smil/style/anim-css-strokewidth-4-from-by-px-px.svg => layout/reftests/svg/smil/style/anim-css-strokewidth-4-from-by-no-no.svg
2010-11-06 12:13:01 -07:00
Daniel Holbert
c7a0ea9ff0 Bug 608295: Pause newly-created SMIL animation controller inside of documents that are hidden. r=roc a=blocking-betaN 2010-11-06 12:13:01 -07:00
Daniel Holbert
b6d7935ee4 Bug 606101: When first <animate> is registered, delay starting sampling if we lack a time container. r=birtles a=blocking-final 2010-11-06 12:13:01 -07:00
Daniel Holbert
0c7a86d62e Bug 606942: Pause SMIL Animation Controller (not just time container), and allow helper-images to suspend, when SVG-as-an-image is paused. r=roc a=blocking-final 2010-11-06 12:13:01 -07:00
Brian Birtles
c9ec008e48 Bug 579828 - SVG SMIL: Trim, don't prune invalid active intervals; r=dholbert; a=roc 2010-10-20 08:55:09 +09:00
Brian Birtles
a28984a98a Bug 590425 part 2 - SVG SMIL: Make nsPresShell's interaction with the animation controller account for deferred sampling; r=dholbert; a=roc 2010-10-20 08:53:52 +09:00
Brian Birtles
0cb4e2bfa7 Bug 590425 - SVG SMIL: Clear deferred sampling flag on pause; r=dholbert; a=roc 2010-10-20 08:52:49 +09:00
Brian Birtles
721bffca0b Bug 596796 - SVG SMIL: Fix inconsistent state when resetting current interval; r=dholbert; a=roc 2010-10-13 09:20:12 +09:00
Brian Birtles
a7ca4fe4a3 Bug 594653 - SVG SMIL: Don't use InstanceTimeComparator on times without serial numbers; r=dholbert; a=roc 2010-10-13 09:17:55 +09:00
Brian Birtles
e679591d1a Bug 588287 - SVG SMIL: Fix reparenting animation to younger time container; r=dholbert; a=blocking-final 2010-10-13 09:15:32 +09:00
Brian Birtles
2901d17b2d Bug 592477 - SVG SMIL: Flush styles before running sample - test case; r=roc; a=blocking-final 2010-10-13 09:15:22 +09: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
Brian Birtles
cbacc5c498 Bug 550071 - SVG SMIL: Use refresh driver timestamp, not PR_Now; r=dholbert; a=blocking-betaN 2010-09-18 12:46:48 +09:00
Brian Birtles
deb48ddddd Bug 557885 - SVG SMIL: Support keyTimes for calcMode=discrete; r=dholbert; a=blocking-betaN 2010-09-18 12:46:48 +09:00
Brian Birtles
47a4d46fec Bug 592477 - SVG SMIL: Flush styles before running sample; r=roc; a=blocking-final 2010-09-11 16:05:31 +09:00
Daniel Holbert
84086a69e7 Bug 276431 Patch 6: Add method nsSMILAnimationController::HasRegisteredAnimations. r=roc a=blocking 2010-09-08 13:40:39 -07:00
Brian Birtles
b90f670c09 Bug 587910 - SVG SMIL accessKey timing, r=dholbert,smaug; sr=roc; a=roc 2010-08-28 15:41:05 +09:00
Brian Birtles
36e7527d9a Bug 544855 - Make discrete to-animation only visit to value, r=dholbert, a=blocking-betaN+ 2010-08-18 19:20:24 +09:00
Brian Birtles
601e6299ae Bug 485157: SMIL event timing, part 6 repeat timing, r=dholbert, sr=roc, a=roc 2010-08-18 19:20:24 +09: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
Brian Birtles
f5f57834b2 Bug 485157: SMIL event timing, part 3 event registration and timing, r=smaug, dholbert; sr=roc, a=roc 2010-08-18 19:20:24 +09:00
Brian Birtles
82b4a7d801 Bug 485157: SMIL event timing, part 2 refactor instance time clearing, r=dholbert, sr=roc, a=roc 2010-08-18 19:20:24 +09:00
Brian Birtles
c81d68f39a Bug 485157: SMIL event timing, part 1 refactor added end time handling, r=dholbert, sr=roc, a=roc 2010-08-18 19:20:24 +09: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
Daniel Holbert
688ef36d84 Bug 550975: Apply this bug's mochitest-stability-improvements to test_smilRestart.xhtml, which got missed in main landing for this bug. [tests-only] 2010-07-22 12:19:46 -07:00
Daniel Holbert
b4c660e61d Bug 580098 followup: Revert no-longer-needed hackarounds from mochitests test_smilReset.xhtml & test_smilRestart.xhtml. [tests-only] 2010-07-22 12:19:46 -07:00
Daniel Holbert
b5209815b8 Bug 571016: Workaround for randomorange in test_smilRestart.xhtml. [test-only fix] 2010-07-20 02:18:46 +02:00
Zack Weinberg
9c006a4ff7 Bug 569719 part 1: Rename nsCSSDeclaration to mozilla::css::Declaration. r=dbaron 2010-06-28 15:49:35 -07:00
Henri Sivonen
5bf17b6fc0 Bug 552938 - Implement the SVG load event in text/html, make the SVG load event in XML async and only supported on <svg>. (Also disable/tweak 2 broken tests) r=dholbert, sr=roc 2010-07-18 15:07:54 -07: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
Brian Birtles
59966bc56c Bug 492458 - SVG SMIL: Implement backwards seeking - Part 2 - backwards seeking. r=dholbert, sr=roc 2010-07-03 14:52:51 +09:00
Brian Birtles
916969013c Bug 492458 - SVG SMIL: Implement backwards seeking - Part 1 - interval and instance time filtering. r=dholbert, sr=roc 2010-07-03 14:52:50 +09: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
Robert Longson
bb74438e58 Backout bug 487404 - fix mochitest 2010-06-19 14:54:42 +01:00
Ms2ger
991ef5697d Bug 566776 - Some nsINode methods defined in nsGenericElement.cpp return nsnull as an nsresult. r=jst 2010-05-20 10:41:00 -04:00
Robert Longson
77d4c995db Bug 570555 - CSS animation on font-size should not require units. r=dholbert,sr=roc 2010-06-09 20:51:31 +01:00
Jesse Ruderman
3dbc6bd8c8 Add a bunch of crashtests 2010-06-08 17:53:08 -07:00
Brian Birtles
ce2d671860 Bug 554202 - SVG SMIL: Fix crash due to infinite recursion negotiating cyclic dependencies. r=roc 2010-05-28 21:43:17 +09:00
Brian Birtles
e6b1457fa1 Bug 541297 - SVG SMIL: Fix abort on sampling re-attached animation node, r=roc
--HG--
extra : rebase_source : 1f228522d818b31d336558f6a238660c2972b770
2010-05-25 09:38:25 +09:00
Brian Birtles
f77b800cad Bug 554141 - SVG SMIL: Fix crash with orphaned unresolved begin times, r=roc
--HG--
extra : rebase_source : 82f7d0cdf89a543b4a07e126157096a47465de8e
2010-05-21 09:18:29 +09:00
Daniel Holbert
a4d803138a Bug 566777: nsSMILMappedAttribute::ClearAnimValue shouldn't do anything if there's no animated value to clear. r=roc 2010-05-19 10:38:05 -07: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
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
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
Daniel Holbert
55f4fd5129 Bug 436418, patch D: SVG/SMIL animateMotion - reftests & mochitests.
--HG--
rename : layout/reftests/svg/smil/lime.svg => layout/reftests/svg/smil/motion/lime.svg
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
499364814d Bug 436418, patch C3: SVG/SMIL animateMotion - add "TreatSingleValueAsStatic" helper method, to assist nsSMILAnimationFunction subclasses in customizing animation behavior. r=roc 2010-04-28 16:00:53 -07:00
Daniel Holbert
02cf40a28a Bug 436418, patch C2: SVG/SMIL animateMotion - move nsSMILAnimationFunction error-flag-handling code from a macro to a method. r=roc 2010-04-28 16:00:53 -07:00
Daniel Holbert
60b8a35f82 Bug 436418, patch C1: SVG/SMIL animateMotion - add GenericValueParser helper class. r=roc 2010-04-28 16:00:53 -07:00
Craig Topper
771eede254 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Daniel Holbert
522a227913 Bug 555026: In SMIL animation, ignore keyTimes attr when in paced calcMode. r=roc 2010-04-06 14:39:29 -07:00
Daniel Holbert
349c8a3d2a Bug 556841: In paced-calcMode SMIL animation, don't bother computing distance in trivial 2-values case. r=roc 2010-04-05 09:59:42 -07:00
Daniel Holbert
84c8cc58ba Bug 556404: Put CSS parser in SVG mode when parsing SMIL animation endpoints for XML attributes. r=roc r=dbaron 2010-04-02 09:34:31 -07:00
Daniel Holbert
74e8e98856 (no bug) Remove method-declaration for unused & undefined function "UpdateValuesArray" in nsSMILAnimationFunction. (no review; one-liner, removing unused code) 2010-04-02 09:34:30 -07:00
Daniel Holbert
b8718e9faa Bug 551298, patch D: Use NS_INLINE_DECL_REFCOUNTING in /content/ directory. r=sicking 2010-04-01 11:05:40 -07:00
Daniel Holbert
97158792ab Backed out changeset 13819d2e9bd8 (Bug 551298) due to Linux debug mochitest-5 orange 2010-04-01 09:37:26 -07:00
Daniel Holbert
e6c10e8d77 Bug 551298, patch D: Use NS_INLINE_DECL_REFCOUNTING in /content/ directory. r=sicking 2010-04-01 08:08:51 -07:00