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

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

From: Domenic Denicola via GitHub <sysbot+gh@w3.org>
Date: Wed, 18 Jul 2018 03:52:48 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-405800715-1531885967-sysbot+gh@w3.org>
I think we should wait for web developers to ask for a new structured attribute manipulation technology, and gather their use cases in a way that services all such attributes, instead of designing one ourselves independently. Right now we know web developers have the use case of working with property-based frameworks like React, for which string reflection is preferable (e.g. they use className, not classList, and if we only reflected classList, React would be unable to use classes). We should wait for a similar ask for structured reflection before adding it, which we can easily do additionally.

Also note that named properties are deprecated in IDL.

-- 
GitHub Notification of comment by domenic
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2414#issuecomment-405800715 using your GitHub account
Received on Wednesday, 18 July 2018 03:52:51 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 18 July 2018 03:53:01 UTC