CSS: Use count literal 0 supplied as angle |
||
Issue descriptionA recent spec change means that 0 is no longer supported as a valid value for angles. https://github.com/w3c/csswg-drafts/issues/1162#issuecomment-293637767 We should add use counters before retiring support for 0 from the following properties: filter https://drafts.fxtf.org/filters/#FilterProperty gradients (linear and conic) containing angles https://drafts.csswg.org/css-images-3/#funcdef-linear-gradient https://drafts.csswg.org/css-images-4/#conic-gradients (used in https://drafts.csswg.org/css-backgrounds-3/#the-background-image and also -webkit-mask-image https://drafts.fxtf.org/css-masking-1/#the-mask-image where angle support is not shipping) image-orientation https://drafts.csswg.org/css-images-3/#the-image-orientation (not present in CSS Images 4, not shipping, can perhaps be retired from the codebase) offset-path https://drafts.fxtf.org/motion-1/#offset-path-property (can be changed immediately as ray paths have not shipped) offset-rotate https://drafts.fxtf.org/motion-1/#offset-rotate-property (can most likely be changed immediately as few pages are positioning elements using motion path https://www.chromestatus.com/metrics/feature/timeline/popularity/1616) rotate https://drafts.csswg.org/css-transforms-2/#propdef-rotate Note the rotate* and skew* functions of transform are not affected as they are specified to accept either an angle or the literal '0': transform https://drafts.csswg.org/css-transforms-1/#transform-property https://drafts.csswg.org/css-transforms-1/#typedef-transform-function https://drafts.csswg.org/css-transforms-2/#three-d-transform-functions
,
May 25 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, May 25 2017