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

I'm OK with renaming things

@rniwa 
Those alternative names are quite long. `exposedparts` is the shortest reasonable name I can think of. `parts` is comprehensible but maybe too confusing given that `part` is allowed to have multiple tokens.

@sorvell `forwardedPartsName` (or `exposedPartsName`) seems very odd to me, I realise this is copying the className and classList model but that also seems very odd to me and maybe shouldn't be used as a precedent. The difference between className and classList is that one is a string and one is a DOMTokenList, so I would prefer fooString, fooList, fooMap

I can't find another instance of Name vs List it in element.idl, so it doesn't seem like a convention has been established.

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

Received on Thursday, 20 September 2018 07:33:44 UTC