- From: Martin Janecke <notifications@github.com>
- Date: Wed, 07 Feb 2018 12:54:36 +0000 (UTC)
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 7 February 2018 12:55:00 UTC
@tomalec Thank you! I didn’t see a declarative option to let styles from outside penetrate into the shadowroot. Here’s an example ``` <style>p {font-weight:bold; color:blue}</style> <shadowroot mode="…"> <style>p {color:red}</style> <p>Foo</p> </shadowroot> <p>Bar</p> ``` I want _Foo_ to be bold and red and _Bar_ to be bold and blue. Does your proposal include something that permits it – did I miss something? The once spec’ed `<style scoped>` has been dropped in favor of Shadow DOM – a declarative version of Shadow DOM should support an option to achieve this kind of one-way encapsulation (nothing penetrates from inside out, but styles can penetrate from outside in). -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/510#issuecomment-363760150
Received on Wednesday, 7 February 2018 12:55:00 UTC