W3C home > Mailing lists > Public > public-fxtf-archive@w3.org > October 2017

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

From: Eric Willigers via GitHub <sysbot+gh@w3.org>
Date: Tue, 17 Oct 2017 03:32:23 +0000
To: public-fxtf-archive@w3.org
Message-ID: <issues.opened-265982331-1508211142-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:50:21 UTC