Re: [csswg-drafts] [css-shadow-parts] IDL for attributes

@rniwa defining a new object, such as `DOMTokenMap` is a lot of effort. It's taken us years to get `DOMTokenList` (actually a set) in a somewhat reasonable state.

So typically we don't start out with those, as they require quite a lot of work. We do start out with simple IDL attributes, even if they only reflect as a string, because they are a convenient feature detection mechanism (and also a slight convenience when using the feature).

It would seem inconsistent not to have that here. And note that even those attributes for which we have a complex object, they have a simple IDL attribute too.

In any event, if feature detection can be done in some other not too complex way I guess not doing anything at all for now in terms of IDL attributes might be okay for Mozilla, but it seems better to match precedent.

GitHub Notification of comment by annevk
Please view or discuss this issue at using your GitHub account

Received on Thursday, 2 August 2018 16:30:58 UTC