Re: [css-houdini-drafts] [css-typed-om-1]Manual definition of the map entries for StylePropertyMapReadOnly contradicts Web IDL

> This means that the "map entries" should be an spec-ES List, not a real-ES Array or anything.

Yes, but the  https://drafts.css-houdini.org/css-typed-om-1/#dom-stylepropertymap-append bit is not appending to the "map entries".  You're appending to the thing stored in the "map entries", which is the value stored in the ES Map, which must be an ES Value.  In this case it's an ES Array, because it comes from converting a sequence to an ES Value.

> Really it looks like this should instead be working with spec types (either Infra or ES) the whole way thru, rather than cramming a real-ES object in the middle of the algorithms?

That's ... nontrivial.  See https://github.com/heycam/webidl/issues/254 for details.

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

Received on Thursday, 15 February 2018 18:22:24 UTC