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

bzbarsky has just created a new issue for https://github.com/w3c/css-houdini-drafts:

== [css-typed-om-1]Manual definition of the map entries for StylePropertyMapReadOnly contradicts Web IDL ==
https://drafts.css-houdini.org/css-typed-om-1/#stylepropertymapreadonly-map-entries defines what the "map entries" are for a StylePropertyMapReadOnly.

But that's already defined by <https://heycam.github.io/webidl/#es-maplike>:

> This Map object’s [[MapData]] internal slot is the object’s map entries.

(Should be [[BackingMap]]; filed https://github.com/heycam/webidl/issues/521 on that.)

That is, "map entries" is a concept in the language-independent part of Web IDL, but in the ES binding it's defined to be a very specific thing.  You can't override that definition here, not least because all the maplike functions manipulate the [[BackingMap]].

Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/652 using your GitHub account

Received on Thursday, 15 February 2018 17:50:58 UTC