Open Bug 1795622 Opened 2 years ago Updated 2 hours ago

[css-contain-3] Support style() queries

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

People

(Reporter: bramus, Unassigned)

References

(Blocks 3 open bugs)

Details

Spec still a draft right now. Filed this issue so there’s something to track across all vendors.

Blocks: 1796166

Chrome has implemented style query of custom property values at version 111.
Webkit position is also supportive of the CSS variables use case: https://github.com/WebKit/standards-positions/issues/57#issuecomment-1691159042

Suggest to split the feature into variables usage and standard properties usage.
And Implement the CSS variables usage at first.
It maybe resolve some problems, even the another way for enviroment queries in shadow dom (Current supported with :host-context() in Chrome).

Update:
WebKit has enable Style queries by default WebKit/WebKit#24251

Status: UNCONFIRMED → NEW
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.