[fxtf-drafts] [filter-effects] hue-rotate() is being used with unitless zero angle

ewilligers has just created a new issue for https://github.com/w3c/fxtf-drafts:

== [filter-effects] hue-rotate() is being used with unitless zero angle ==
In April we [resolved](https://github.com/w3c/csswg-drafts/issues/1162#issuecomment-293637767) that '0' is no longer supported as a valid value for angles.

filter was already shipping with support for hue-rotate(0) so Chrome added a use counter.

The [results](https://www.chromestatus.com/metrics/feature/timeline/popularity/2007) indicate that hue-rotate(0) is being used in 0.013% of page views.

To avoid breaking these pages, we could add an exception:
`hue-rotate( <angle> )`
->
`hue-rotate( [ <angle> | <zero> ] )`

This would be consistent with [gradients](https://drafts.csswg.org/css-images-3/#linear-gradients) and [transform](https://drafts.csswg.org/css-transforms/#valdef-transform-rotate), which are already
exceptions explicitly specified to support unitless 0, for the same reason.


Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/228 using your GitHub account

Received on Tuesday, 17 October 2017 03:32:29 UTC