- From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
- Date: Wed, 13 Nov 2024 12:17:30 +0000
- To: public-css-archive@w3.org
emilio has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-position] overlay property UA sheet is not enough. == The UA sheet approach in [here](https://drafts.csswg.org/css-position-4/#overlay) 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. I believe this is non-intentional. cc @tabatkins @flackr @lilles Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11194 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 13 November 2024 12:17:31 UTC