Skip to content

Commit d06587c

Browse files
authored
Merge pull request w3c#182 from ewilligers/cssOffset
CSS Property 'offset' is IDL attribute 'cssOffset'
2 parents 0054b82 + 47b0038 commit d06587c

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

Overview.bs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6390,6 +6390,9 @@ The <dfn>animation property name to IDL attribute name</dfn> algorithm for
63906390
1. If <var>property</var> refers to the CSS 'float' property,
63916391
return the string "cssFloat".
63926392
6393+
1. If <var>property</var> refers to the CSS 'offset' property,
6394+
return the string "cssOffset".
6395+
63936396
1. Otherwise, return the result of applying the <a>CSS property to IDL
63946397
attribute</a> algorithm [[!CSSOM]] to <var>property</var>.
63956398
@@ -6402,6 +6405,9 @@ The <dfn>IDL attribute name to animation property name</dfn> algorithm for
64026405
1. If <var>attribute</var> is the string "cssFloat", then return
64036406
an animation property representing the CSS 'float' property.
64046407
6408+
1. If <var>attribute</var> is the string "cssOffset", then return
6409+
an animation property representing the CSS 'offset' property.
6410+
64056411
1. Otherwise, return the result of applying the <a>IDL attribute to CSS
64066412
property</a> algorithm [[!CSSOM]] to <var>attribute</var>.
64076413
@@ -7437,7 +7443,10 @@ title="Application Programming Interface">API</abbr> defined in
74377443
74387444
<h2 id="acknowledgements">Acknowledgements</h2>
74397445
7440-
Thank you to Michiel &ldquo;Pomax&rdquo; Kamermans for help with the
7446+
Thank you to Steve Block, Michael Giuffrida, Ryan Seys, and Eric Willigers
7447+
for their contributions to this specification.
7448+
7449+
Thank you also to Michiel &ldquo;Pomax&rdquo; Kamermans for help with the
74417450
equations for a proposed smooth timing function although this feature
74427451
has been deferred to a subsequent specification.
74437452
@@ -7459,6 +7468,9 @@ The following changes have been made since the <a
74597468
accommodate timelines that change direction.
74607469
* Dropped keyframe spacing, distance calculation, and retention of invalid
74617470
keyframe property values.
7471+
* Added special handling to allow animating the 'offset' property from the
7472+
programming interface using <code>cssOffset</code> to avoid conflict with
7473+
the attribute name used to specify keyframe offsets.
74627474
74637475
<!-- @endif -->
74647476

0 commit comments

Comments
 (0)