W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2018

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

From: fergald via GitHub <sysbot+gh@w3.org>
Date: Thu, 20 Sep 2018 07:33:41 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-423072893-1537428820-sysbot+gh@w3.org>
I'm OK with renaming things

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

This archive was generated by hypermail 2.3.1 : Thursday, 20 September 2018 07:33:44 UTC