Open
Description
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.
I believe this is non-intentional.
Metadata
Metadata
Assignees
Type
Projects
Status
Regular agenda items
Status
Tuesday Afternoon