Bug 1496619 - Part 2: Rename css-timing to css-easing r=birtles
authorBoris Chiou <boris.chiou@gmail.com>
Fri, 26 Oct 2018 18:03:27 +0000
changeset 443231 e9bf605e24a2714d01d6efeaebb6a234afdf5f49
parent 443230 b46aa2883e42b750e338707cc120cd173f128b68
child 443232 dca7e62232c1c74f4425fb360c4f1ec1645f66d5
push id34944
push userncsoregi@mozilla.com
push dateSat, 27 Oct 2018 09:49:55 +0000
treeherdermozilla-central@49d47a692ca4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbirtles
bugs1496619
milestone65.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 1496619 - Part 2: Rename css-timing to css-easing r=birtles Rename css-timing to css-easing according to the spec update. Depends on D9309 Differential Revision: https://phabricator.services.mozilla.com/D9310
dom/animation/ComputedTimingFunction.h
testing/web-platform/meta/css/css-easing/__dir__.ini
testing/web-platform/meta/css/css-timing/__dir__.ini
testing/web-platform/moz.build
testing/web-platform/tests/css/css-easing/META.yml
testing/web-platform/tests/css/css-easing/cubic-bezier-timing-functions-output.html
testing/web-platform/tests/css/css-easing/step-timing-functions-output.html
testing/web-platform/tests/css/css-easing/testcommon.js
testing/web-platform/tests/css/css-timing/META.yml
testing/web-platform/tests/css/css-timing/cubic-bezier-timing-functions-output.html
testing/web-platform/tests/css/css-timing/step-timing-functions-output.html
testing/web-platform/tests/css/css-timing/testcommon.js
testing/web-platform/tests/css/css-transitions/parsing/transition-timing-function-invalid.html
testing/web-platform/tests/css/css-transitions/parsing/transition-timing-function-valid.html
testing/web-platform/tests/lint.whitelist
--- a/dom/animation/ComputedTimingFunction.h
+++ b/dom/animation/ComputedTimingFunction.h
@@ -40,17 +40,17 @@ public:
   explicit ComputedTimingFunction(const nsTimingFunction& aFunction)
     : mSteps(0)
   {
     Init(aFunction);
   }
   void Init(const nsTimingFunction& aFunction);
 
   // BeforeFlag is used in step timing function.
