We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
The UA sheet approach in here means that authors can control top layer rendering in pseudo-elements, see:
<!doctype html> <style> div::before { content: ""; overlay: auto; position: absolute; inset: 0; background: red; } </style> <div></div> <script> alert(getComputedStyle(document.querySelector("div"), "::before").overlay); </script>
Which alerts auto in Chrome.
auto
I believe this is non-intentional.
cc @tabatkins @flackr @lilles
The text was updated successfully, but these errors were encountered:
Yes, that's not intentional.
Sorry, something went wrong.
Could one approach be to say overlay computes to none for any pseudo-element other than ::backdrop?
overlay
none
::backdrop
Possibly?
Kind of the same problem that I was trying to address in #4565. We resolved to add experimental work from #7346, which would allow
*, * :>> * { overlay: none !important }
No branches or pull requests
The UA sheet approach in here means that authors can control top layer rendering in pseudo-elements, see:
Which alerts
auto
in Chrome.I believe this is non-intentional.
cc @tabatkins @flackr @lilles
The text was updated successfully, but these errors were encountered: