- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Fri, 16 Dec 2022 15:06:12 +0000
- To: public-css-archive@w3.org
Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts:
== [selectors] :visited and ::backdrop ==
https://software.hixie.ch/utilities/js/live-dom-viewer/saved/11114
```html
<!DOCTYPE html>
<style>
dialog, dialog::backdrop {
border: solid red;
}
:visited dialog, :visited dialog::backdrop {
border-color: green;
}
</style>
<a href=""><dialog></dialog></a>
<script>
document.querySelector("dialog").showModal();
</script>
```
https://drafts.csswg.org/selectors-4/#visited-pseudo
https://fullscreen.spec.whatwg.org/#::backdrop-pseudo-element
I expected that both the dialog and the backdrop would have a green border.
However, the backdrop gets a red border in Gecko, Blink and WebKit.
Seems like a bug to me, but there is interoperability.
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8240 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 16 December 2022 15:06:14 UTC