Bug 1483514 [wpt PR 12495] - Update interfaces/web-animations.idl, a=testonly
authorautofoolip <40241672+autofoolip@users.noreply.github.com>
Thu, 16 Aug 2018 09:44:11 +0000
changeset 432014 66857e87411ff8c039f4ec3a7ac47f37b64f77fa
parent 432013 ebb1c03e09cd2fd2c898f23cb1219f50f26cb034
child 432015 ce7d670e76a26110901fcac6c6fb404bd9cbb24e
push id34456
push usertoros@mozilla.com
push dateThu, 16 Aug 2018 21:33:21 +0000
treeherdermozilla-central@72442cf86f54 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1483514, 12495
milestone63.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1483514 [wpt PR 12495] - Update interfaces/web-animations.idl, a=testonly Automatic update from web-platform-testsUpdate interfaces/web-animations.idl (#12495) Copied by https://github.com/foolip/wpt-idl-importer from: https://github.com/tidoust/reffy-reports/blob/8923bf4/whatwg/idl/web-animations.idl -- wpt-commits: cc45832be5aae872e07fb4637ec5fb95edad056a wpt-pr: 12495
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/interfaces/web-animations.idl
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -605874,17 +605874,17 @@
    "ac8b70c157a2b42876b55b8ab67873d4a483c54d",
    "support"
   ],
   "interfaces/wasm-js-api.idl": [
    "04c817dcb11ad906d61c5576e43df1fcdf168860",
    "support"
   ],
   "interfaces/web-animations.idl": [
-   "2e66d6fd5a2211437bf037b7f2b685d84df88821",
+   "7dce1002e666d3efa9b18531e05b087f0f4adc0d",
    "support"
   ],
   "interfaces/web-bluetooth.idl": [
    "d372f0260eb45db1522aa16dc2a983dcb929bd4d",
    "support"
   ],
   "interfaces/web-nfc.idl": [
    "cdb0e75684842a4263e69d207f18de3e90a31eb1",
--- a/testing/web-platform/tests/interfaces/web-animations.idl
+++ b/testing/web-platform/tests/interfaces/web-animations.idl
@@ -93,43 +93,45 @@ interface KeyframeEffect : AnimationEffe
     attribute (Element or CSSPseudoElement)? target;
     attribute IterationCompositeOperation    iterationComposite;
     attribute CompositeOperation             composite;
     sequence<object> getKeyframes ();
     void             setKeyframes (object? keyframes);
 };
 
 dictionary BaseComputedKeyframe {
-     double?             offset = null;
-     double              computedOffset;
-     DOMString           easing = "linear";
-     CompositeOperation? composite = null;
+     double?                  offset = null;
+     double                   computedOffset;
+     DOMString                easing = "linear";
+     CompositeOperationOrAuto composite = "auto";
 };
 
 dictionary BasePropertyIndexedKeyframe {
     (double? or sequence<double?>)                         offset = [];
     (DOMString or sequence<DOMString>)                     easing = [];
-    (CompositeOperation? or sequence<CompositeOperation?>) composite = [];
+    (CompositeOperationOrAuto or sequence<CompositeOperationOrAuto>) composite = [];
 };
 
 dictionary BaseKeyframe {
-    double?             offset = null;
-    DOMString           easing = "linear";
-    CompositeOperation? composite = null;
+    double?                  offset = null;
+    DOMString                easing = "linear";
+    CompositeOperationOrAuto composite = "auto";
 };
 
 dictionary KeyframeEffectOptions : EffectTiming {
     IterationCompositeOperation iterationComposite = "replace";
     CompositeOperation          composite = "replace";
 };
 
 enum IterationCompositeOperation {"replace", "accumulate"};
 
 enum CompositeOperation {"replace", "add", "accumulate"};
 
+enum CompositeOperationOrAuto {"replace", "add", "accumulate", "auto"};
+
 interface mixin Animatable {
     Animation           animate (object? keyframes,
                                  optional (unrestricted double or KeyframeAnimationOptions) options);
     sequence<Animation> getAnimations ();
 };
 dictionary KeyframeAnimationOptions : KeyframeEffectOptions {
     DOMString id = "";
 };