Skip to content

Commit 5444a0a

Browse files
Bikeshed update for 'Fix the definitions for fill forwards/backwards (#38)
Although correct in the currentTime algorithm, the definitions were inverted. Swap them with each other so that the definition matches what they actually mean. ' [ci skip] Generated from: commit b97f852 Author: Stephen McGruer <stephen.mcgruer@gmail.com> Date: Mon Mar 4 09:30:29 2019 -0500 Fix the definitions for fill forwards/backwards (#38) Although correct in the currentTime algorithm, the definitions were inverted. Swap them with each other so that the definition matches what they actually mean.
1 parent b97f852 commit 5444a0a

1 file changed

Lines changed: 9 additions & 12 deletions

File tree

index.html

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
<link href="../default.css" rel="stylesheet" type="text/css">
1010
<link href="../csslogo.ico" rel="shortcut icon" type="image/x-icon">
1111
<link href="https://www.w3.org/StyleSheets/TR/2016/W3C-UD" rel="stylesheet" type="text/css">
12-
<meta content="Bikeshed version 1cff2db4ee2c3bba7a4077d3007528ec73b0485d" name="generator">
12+
<meta content="Bikeshed version c03af8da7325f5ae3f9ca742161b5d270bbce12f" name="generator">
1313
<link href="https://wicg.github.io/scroll-animations/" rel="canonical">
14-
<meta content="54383b7c269ecb8b3aac9bb62069dc6e65990856" name="document-revision">
14+
<meta content="b97f8521bed5f92ab19f9a2d9a2d20d8a34fa3c4" name="document-revision">
1515
<link href="web-animations.css" rel="stylesheet" type="text/css">
1616
<style>/* style-md-lists */
1717

