Bug 1450522 [wpt PR 10263] - Update serialization of timing functions, a=testonly
authorEric Willigers <ewilligers@users.noreply.github.com>
Sun, 22 Apr 2018 15:07:14 +0000
changeset 468876 8469c16d69c5ac2b1e050428bfb571d7e53753d7
parent 468875 60ed7d758b1b4f5afaa636416cf3b5568316ca5e
child 468877 5a85849690304374b25e7d7b30d4dd77b0c8dc3c
push id9165
push userasasaki@mozilla.com
push dateThu, 26 Apr 2018 21:04:54 +0000
treeherdermozilla-beta@064c3804de2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1450522, 10263
milestone61.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 1450522 [wpt PR 10263] - Update serialization of timing functions, a=testonly Automatic update from web-platform-testsMerge pull request #10263 from csnardi/patch-10 Update serialization of timing functions -- wpt-commits: 7b20d124d59d8d0e3e5b2f9da594e7b4aa1bcb1e wpt-pr: 10263
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/css/css-transitions/transition-001.html
testing/web-platform/tests/css/css-transitions/transition-timing-function-001.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -525872,17 +525872,17 @@
    "e33e9e6b2935352c87c18ad42bb6df2d95c3164f",
    "support"
   ],
   "css/css-transitions/support/vendorPrefix.js": [
    "2bbfe4ce7d8ca16f3438fccadfa2996136ddf813",
    "support"
   ],
   "css/css-transitions/transition-001.html": [
-   "2068fe442683e6242633527409c89940d4e04bda",
+   "91af4820cfc8d56c19af19904c975b397b7c0ff8",
    "testharness"
   ],
   "css/css-transitions/transition-background-position-with-edge-offset.html": [
    "00d397eb8f6eba4e3f34c03d7af23e056953e2ef",
    "testharness"
   ],
   "css/css-transitions/transition-delay-000.html": [
    "ad61ec6800863b60d7d392fc0666332673319209",
@@ -526096,17 +526096,17 @@
    "4b6dbbc692aeeb610eb186ae2e619321975af1f8",
    "manual"
   ],
   "css/css-transitions/transition-test.html": [
    "498818597889fae22b79d920d81712bbf77ae3e9",
    "reftest"
   ],
   "css/css-transitions/transition-timing-function-001.html": [
-   "4b2e7ebb296da03f72f509e3cbc8d647c162c449",
+   "c17b8db21183649d761de66fd13b0be450172813",
    "testharness"
   ],
   "css/css-transitions/transition-timing-function-002.html": [
    "ad20165d3fc2c0fc2c0da50be7cd482f09e7bdb1",
    "manual"
   ],
   "css/css-transitions/transition-timing-function-003.html": [
    "21e0a6fc8b0c5c5503b72f04a85d6cc04cf10845",
--- a/testing/web-platform/tests/css/css-transitions/transition-001.html
+++ b/testing/web-platform/tests/css/css-transitions/transition-001.html
@@ -19,36 +19,34 @@
         <div id="log"></div>
         <!-- elements used for testing -->
         <div id="container">
             <div id="transition"></div>
         </div>
 
         <script>
             var transition = document.getElementById('transition');
-            var ease = 'cubic-bezier(0.25, 0.1, 0.25, 1)';
-            var easeIn = 'cubic-bezier(0.42, 0, 1, 1)';
             // Note that order is important in this property. The first value that can be parsed as a time is assigned to
             // the transition-duration. The second value that can be parsed as a time is assigned to transition-delay.
             // [<‘transition-property’> || <‘transition-duration’> || <‘transition-timing-function’> || <‘transition-delay’> [, [<‘transition-property’> || <‘transition-duration’> || <‘transition-timing-function’> || <‘transition-delay’>]]*
             var values = {
                 // [property, duration, timing, delay]
                 // random order
-                '1s' : ["all", "1s", ease, "0s"],
-                '1s 2s' : ["all", "1s", ease, "2s"],
-                '1s 2s ease-in' : ["all", "1s", easeIn, "2s"],
-                '1s ease-in 2s' : ["all", "1s", easeIn, "2s"],
-                'ease-in 1s 2s' : ["all", "1s", easeIn, "2s"],
-                '1s width' : ["width", "1s", ease, "0s"],
-                'width 1s' : ["width", "1s", ease, "0s"],
-                '1s width 2s' : ["width", "1s", ease, "2s"],
-                '1s 2s width ease-in' : ["width", "1s", easeIn, "2s"],
-                '1s ease-in 2s width' : ["width", "1s", easeIn, "2s"],
-                'width ease-in 1s 2s' : ["width", "1s", easeIn, "2s"],
-                'width .1s ease-in .2s' : ["width", "0.1s", easeIn, "0.2s"]
+                '1s' : ["all", "1s", "ease", "0s"],
+                '1s 2s' : ["all", "1s", "ease", "2s"],
+                '1s 2s ease-in' : ["all", "1s", "ease-in", "2s"],
+                '1s ease-in 2s' : ["all", "1s", "ease-in", "2s"],
+                'ease-in 1s 2s' : ["all", "1s", "ease-in", "2s"],
+                '1s width' : ["width", "1s", "ease", "0s"],
+                'width 1s' : ["width", "1s", "ease", "0s"],
+                '1s width 2s' : ["width", "1s", "ease", "2s"],
+                '1s 2s width ease-in' : ["width", "1s", "ease-in", "2s"],
+                '1s ease-in 2s width' : ["width", "1s", "ease-in", "2s"],
+                'width ease-in 1s 2s' : ["width", "1s", "ease-in", "2s"],
+                'width .1s ease-in .2s' : ["width", "0.1s", "ease-in", "0.2s"]
             };
 
             for (var key in values) {
                 if (Object.prototype.hasOwnProperty.call(values, key)) {
                     test(function() {
                         setStyle('#transition', {
                             'transition': key
                         });
--- a/testing/web-platform/tests/css/css-transitions/transition-timing-function-001.html
+++ b/testing/web-platform/tests/css/css-transitions/transition-timing-function-001.html
@@ -19,25 +19,24 @@
         <div id="log"></div>
         <!-- elements used for testing -->
         <div id="container">
             <div id="transition"></div>
         </div>
 
         <script>
             var transition = document.getElementById('transition');
-            // "ease"
-            var defaultValue = 'cubic-bezier(0.25, 0.1, 0.25, 1)';
+            var defaultValue = 'ease';
             var values = {
                 // keywords
-                'ease': 'cubic-bezier(0.25, 0.1, 0.25, 1)',
-                'linear': 'cubic-bezier(0, 0, 1, 1)',
-                'ease-in': 'cubic-bezier(0.42, 0, 1, 1)',
-                'ease-out': 'cubic-bezier(0, 0, 0.58, 1)',
-                'ease-in-out': 'cubic-bezier(0.42, 0, 0.58, 1)',
+                'ease': 'ease',
+                'linear': 'linear',
+                'ease-in': 'ease-in',
+                'ease-out': 'ease-out',
+                'ease-in-out': 'ease-in-out',
                 'step-start': 'steps(1, start)',
                 'step-end': 'steps(1)',
                 // cubic bezier
                 'cubic-bezier(0.1, 0.2, 0.3, 0.4)': 'cubic-bezier(0.1, 0.2, 0.3, 0.4)',
                 'cubic-bezier(0.1, -0.2, 0.3, -0.4)': 'cubic-bezier(0.1, -0.2, 0.3, -0.4)',
                 'cubic-bezier(0.1, 1.2, 0.3, 1.4)': 'cubic-bezier(0.1, 1.2, 0.3, 1.4)',
                 // steps
                 'steps(3, start)': 'steps(3, start)',