Re: [csswg-drafts] [css-shadow-parts] decide on forwarding micro-syntax for partmap

> Anyhow, another thing we need to decide is how this attribute is represented in DOM. Presumably, we'd want to add element.partMap which doesn't simply return a string. If we're using DOMTokenList, then we'd hit the aforementioned performance issue. If we're using something else, then we better have a good argument for introducing a yet another DOM class, and design it along with the format for the content attribute.

I don't see how we could use DOMTokenList since this is a map. [Here](https://github.com/w3c/csswg-drafts/pull/2475) is a proposed change to the spec to add IDL. Very happy to have comments on that.

-- 
GitHub Notification of comment by fergald
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2411#issuecomment-376356173 using your GitHub account

Received on Tuesday, 27 March 2018 00:32:30 UTC