-  // https://drafts.csswg.org/css-timing/#before-flag
+  // https://drafts.csswg.org/css-easing/#before-flag
   enum class BeforeFlag {
     Unset,
     Set
   };
   double GetValue(double aPortion, BeforeFlag aBeforeFlag) const;
   const nsSMILKeySpline* GetFunction() const
   {
     NS_ASSERTION(HasSpline(), "Type mismatch");
rename from testing/web-platform/meta/css/css-timing/__dir__.ini
rename to testing/web-platform/meta/css/css-easing/__dir__.ini
--- a/testing/web-platform/moz.build
+++ b/testing/web-platform/moz.build
@@ -222,17 +222,17 @@ with Files("tests/css/css-fonts/**"):
     BUG_COMPONENT = ("Core", "Layout: Text and Fonts")
 
 with Files("tests/css/css-paint-api/**"):
     BUG_COMPONENT = ("Core", "Layout: Web Painting")
 
 with Files("tests/css/css-scoping/**"):
     BUG_COMPONENT = ("Core", "CSS Parsing and Computation")
 
-with Files("tests/css/css-timing/**"):
+with Files("tests/css/css-easing/**"):
     BUG_COMPONENT = ("Core", "Layout")
 
 with Files("tests/css/css-typed-om/**"):
     BUG_COMPONENT = ("Core", "DOM: CSS Object Model")
 
 with Files("tests/css/cssom/**"):
     BUG_COMPONENT = ("Core", "DOM: CSS Object Model")
 
rename from testing/web-platform/tests/css/css-timing/META.yml
rename to testing/web-platform/tests/css/css-easing/META.yml
--- a/testing/web-platform/tests/css/css-timing/META.yml
+++ b/testing/web-platform/tests/css/css-easing/META.yml
@@ -1,4 +1,4 @@
-spec: https://drafts.csswg.org/css-timing/
+spec: https://drafts.csswg.org/css-easing/
 suggested_reviewers:
   - birtles
   - BorisChiou
rename from testing/web-platform/tests/css/css-timing/cubic-bezier-timing-functions-output.html
rename to testing/web-platform/tests/css/css-easing/cubic-bezier-timing-functions-output.html
--- a/testing/web-platform/tests/css/css-timing/cubic-bezier-timing-functions-output.html
+++ b/testing/web-platform/tests/css/css-easing/cubic-bezier-timing-functions-output.html
@@ -1,15 +1,15 @@
 <!DOCTYPE html>
 <meta charset=utf-8>
 <meta name="assert"
 content="This test checks the output of Cubic Bézier functions" />
 <title>Tests for the output of Cubic Bézier timing functions</title>
 <link rel="help"
-href="https://drafts.csswg.org/css-timing/#cubic-bezier-timing-functions">
+href="https://drafts.csswg.org/css-easing/#cubic-bezier-timing-functions">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="testcommon.js"></script>
 <body>
 <div id="log"></div>
 <script>
 'use strict';
 
rename from testing/web-platform/tests/css/css-timing/step-timing-functions-output.html
rename to testing/web-platform/tests/css/css-easing/step-timing-functions-output.html
--- a/testing/web-platform/tests/css/css-timing/step-timing-functions-output.html
+++ b/testing/web-platform/tests/css/css-easing/step-timing-functions-output.html
@@ -1,15 +1,15 @@
 <!DOCTYPE html>
 <meta charset=utf-8>
 <meta name="assert"
 content="This test checks the output of step timing functions" />
 <title>Tests for the output of step timing functions</title>
 <link rel="help"
-href="https://drafts.csswg.org/css-timing/#step-timing-functions">
+href="https://drafts.csswg.org/css-easing/#step-timing-functions">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="testcommon.js"></script>
 <body>
 <div id="log"></div>
 <script>
 'use strict';
 
rename from testing/web-platform/tests/css/css-timing/testcommon.js
rename to testing/web-platform/tests/css/css-easing/testcommon.js
--- a/testing/web-platform/tests/css/css-transitions/parsing/transition-timing-function-invalid.html
+++ b/testing/web-platform/tests/css/css-transitions/parsing/transition-timing-function-invalid.html
@@ -1,15 +1,15 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta charset="utf-8">
 <title>CSS Animations: parsing transition-timing-function with invalid values</title>
 <link rel="help" href="https://drafts.csswg.org/css-transitions/#propdef-transition-timing-function">
-<link rel="help" href="https://drafts.csswg.org/css-timing-1/#typedef-timing-function">
+<link rel="help" href="https://drafts.csswg.org/css-easing-1/#typedef-timing-function">
 <meta name="assert" content="transition-timing-function supports only the grammar '<timing-function> #'.">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="/css/support/parsing-testcommon.js"></script>
 </head>
 <body>
 <script>
 test_invalid_value("transition-timing-function", "auto");
--- a/testing/web-platform/tests/css/css-transitions/parsing/transition-timing-function-valid.html
+++ b/testing/web-platform/tests/css/css-transitions/parsing/transition-timing-function-valid.html
@@ -1,15 +1,15 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta charset="utf-8">
 <title>CSS Transitions: parsing transition-timing-function with valid values</title>
 <link rel="help" href="https://drafts.csswg.org/css-transitions/#propdef-transition-timing-function">
-<link rel="help" href="https://drafts.csswg.org/css-timing-1/#typedef-timing-function">
+<link rel="help" href="https://drafts.csswg.org/css-easing-1/#typedef-timing-function">
 <meta name="assert" content="transition-timing-function supports the full grammar '<timing-function> #'.">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="/css/support/parsing-testcommon.js"></script>
 </head>
 <body>
 <script>
 test_valid_value("transition-timing-function", "linear");
--- a/testing/web-platform/tests/lint.whitelist
+++ b/testing/web-platform/tests/lint.whitelist
@@ -751,17 +751,17 @@ MISSING-LINK: css/css-scroll-anchoring/d
 MISSING-LINK: css/css-scroll-anchoring/exclude-fixed-position.html
 MISSING-LINK: css/css-scroll-anchoring/inline-block.html
 MISSING-LINK: css/css-scroll-anchoring/negative-layout-overflow.html
 MISSING-LINK: css/css-scroll-anchoring/opt-out.html
 MISSING-LINK: css/css-scroll-anchoring/position-change-heuristic.html
 MISSING-LINK: css/css-scroll-anchoring/start-edge-in-block-layout-direction.html
 MISSING-LINK: css/css-scroll-anchoring/subtree-exclusion.html
 MISSING-LINK: css/css-scroll-anchoring/wrapped-text.html
-SUPPORT-WRONG-DIR: css/css-timing/testcommon.js
+SUPPORT-WRONG-DIR: css/css-easing/testcommon.js
 MISSING-LINK: css/css-typed-om/CSSMatrixComponent-DOMMatrix-mutable.html
 MISSING-LINK: css/css-typed-om/declared-styleMap-accepts-inherit.html
 SUPPORT-WRONG-DIR: css/cssom/stylesheet-same-origin.css
 MISSING-LINK: css/cssom-view/DOMRectList.html
 MISSING-LINK: css/cssom-view/elementFromPoint-002.html
 MISSING-LINK: css/cssom-view/elementFromPoint-003.html
 MISSING-LINK: css/cssom-view/elementFromPoint.html
 MISSING-LINK: css/cssom-view/elementScroll.html
@@ -792,9 +792,9 @@ MISSING-LINK: css/geometry/*.worker.js
 MISSING-LINK: css/filter-effects/*.any.js
 
 # Tests that use WebKit/Blink testing APIs
 LAYOUTTESTS APIS: css/css-regions/interactivity/*
 LAYOUTTESTS APIS: resources/chromium/generic_sensor_mocks.js
 
 # Gecko additons to remove
 CSS-COLLIDING-REF-NAME: css/css-contain/reference/contain-size-fieldset-001-ref.html
-CSS-COLLIDING-REF-NAME: css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-size-fieldset-001-ref.html
\ No newline at end of file
+CSS-COLLIDING-REF-NAME: css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-size-fieldset-001-ref.html