gecko-dev/dom/smil
Emilio Cobos Álvarez f02f6a3545 Bug 1218257 - Use rust lengths for the SVG lengths. r=boris
As it turns out we need this to avoid losing precision both during painting and
during serialization.

This patch also changes to serialize `context-value` if it's the computed value.

I could keep the previous behavior, but it makes no sense to serialize the
initial value. We're the only ones to support this value anyway, and I couldn't
find a definition or spec for this.

Also update tests and expectations for:

 * New unexpected passes.
 * Always serializing the unit in getComputedStyle.
 * Calc and interpolation support.

Chrome also always serializes the unit in getComputedStyle, so I'm pretty sure
this is compatible with them. Chrome is inconsistent and keeps numbers in
specified style, but that's inconsistent with itself and with other quirky
lengths, so I updated the tests instead.

Differential Revision: https://phabricator.services.mozilla.com/D21819
2019-03-03 00:16:24 +01:00
..
crashtests Bug 1446668: Remove setUserData crashtests. r=smaug 2018-03-18 01:53:13 +01:00
test Bug 1218257 - Use rust lengths for the SVG lengths. r=boris 2019-03-03 00:16:24 +01:00
SMILAnimationController.cpp Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
SMILAnimationController.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILAnimationFunction.cpp Bug 1522744 - Use DebugOnly where we can and remove a couple of useless ifdef DEBUG statements around MOZ_ASSERT statements. r=birtles 2019-01-25 03:47:16 +00:00
SMILAnimationFunction.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILAttr.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILBoolType.cpp Bug 1521946 - Move nsSMILTypes and nsSMILValue to the mozilla namespace r=birtles 2019-01-23 13:48:08 +00:00
SMILBoolType.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILCSSProperty.cpp Bug 1521946 - Move nsSMILTypes and nsSMILValue to the mozilla namespace r=birtles 2019-01-23 13:48:08 +00:00
SMILCSSProperty.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILCSSValueType.cpp Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
SMILCSSValueType.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILCompositor.cpp Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
SMILCompositor.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILCompositorTable.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILEnumType.cpp Bug 1521946 - Move nsSMILTypes and nsSMILValue to the mozilla namespace r=birtles 2019-01-23 13:48:08 +00:00
SMILEnumType.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILFloatType.cpp Bug 1521946 - Move nsSMILTypes and nsSMILValue to the mozilla namespace r=birtles 2019-01-23 13:48:08 +00:00
SMILFloatType.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILInstanceTime.cpp Bug 1521575 - Move nsSMILTimeValue classes and nsSMILInstanceTime to the mozilla namespace r=birtles 2019-01-22 07:28:40 +00:00
SMILInstanceTime.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILIntegerType.cpp Bug 1521946 - Move nsSMILTypes and nsSMILValue to the mozilla namespace r=birtles 2019-01-23 13:48:08 +00:00
SMILIntegerType.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILInterval.cpp Bug 1522744 - Use DebugOnly where we can and remove a couple of useless ifdef DEBUG statements around MOZ_ASSERT statements. r=birtles 2019-01-25 03:47:16 +00:00
SMILInterval.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILKeySpline.cpp Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
SMILKeySpline.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILMilestone.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-02-04 19:10:18 +00:00
SMILNullType.cpp Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
SMILNullType.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILParserUtils.cpp Bug 1522650 - Rename all remaining nsSMIL classes and types as SMIL and ensure they are in the mozilla namespace. r=birtles 2019-01-25 03:24:01 +00:00
SMILParserUtils.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILRepeatCount.cpp Bug 1521575 - Move nsSMILTimeValue classes and nsSMILInstanceTime to the mozilla namespace r=birtles 2019-01-22 07:28:40 +00:00
SMILRepeatCount.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILSetAnimationFunction.cpp Bug 1516788 - Move SMILAnimationFunctions to the mozilla namespace r=bbirtles 2018-12-31 11:54:22 +00:00
SMILSetAnimationFunction.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILStringType.cpp Bug 1521946 - Move nsSMILTypes and nsSMILValue to the mozilla namespace r=birtles 2019-01-23 13:48:08 +00:00
SMILStringType.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILTargetIdentifier.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILTimeContainer.cpp Bug 1522650 - Rename all remaining nsSMIL classes and types as SMIL and ensure they are in the mozilla namespace. r=birtles 2019-01-25 03:24:01 +00:00
SMILTimeContainer.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILTimeValue.cpp Bug 1522650 - Rename all remaining nsSMIL classes and types as SMIL and ensure they are in the mozilla namespace. r=birtles 2019-01-25 03:24:01 +00:00
SMILTimeValue.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILTimeValueSpec.cpp Bug 1522650 - Rename all remaining nsSMIL classes and types as SMIL and ensure they are in the mozilla namespace. r=birtles 2019-01-25 03:24:01 +00:00
SMILTimeValueSpec.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILTimeValueSpecParams.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILTimedElement.cpp Bug 1522650 - Rename all remaining nsSMIL classes and types as SMIL and ensure they are in the mozilla namespace. r=birtles 2019-01-25 03:24:01 +00:00
SMILTimedElement.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILType.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILTypes.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILValue.cpp Bug 1521946 - Move nsSMILTypes and nsSMILValue to the mozilla namespace r=birtles 2019-01-23 13:48:08 +00:00
SMILValue.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
TimeEvent.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
TimeEvent.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
moz.build Bug 1522650 - Rename all remaining nsSMIL classes and types as SMIL and ensure they are in the mozilla namespace. r=birtles 2019-01-25 03:24:01 +00:00