browser-compat-data
browser-compat-data copied to clipboard
css.selectors.backdrop - Supported in Firefox for `dialog` elements
What type of issue is this?
Incorrect support data (ex. Chrome says "86" but support was added in "40")
What information was incorrect, unhelpful, or incomplete?
For Firefox, this still says the ::backdrop selector is unsupported, but it is supported (unsure from what version though).
What browsers does this problem apply to, if applicable?
Firefox
What did you expect to see?
I did not expect to see the darkening of the background. The page has a #simple-dialog::backdrop selector, and the ID simple-dialog points to a <dialog> element.
Did you test this? If so, how?
I tested this by visiting this site.
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
I have none at the moment, but the Caniuse page on this is outdated.
Do you have anything more you want to share?
No response
MDN URL
https://developer.mozilla.org/en-US/docs/Web/CSS/::backdrop
MDN metadata
MDN page report details
- Query:
css.selectors.backdrop - Report started: 2022-07-21T20:32:27.489Z
Please note that this will only work if the dialog is opened via showModal() or show(), manually applying the open attribute won't initiate the ::backdrop.
Please note that this will only work if the dialog is opened via
showModal()orshow(), manually applying theopenattribute won't initiate the::backdrop.
Hi, do you know if the ::backdrop will be supported using open attribute?
It won't, as just using the open attribute won't initialize the ::backdrop (intended!).