Commit Graph

295 Commits

Author SHA1 Message Date
Brian Birtles
0a4ca726ca Bug 669225 part 6 - Break dependencies sooner on unlink; r=dholbert 2011-07-25 10:45:49 -07:00
Brian Birtles
ac3e371931 Bug 669225 part 5 - Make sure other removal functors don't remove instance times that should be preserved; r=dholbert 2011-07-25 10:45:29 -07:00
Brian Birtles
e94f86fd06 Bug 669225 part 4 - Make sure filtering of instance times doesn't remove the previous interval's end time; r=dholbert 2011-07-25 10:45:03 -07:00
Brian Birtles
5fc127fdbc Bug 669225 part 3 - Add assertion to catch potentially problematic instance time deletion; r=dholbert 2011-07-25 10:44:58 -07:00
Brian Birtles
a9772f3991 Bug 669225 part 2 - Preserve instance times that belong to intervals; r=dholbert 2011-07-25 10:44:54 -07:00
Brian Birtles
e2593c1d08 Bug 669225 part 1 - Crash tests; r=dholbert 2011-07-25 10:44:42 -07:00
Mounir Lamouri
2e1dfaef9e Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-20 12:18:54 -07:00
Ehsan Akhgari
ee5215c7a6 Revert to changeset e0ce7821fce1 because the latest push broke all of the builds DONTBUILD 2011-07-19 16:25:54 -04:00
Mounir Lamouri
5937d63965 Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-19 11:22:43 -07:00
Ed Morley
1e063d88b5 Bug 671282 - Replace nsDebugAutoBoolTrueSetter in docshell and AutoBoolSetter in SMIL with AutoRestore; r=bz 2011-07-19 12:04:55 +02:00
Brian Birtles
6497fb9c0c Bug 671749 - Rename incorrectly named SMIL crashtest 665335-1.svg to 665334-1.svg, r=dholbert
--HG--
rename : content/smil/crashtests/665335-1.svg => content/smil/crashtests/665334-1.svg
2011-07-19 09:23:21 +09:00
Ehsan Akhgari
0787743cf4 Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-15 08:13:08 -04:00
Ms2ger
36c532ffa2 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Brian Birtles
5c758ce335 Bug 669234 - Use AutoRestore to manage depth recursion tracking in nsSMILTimedElement, r=dholbert 2011-07-15 11:17:15 +09:00
Brian Birtles
e5b308da49 Bug 665334 part 3 - Don't remove instance times used as fixed interval endpoints, r=dholbert 2011-07-02 12:37:56 +09:00
Brian Birtles
dbea318c75 Bug 665334 part 2 - Add fallback to detect infinite recursion when updating the interval and bail out, r=dholbert 2011-07-02 12:37:47 +09:00
Brian Birtles
2501c9b116 Bug 665334 part 1 - crashtest, r=dholbert 2011-07-02 12:37:38 +09:00
Brian Birtles
3606b29e7b Bug 664343 - Batch updates to current interval, r=dholbert 2011-07-02 12:37:10 +09:00
Daniel Holbert
4304527c47 Bug 671341: Remove unused variable |start| from 'GetTokenEnd()' in nsSMILParserUtils.cpp. r=birtles 2011-07-14 13:29:37 -07: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
5e5e6bd544 Bug 658714 Part 10: Remove nsIDOM3EventTarget/nsIDOMEventGroup. r=smaug 2011-06-23 19:18:02 -07:00
Jonas Sicking
864793d608 Bug 658714 Part 9: Don't use EventGroups for system-group. r=smaug 2011-06-23 19:18:02 -07:00
Jonas Sicking
26f99e3cdb Bug 658714 Part 7: DeCOMtaminate nsEventListenerManager. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking
6a04ff1d9f Bug 658714 Part 6: Fixups after search'n'replace s/nsPIDOMEventTarget/nsIDOMEventTarget/. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking
e3f6b769a1 Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug 2011-06-23 19:18:00 -07:00
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