-
Notifications
You must be signed in to change notification settings - Fork 275
Element's matchContainer #3940
Copy link
Copy link
Open
Labels
early featuresFeature definition work for features without shipping implementationsFeature definition work for features without shipping implementationsfeature definitionCreating or defining new features or groups of features.Creating or defining new features or groups of features.feature entry requestA request for a new web platform feature entryA request for a new web platform feature entry
Metadata
Metadata
Assignees
Labels
early featuresFeature definition work for features without shipping implementationsFeature definition work for features without shipping implementationsfeature definitionCreating or defining new features or groups of features.Creating or defining new features or groups of features.feature entry requestA request for a new web platform feature entryA request for a new web platform feature entry
Specification
Spec PR
Description
Introduce
matchContainer()on Element instances for the container query, that provides a similar mechanism towindow.matchMedia().Documentation
The explainer and documentation are not ready yet. That would probably be enough for the proposed issue: w3c/csswg-drafts#6205
Browser support
Starting to prototype in Chromium. Feature entry: https://chromestatus.com/feature/5150754462629888