- From: Ryosuke Niwa <notifications@github.com>
- Date: Tue, 01 Sep 2015 06:18:56 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Tuesday, 1 September 2015 13:19:24 UTC
We would prefer using `part` syntax as follows so that future pseudo element names we introduce in CSS wouldn't interfere with author defined parts components expose: ```html <date-range-selector> <!-- #shadow-root --> <div id="container"> <input part="start-date" id="start-date" type="date"> <input part="end-date" id="end-date" type="date"> </div> <!-- /shadow-root --> </date-range-selector> ``` ```css date-range-selector:part(start-date), date-range-selector:part(end-date) { /* normal styles */ } ``` @hober @othermaciej --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/300#issuecomment-136716945
Received on Tuesday, 1 September 2015 13:19:24 UTC