Re: [css-houdini-drafts] [css-typed-om-1] Is it intentional that only existing items in a CSSUnparsedValue can be mutated?

Both of the readwrite indexed things need another pass by me to fill in these details. It's unclear from the WebIDL spec how one is supposed to handle these, and specs disagree in ways that confuse me.

In particular, a lot of indexed-getter/setter interfaces have the getter return a nullable value, presumably with the idea that if you request a non-existent index you get back `null`. But the behavior of Arrays is to return `undefined`, and it looks like WebIDL might automatically handle this case for you anyway (if it's not in the list of supported property indexes, your method never gets called at all?).

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

Received on Thursday, 15 February 2018 21:33:29 UTC