Re: [css-houdini-drafts] [css-typed-om]: There's no nice way to represent CSSUnparsedValue as a "list-plus" style object.

The *constructors* take sequences, yes.  I'm talking about the `styleMap.set("css-property", someValue)` method. Right now, that can depend on the fact that the information in the (private slots of) `someValue` is correct and doesn't need to be further checked.  If `someValue` is an Array-like, and I can't intercept the sets, I can't depend on that.  (I *can* intercept all attribute sets, via a setter method, and all Map-like sets, via the `set` method, so I *can* make such a guarantee for *every single other object*.)

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/239#issuecomment-295034013 using your GitHub account

Received on Wednesday, 19 April 2017 01:25:42 UTC