[css-houdini-drafts] [css-paint-api] invoke a paint callback steps seem to be confused about what object types they are working with (#915)

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

== [css-paint-api] invoke a paint callback steps seem to be confused about what object types they are working with ==
https://www.w3.org/TR/css-paint-api-1/#invoke-a-paint-callback step 1 says:

> Let paintDefinitionMap be workletGlobalScope’s paint definitions map.

and https://www.w3.org/TR/css-paint-api-1/#paint-definitions defines that to be a "map" in the sense of https://infra.spec.whatwg.org/#ordered-map -- so far so good.

But then step 3 says:

> Let definition be the result of get paintDefinitionMap[name].

where "get" links to https://tc39.es/ecma262/#sec-get-o-p which is an operation performed on ES objects, not infra maps.  There are lots of other instances of this broken "get" usage in this algorithm too.



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

Received on Thursday, 11 July 2019 17:48:49 UTC