Robert O'Callahan wrote:
On Fri, Aug 9, 2013 at 9:29 AM, K. Gadd<k...@luminance.org>  wrote:

Consider this my +1 in favor of a dedicated .colorMatrix attribute,


Good, then I'll expect you to back me up in WHATWG with usecases :-).

Why should color matrix become a property if other filters go through a .filter property on the context object? Wouldn't it be more consistent if we just introduced a color-matrix() CSS value?

preferably in the form of a Uint8Array or Float32Array instead of another
*!@$ string.


Using an array for an attribute is problematic due to liveness issues.

heycam, what's the WebIDL-friendliest way to have an array-valued
attribute-like thing? Just getter and setter methods?

That's what I'd do, if we're going to have color matrix handled separately. Then it would be consistent with setLineDash/getLineDash, too.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to