Expose CSSContainerRule containerName
Categories
(Core :: CSS Parsing and Computation, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox106 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: emilio)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
As we want to display container queries on top of rules in DevTools Inspector's rule view, we would need a way to retrieve the container-name
used in the query.
There are some discussion on the spec to expose the container name for a given CSSContainerRule
(https://github.com/w3c/csswg-drafts/issues/7190), but until then, maybe we could have a simple method on InspectorUtils
, or a Chrome-only exposed containerName
property (Emilio might have better opinion about which form this should take at the moment).
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
This implements https://github.com/w3c/csswg-drafts/pull/7293, pending a
spec resolution, so landing test as tentative for now, but the change
makes sense.
Assignee | ||
Updated•3 years ago
|
Comment 3•3 years ago
|
||
bugherder |
Updated•2 years ago
|
Comment 7•2 years ago
|
||
FF110 docs for this can be tracked in https://github.com/mdn/content/issues/25398 (all done). Note, that is not a typo. FF106 is the indicated version here, but browser compat indicates delivery in FF110, as does local testing.
Description
•