Skip to content

Commit e4d33f8

Browse files
committed
Make the default distance calculation distance = 0
As far as I can tell, this produces the correct result in all cases. This closes w3c#156.
1 parent 5d0cc4c commit e4d33f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3833,7 +3833,7 @@ type.
38333833
For <a>animation types</a> that do not define a specific procedure
38343834
for <a>distance computation</a> or which are defined as <dfn>not
38353835
paceable</dfn>, the <a>distance computation</a> procedure is simply
3836-
<var>distance</var> = 1.
3836+
<var>distance</var> = 0.
38373837

38383838
<h4 id="not-animatable-section">Not animatable</h4>
38393839

@@ -3941,7 +3941,7 @@ calc</dfn> has the following behavior:
39413941
When there is insufficient context to calculate a used value for all
39423942
possible values of <var>V</var><sub>start</sub> and
39433943
<var>V</var><sub>end</sub>, the result of the <a>distance computation</a>
3944-
calculation is 1 (i.e. the behavior degenerates to <a>not paceable</a>).
3944+
calculation is zero (i.e. the behavior degenerates to <a>not paceable</a>).
39453945

39463946
<div class="example">
39473947
For example, for a <a>keyframe effect</a> that does not have

0 commit comments

Comments
 (0)