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: Thu, 12 Jul 2018 15:40:54 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-404556554-1531410053-sysbot+gh@w3.org>
I would strongly suggest just exposing these as strings in IDL for now. There is no need for a more complicated data structure, at least until authors ask for one.

We have precedent for microsyntaxes being reflected as simple strings in at least `<img srcset>`, `<iframe csp>`, `<iframe allow>`, and `<link sizes>`.

We can always add something more complex later, depending on how we find developers are using these things, e.g. feature policy is looking at a *read-only* API that gives a view onto the `allow` attribute. But for now, no need.

-- 
GitHub Notification of comment by domenic
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2414#issuecomment-404556554 using your GitHub account
Received on Thursday, 12 July 2018 15:40:57 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 12 July 2018 15:41:01 UTC