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•1 year ago
|
Assignee | ||
Comment 1•1 year 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•1 year ago
|
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0a2ff7dadf29 Improve CSS OM for CSSContainerRule. r=nchevobbe
Comment 3•1 year ago
|
||
bugherder |
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/35734 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
Updated•9 months ago
|
Comment 7•9 months 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
•