@@ -259,7 +259,7 @@
259259
<div class="head">
260260
<p data-fill-with="logo"><a class="logo" href="https://www.w3.org/"> <img alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2016/logos/W3C" width="72"> </a> </p>
261261
<h1 class="p-name no-ref" id="title">Scroll-linked Animations</h1>
262-
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Unofficial Proposal Draft, <time class="dt-updated" datetime="2019-02-22">22 February 2019</time></span></h2>
262+
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Unofficial Proposal Draft, <time class="dt-updated" datetime="2019-03-04">4 March 2019</time></span></h2>
263263
<div data-fill-with="spec-metadata">
264264
<dl>
265265
<dt>This version:
@@ -677,25 +677,22 @@ <h4 class="heading settled" data-level="3.1.2" id="scrolltimeline-interface"><sp
677677
<dl>
678678
<dt data-md>none
679679
<dd data-md>
680-
<p>The timeline is inactive when the scroll offset is less than <code class="idl"><a data-link-type="idl" href="#dom-scrolltimeline-startscrolloffset" id="ref-for-dom-scrolltimeline-startscrolloffset⑤">startScrollOffset</a></code> or greater than <code class="idl"><a data-link-type="idl" href="#dom-scrolltimeline-endscrolloffset" id="ref-for-dom-scrolltimeline-endscrolloffset⑤">endScrollOffset</a></code>.</p>
680+
<p>The timeline is inactive when the scroll offset is less than <code class="idl"><a data-link-type="idl" href="#dom-scrolltimeline-startscrolloffset" id="ref-for-dom-scrolltimeline-startscrolloffset⑤">startScrollOffset</a></code> or greater than or equal to <code class="idl"><a data-link-type="idl" href="#dom-scrolltimeline-endscrolloffset" id="ref-for-dom-scrolltimeline-endscrolloffset⑤">endScrollOffset</a></code>.</p>
681681
<dt data-md>forwards
682682
<dd data-md>
683683
<p>When the scroll offset is less than <code class="idl"><a data-link-type="idl" href="#dom-scrolltimeline-startscrolloffset" id="ref-for-dom-scrolltimeline-startscrolloffset⑥">startScrollOffset</a></code>, the
684-
timeline’s <a data-link-type="dfn" href="https://w3c.github.io/web-animations/#current-time" id="ref-for-current-time">current time</a> is 0.
685-
When the scroll offset is greater than <code class="idl"><a data-link-type="idl" href="#dom-scrolltimeline-endscrolloffset" id="ref-for-dom-scrolltimeline-endscrolloffset⑥">endScrollOffset</a></code>, the
686-
timeline is inactive.</p>
684+
timeline is inactive.
685+
When the scroll offset is greater than or equal to the <code class="idl"><a data-link-type="idl" href="#dom-scrolltimeline-endscrolloffset" id="ref-for-dom-scrolltimeline-endscrolloffset⑥">endScrollOffset</a></code>, the timeline’s <a data-link-type="dfn" href="https://w3c.github.io/web-animations/#current-time" id="ref-for-current-time">current time</a> is its <a data-link-type="dfn" href="#effective-time-range" id="ref-for-effective-time-range②">effective time range</a>.</p>
687686
<dt data-md>backwards
688687
<dd data-md>
689688
<p>When the scroll offset is less than <code class="idl"><a data-link-type="idl" href="#dom-scrolltimeline-startscrolloffset" id="ref-for-dom-scrolltimeline-startscrolloffset⑦">startScrollOffset</a></code>, the
690-
timeline is inactive.
691-
When the scroll offset is greater than <code class="idl"><a data-link-type="idl" href="#dom-scrolltimeline-endscrolloffset" id="ref-for-dom-scrolltimeline-endscrolloffset⑦">endScrollOffset</a></code>, the
692-
timeline’s <a data-link-type="dfn" href="https://w3c.github.io/web-animations/#current-time" id="ref-for-current-time①">current time</a> is its <a data-link-type="dfn" href="#effective-time-range" id="ref-for-effective-time-range②">effective time range</a>.</p>
689+
timeline’s <a data-link-type="dfn" href="https://w3c.github.io/web-animations/#current-time" id="ref-for-current-time①">current time</a> is 0.
690+
When the scroll offset is greater than or equal to the <code class="idl"><a data-link-type="idl" href="#dom-scrolltimeline-endscrolloffset" id="ref-for-dom-scrolltimeline-endscrolloffset⑦">endScrollOffset</a></code>, the timeline is inactive.</p>
693691
<dt data-md>both
694692
<dd data-md>
695693
<p>When the scroll offset is less than <code class="idl"><a data-link-type="idl" href="#dom-scrolltimeline-startscrolloffset" id="ref-for-dom-scrolltimeline-startscrolloffset⑧">startScrollOffset</a></code>, the
696694
timeline’s <a data-link-type="dfn" href="https://w3c.github.io/web-animations/#current-time" id="ref-for-current-time②">current time</a> is 0.
697-
When the scroll offset is greater than <code class="idl"><a data-link-type="idl" href="#dom-scrolltimeline-endscrolloffset" id="ref-for-dom-scrolltimeline-endscrolloffset⑧">endScrollOffset</a></code>, the
698-
timeline’s <span id="ref-for-current-time③">current time</span> is its <a data-link-type="dfn" href="#effective-time-range" id="ref-for-effective-time-range③">effective time range</a>.</p>
695+
When the scroll offset is greater than or equal to the <code class="idl"><a data-link-type="idl" href="#dom-scrolltimeline-endscrolloffset" id="ref-for-dom-scrolltimeline-endscrolloffset⑧">endScrollOffset</a></code>, the timeline’s <span id="ref-for-current-time③">current time</span> is its <a data-link-type="dfn" href="#effective-time-range" id="ref-for-effective-time-range③">effective time range</a>.</p>
699696
<dt data-md>auto
700697
<dd data-md>
701698
<p>Behaves the same as <code>both</code>.</p>

0 commit comments

Comments
 (0)