Skip to content

Element's matchContainer #3940

@DevSDK

Description

@DevSDK

Specification

Spec PR

Description

Introduce matchContainer() on Element instances for the container query, that provides a similar mechanism to window.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

Metadata

Metadata

Assignees

No one assigned

    Labels

    early featuresFeature definition work for features without shipping implementationsfeature definitionCreating or defining new features or groups of features.feature entry requestA request for a new web platform feature entry

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions