- From: Ryosuke Niwa <notifications@github.com>
- Date: Tue, 20 Oct 2015 17:45:09 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Wednesday, 21 October 2015 00:45:41 UTC
Here's the above example in the new syntax:
```html
<style id=page>menuitem { color: red; }</style>
<menu>
<!--shadow-root-start-->
<style id=content>::slotted menuitem { color: green; }</style>
<slot></slot>
<!--shadow-root-end-->
<menuitem style="color: yellow;">
<!--shadow-root-start-->
<style id=host>:host { color: blue; }</style>
...
<!--shadow-root-end-->
</menuitem>
</menu>
```
And you're suggesting inline > #page > #content > #host for non-`!important` case and #host > #content > #inline > #page? I'd say that the inversion between content and page is a little weird.
---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/316#issuecomment-149745003
Received on Wednesday, 21 October 2015 00:45:41 UTC