Skip to content

Commit

Permalink
CSS Property 'offset' is IDL attribute 'cssOffset'
Browse files Browse the repository at this point in the history
Like 'float', we can't use the name 'offset' as that already has
another meaning. So, like 'cssFloat', we use 'cssOffset' instead.

Discussed in FXTF issue and on blink-dev.
w3c/fxtf-drafts#51 (comment)
https://groups.google.com/a/chromium.org/d/msg/blink-dev/_DPl-JG6bV8/HXkK-CwfEQAJ
  • Loading branch information
ericwilligers committed Mar 10, 2017
1 parent 0054b82 commit b0c713e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Overview.bs
Expand Up @@ -6390,6 +6390,9 @@ The <dfn>animation property name to IDL attribute name</dfn> algorithm for
1. If <var>property</var> refers to the CSS 'float' property,
return the string "cssFloat".
1. If <var>property</var> refers to the CSS 'offset' property,
return the string "cssOffset".
1. Otherwise, return the result of applying the <a>CSS property to IDL
attribute</a> algorithm [[!CSSOM]] to <var>property</var>.
Expand All @@ -6402,6 +6405,9 @@ The <dfn>IDL attribute name to animation property name</dfn> algorithm for
1. If <var>attribute</var> is the string "cssFloat", then return
an animation property representing the CSS 'float' property.
1. If <var>attribute</var> is the string "cssOffset", then return
an animation property representing the CSS 'offset' property.
1. Otherwise, return the result of applying the <a>IDL attribute to CSS
property</a> algorithm [[!CSSOM]] to <var>attribute</var>.
Expand Down

0 comments on commit b0c713e

Please sign in to comment.