Commit Graph

199 Commits

Author SHA1 Message Date
L. David Baron
c64142dd70 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
4a591481a9 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
b3a3833b10 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
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
44d4727b60 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
e75b9f4317 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
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
Daniel Holbert
0a34a22927 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
075c77d01a 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
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
Brian Birtles
6ab5ae8c8b 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
05a66f777c 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
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
8d79ea7974 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
96263731d3 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
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
Daniel Holbert
3426024d9c 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
2c965a8daa 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
7ca818a44e 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
c56a6df9b7 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
6c1ea3e5dc 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
c1adc2184b 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
f3ce784088 Bug 590425 - SVG SMIL: Clear deferred sampling flag on pause; r=dholbert; a=roc 2010-10-20 08:52:49 +09:00
Brian Birtles
98fd010267 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
66c9a936a3 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
540077c41c 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
a8833eaf60 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
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
Brian Birtles
5b40118a94 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
dbfbaee7c1 Bug 557885 - SVG SMIL: Support keyTimes for calcMode=discrete; r=dholbert; a=blocking-betaN 2010-09-18 12:46:48 +09:00
Brian Birtles
2c00318aa9 Bug 592477 - SVG SMIL: Flush styles before running sample; r=roc; a=blocking-final 2010-09-11 16:05:31 +09:00
Daniel Holbert
beaf4e127a Bug 276431 Patch 6: Add method nsSMILAnimationController::HasRegisteredAnimations. r=roc a=blocking 2010-09-08 13:40:39 -07:00
Brian Birtles
ae0dbb0db8 Bug 587910 - SVG SMIL accessKey timing, r=dholbert,smaug; sr=roc; a=roc 2010-08-28 15:41:05 +09:00
Brian Birtles
b0e9b484a4 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
a146a4eac7 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
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
Brian Birtles
b34a18028c 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
d251dbe967 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
2fbd073b54 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
8b6e3c3cc7 Bug 527270: Implement SMIL TimeEvents. r=dholbert,smaug; sr=roc; a=blocking-betaN 2010-07-31 16:02:52 +09:00
Daniel Holbert
31bd7efc68 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
7955936492 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
617da76999 Bug 571016: Workaround for randomorange in test_smilRestart.xhtml. [test-only fix] 2010-07-20 02:18:46 +02:00
Zack Weinberg
d60d9e623f Bug 569719 part 1: Rename nsCSSDeclaration to mozilla::css::Declaration. r=dbaron 2010-06-28 15:49:35 -07:00
Henri Sivonen
c21cd9cad1 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
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
Brian Birtles
0ad8e3f1f2 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
dada1e0fb4 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