gecko-dev/dom/smil/test
Brian Birtles ab450ccdb9 Bug 1404803 - Convert empty values to suitable zero values even when using discrete interpolation; r=hiro
Normally when we interpolate values for CSS properties we convert empty values
(such as the empty "from" value created for a by-animation) to a suitable zero
value. However, when we use discrete interpolation that step never occurs and in
some rare cases that means we end up setting the empty value on the target
attribute directly which will have an incorrect result (e.g. setting "" for the
height property will have no effect, whereas setting "0px" will).

This patch makes us perform the empty value to zero value conversion when
performing discrete animation.

Unfortunately it is not possible to test this behavior with shorthands since
there are currently no shorthand properties that are additive.

MozReview-Commit-ID: JFT1tis1RAR

--HG--
extra : rebase_source : cc444b6d4d5571c8ab231d88c4d349ea0713baaa
2017-10-04 15:04:23 +09:00
..
db_smilAnimateMotion.js
db_smilCSSFromBy.js Bug 1390367 - Pass SMIL mochitests of stroke-* even if a computed value has no px unit. r=birtles 2017-09-05 13:15:32 +09:00
db_smilCSSFromTo.js Bug 1390367 - Pass SMIL mochitests of stroke-* even if a computed value has no px unit. r=birtles 2017-09-05 13:15:32 +09:00
db_smilCSSPaced.js Bug 1390367 - Pass SMIL mochitests of stroke-* even if a computed value has no px unit. r=birtles 2017-09-05 13:15:32 +09:00
db_smilCSSPropertyList.js
db_smilMappedAttrList.js
file_smilWithTransition.html
mochitest.ini Bug 1404803 - Convert empty values to suitable zero values even when using discrete interpolation; r=hiro 2017-10-04 15:04:23 +09:00
smilAnimateMotionValueLists.js
smilExtDoc_helper.svg
smilTestUtils.js Bug 1390367 - Pass SMIL mochitests of stroke-* even if a computed value has no px unit. r=birtles 2017-09-05 13:15:32 +09:00
smilXHR_helper.svg
test_smilAccessKey.xhtml
test_smilAdditionFallback.html Bug 1404803 - Convert empty values to suitable zero values even when using discrete interpolation; r=hiro 2017-10-04 15:04:23 +09:00
test_smilAnimateMotion.xhtml
test_smilAnimateMotionInvalidValues.xhtml
test_smilAnimateMotionOverrideRules.xhtml
test_smilBackwardsSeeking.xhtml
test_smilCSSFontStretchRelative.xhtml
test_smilCSSFromBy.xhtml
test_smilCSSFromTo.xhtml
test_smilCSSInherit.xhtml
test_smilCSSInvalidValues.xhtml
test_smilCSSPaced.xhtml
test_smilChangeAfterFrozen.xhtml
test_smilConditionalProcessing.html
test_smilContainerBinding.xhtml
test_smilCrossContainer.xhtml
test_smilDynamicDelayedBeginElement.xhtml
test_smilExtDoc.xhtml
test_smilFillMode.xhtml
test_smilGetSimpleDuration.xhtml
test_smilGetStartTime.xhtml
test_smilHyperlinking.xhtml
test_smilInvalidValues.html
test_smilKeySplines.xhtml
test_smilKeyTimes.xhtml
test_smilKeyTimesPacedMode.xhtml
test_smilMappedAttrFromBy.xhtml
test_smilMappedAttrFromTo.xhtml
test_smilMappedAttrPaced.xhtml
test_smilMinTiming.html
test_smilRepeatDuration.html
test_smilRepeatTiming.xhtml
test_smilReset.xhtml
test_smilRestart.xhtml
test_smilSetCurrentTime.xhtml
test_smilSync.xhtml
test_smilSyncTransform.xhtml
test_smilSyncbaseTarget.xhtml
test_smilTextZoom.xhtml Bug 1390367 - Pass SMIL mochitests of stroke-* even if a computed value has no px unit. r=birtles 2017-09-05 13:15:32 +09:00
test_smilTimeEvents.xhtml
test_smilTiming.xhtml
test_smilTimingZeroIntervals.xhtml
test_smilUpdatedInterval.xhtml
test_smilValues.xhtml
test_smilWithTransition.html
test_smilWithXlink.xhtml
test_smilXHR.xhtml