The ability to query a parent's inline size, and container query unit values recently reached stable support in all modern browser engines.However, the containment spec includes more than just size queries; it also enables querying a parent's style values.From Chromium 111, you'll be able to apply style containment for custom property values and query a parent element for the value of a custom property.
[
add
]
[
|
|
...
]