W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2015

RE: Proposal for changes to manage Shadow DOM content distribution

From: Domenic Denicola <d@domenic.me>
Date: Wed, 22 Apr 2015 06:08:23 +0000
To: Ryosuke Niwa <rniwa@apple.com>, Justin Fagnani <justinfagnani@google.com>
CC: Daniel Freedman <dfreedm@google.com>, WebApps WG <public-webapps@w3.org>, Edward O'Connor <eoconnor@apple.com>, Jan Miksovsky <jan@component.kitchen>
Message-ID: <CY1PR0501MB1369B27012270934DCA080AFDFEE0@CY1PR0501MB1369.namprd05.prod.outlook.com>
From: Ryosuke Niwa [mailto:rniwa@apple.com] 

> At the conceptual level, they're equivalent.  However, we didn't find the extra flexibility of using CSS selectors compelling as we mentioned in our proposal [1].

<details> is such an example, I think? Is the following a correct example of what client code would have to look like for <details>, under the proposal?

  <div content-slot="summary">Stuff</div>
  <div content-slot="main">

or, if you wanted to avoid the wrapper div,

  <div content-slot="summary">Stuff</div>
  <p content-slot="main">More</p>
  <p content-slot="main">Stuff</p>

It's interesting that none of the components surveyed used the <details> pattern...
Received on Wednesday, 22 April 2015 06:08:55 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:27:31 UTC