← Back to release summary

CSS Pseudo Element ::backdrop inheriting from Originating Element

Category
CSS
Type
Chromium catches up
Status
Enabled by default (Chrome 122)
Intent stage
None

Summary

The ::backdrop pseudo element used to inherit from initial values. That meant ::backdrop could not use custom property values unless specified directly on the ::backdrop rule. The specification has now changed so that ::backdrop inherits from the originating element, and with that the implementation.

Motivation

Authors can not use custom property declarations on e.g. the root element to customize property values on ::backdrop pseudo elements.

Standards & signals

View on chromestatus.com