Skip to content

CSS @mixin #1359

Open
Open

Description

@Th3S4mur41

Description

The @mixin CSS at-rule enables defining reusable and parametrizable block of CSS. Once defined, a mixin can be called using the syntax @apply --mixin-name(<parameters>);.

This feature being prototyped in Chrome

Rationale

Chrome bug
Firefox bug

Investigation Roadmap

Specification Draft
web-feature

Activity

  1. added
    investigation-effort-proposal
    on Sep 4, 2026
  2. zcorpan commented on Sep 25, 2026

    @zcorpan
    Member

    What is the proposal to investigate in Interop? It seems to me this should be fully testable as-is. Further spec work should happen in the CSS WG.

  3. Th3S4mur41 commented on Sep 25, 2026

    @Th3S4mur41
    Author

    My understanding was that the lack of a finalized spec and complete WPT coverage meant it needed an investigation phase first.

    However, if the core proposal in the CSSWG is stable enough to build tests against today, I would be thrilled to see it move forward as a full Focus Area. The key deliverable for Interop would then be establishing the test suite in WPT so we can measure engine compatibility directly.

  4. zcorpan commented on Sep 25, 2026

    @zcorpan
    Member

    https://drafts.csswg.org/css-mixins/#issue-22fe8b7f suggests it's not sufficiently baked to be ready for implementation. However, it doesn't mean that an Interop investigation is needed. It may just need more work to happen in the WG.

    https://github.com/web-platform-tests/interop#the-purpose-of-the-interop-project says what the intended scope should be for investigation efforts, though the proposal guide doesn't reference it so it's easy to miss.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    investigation-effort-proposal

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions