browser-compat-data icon indicating copy to clipboard operation
browser-compat-data copied to clipboard

css.selectors.backdrop - Supported in Firefox for `dialog` elements

Open C-Ezra-M opened this issue 3 years ago • 1 comments

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

C-Ezra-M avatar Jul 21 '22 20:07 C-Ezra-M

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.

C-Ezra-M avatar Jul 22 '22 07:07 C-Ezra-M

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.

Hi, do you know if the ::backdrop will be supported using open attribute?

devfoxcol avatar Oct 06 '22 15:10 devfoxcol

It won't, as just using the open attribute won't initialize the ::backdrop (intended!).

C-Ezra-M avatar Oct 07 '22 10:10 C-Ezra-M