New issue
Advanced search Search tips

Issue 747464 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

CSS Custom Properties aren't passed from root to the dialog element

Reported by c...@corydowdy.com, Jul 21 2017

Issue description

Chrome Version       : 59.0.3071.115
OS Version: 10.0
URLs (if applicable) :
Other browsers tested: Only Tested in Chrome 59.0.3071.115

What steps will reproduce the problem?
1. create a dialog element
2. add a css custom property to root ( :root { --custom-bg: rgba(0, 0, 0, 0.8); }
3. use that custom prop for the dialog's backdrop: ( dialog::backdrop { background: var(--custom-bg);

What is the expected result?
The root custom prop would be used to set the dialog's background as seen on https://demo.agektmr.com/dialog/#background_color

What happens instead of that?
no props are passed from any top level selectors

Please provide any additional information below. Attach a screenshot if
possible.

UserAgentString: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36



 

Comment 1 by c...@corydowdy.com, Jul 21 2017

This is apparently expected behavior for the ::backdrop psuedo element https://twitter.com/simevidas/status/888467501830610944  

https://fullscreen.spec.whatwg.org/#::backdrop-pseudo-element
Components: Blink>CSS

Comment 3 by shend@chromium.org, Jul 25 2017

Status: WontFix (was: Unconfirmed)
Closing this as it looks like this is working as intended.

Sign in to add a comment