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

Okay, unblocking:

For now, these interfaces need to just use indexed getters/setters.  This'll invoke more Proxy machinery than we need/want, but it'll give us the functionality we need for now, and is compatible with the functionality/syntax that a "proper" solution will have.

For later, I missed hitting the July TC39 meeting with the proposal for a limited proxy that just lets you intercept gets/sets on indexed properties, so I'll hit the September meeting instead. This proposal had good support when it was first mentioned back in 2009, and should be nice and cheap; once we get that thru, we can change the spec over to use that mechanism instead.  There'll be no observable behavior change for authors (because that's the only part of the Proxy functionality we're using anyway), the objects should just get faster to manipulate (once browsers implement the new thing).

(Or rather, WebIDL will switch indexed getters/setters over to using this mechanism, instead of full Proxys.)

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

Received on Wednesday, 16 August 2017 23:46:57 UTC