Skip to main content
The 2024 Developer Survey results are live! See the results

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Then it must be a webkit bug that gives you a non-identity transform with one value. I've read that part of the spec a few times and couldn't figure out what's supposed to happen with one value. Commented Feb 23, 2013 at 20:33
  • I just worked through the algorithm from the spec and a single value is valid, so this is indeed a Firefox bug. The spec says - for an input value C, where C<1, and an input array of [V0...Vn-1] find an index k where k/n <= C < (k+1)/n. C' (the output value) is Vk. And where C=1, define k=n-1. In the case where the array has a single value, this reduces to k<=C<k+1. The sole array index we have (0) is a valid solution to this constraint. And where C=1, define k=0. Output values should be whatever the single array value is. Firefox bug - not Webkit. Commented Feb 27, 2013 at 15:56
  • Ok. Filed it as Bug 845985. Commented Feb 27, 2013 at 21:24