From b0c713ebb2ab87bebeee6de694dfd8cf86e34a3e Mon Sep 17 00:00:00 2001 From: ericwilligers Date: Fri, 10 Mar 2017 15:14:31 +1100 Subject: [PATCH] CSS Property 'offset' is IDL attribute 'cssOffset' 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. https://github.com/w3c/fxtf-drafts/issues/51#issuecomment-280957557 https://groups.google.com/a/chromium.org/d/msg/blink-dev/_DPl-JG6bV8/HXkK-CwfEQAJ --- Overview.bs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Overview.bs b/Overview.bs index 1fcaea2..d72adce 100644 --- a/Overview.bs +++ b/Overview.bs @@ -6390,6 +6390,9 @@ The animation property name to IDL attribute name algorithm for 1. If property refers to the CSS 'float' property, return the string "cssFloat". +1. If property refers to the CSS 'offset' property, + return the string "cssOffset". + 1. Otherwise, return the result of applying the CSS property to IDL attribute algorithm [[!CSSOM]] to property. @@ -6402,6 +6405,9 @@ The IDL attribute name to animation property name algorithm for 1. If attribute is the string "cssFloat", then return an animation property representing the CSS 'float' property. +1. If attribute is the string "cssOffset", then return + an animation property representing the CSS 'offset' property. + 1. Otherwise, return the result of applying the IDL attribute to CSS property algorithm [[!CSSOM]] to attribute.