Re: [whatwg/fullscreen] Impossible to customize the style of a dialog's ::backdrop residing inside a Shadow DOM. (#124)

> There wasn't a compelling reason. As I said in the other issue it was to address https://lists.w3.org/Archives/Public/www-style/2012Jun/0441.html and back then we didn't have CSS variables. 

OK. I guess that means we can make it inherit from the originating element.

> You don't think there's any observable effects to doing this? I guess most inheriting properties won't have an effect on `::backdrop`.

So, by default, that shouldn't affect anything. The only properties directly affect `::backdrop` should be those for positioning/sizing, and border&background. I think those properties are generally not inherited.

It indeed can have observable effects if authors want to, for example, they can say `background: currentcolor` which would make the background depend on the inheriting property `color`. They can even specify explicit `background: inherit`. But I don't really believe that's a common case.

-- 
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-378168848

Received on Tuesday, 3 April 2018 08:22:29 UTC