- From: freshp86 <notifications@github.com>
- Date: Mon, 02 Apr 2018 17:30:40 -0700
- To: whatwg/fullscreen <fullscreen@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 3 April 2018 00:31:11 UTC
@guest271314: Thanks for your effort to help find a workaround. Having said that, this bug is claiming that there is no proper (for example without using JS) way to style a `<dialog>`'s backdrop that lives within a custom element. Specifically see [these docs](https://developers.google.com/web/fundamentals/web-components/shadowdom#stylefromoutside) (which are not using Polymer), on how the internals of a custom element should be able to be styled **from the outside**. Your workaround shows that one can programatically create a `dialog` inside a Shadow DOM and, programmatically attach a style to it. It could be potentially useful, but still it seems that the current choice of the spec on how `::backdrop` works, makes it impossible (I would gladly be proven wrong), to style such an element with HTML/CSS code only. -- 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/fullscreen/issues/124#issuecomment-378090136
Received on Tuesday, 3 April 2018 00:31:11 UTC