Skip to content

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

This reverts commit c37bb4530fe59a0fc419e21de0dbf65506a00e69.

Original change's description:

Support mixins across stylesheets.

We add a separate pass to collect mixins before creating RuleSets,
since RuleSets need the global list of mixins to know what to do
with @apply.

It's not entirely clear whether we want to do this on-the-fly
or somehow cache it on the StyleEngine. This patch does the former.

What we don't support yet:

Change-Id: I4322e27977fb9842ef9500ee3e1b9b13d6ed6170
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6687150
Reviewed-by: Anders Hartvoll Ruud <[email protected]>
Commit-Queue: Steinar H Gunderson <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1482544}

Change-Id: I73e1e60ef7c313b55d154972960dfa1d1244d1d0
Reviewed-on: https://chromium-review.googlesource.com/6817695
WPT-Export-Revision: a4cd3164e6ed14415ff2ec1f25cf0d29e133389c

This reverts commit c37bb4530fe59a0fc419e21de0dbf65506a00e69.

Original change's description:
> Support mixins across stylesheets.
>
> We add a separate pass to collect mixins before creating RuleSets,
> since RuleSets need the global list of mixins to know what to do
> with @apply.
>
> It's not entirely clear whether we want to do this on-the-fly
> or somehow cache it on the StyleEngine. This patch does the former.
>
> What we don't support yet:
>
>  - Parameters (@env and @contents).
>  - Shadow DOM support (looking up @apply in the parent tree scope).
>  - Reading mixins from @import.
>  - @mixin within @container, @layer and @starting-style is unclear
>    (w3c/csswg-drafts#12417).
>  - We will get confused by circularities, and probably hang.
>  - Invalidation of mixins when e.g. media queries change.
>  - Invalidation of RuleSets when mixins change.
>  - User and VTT stylesheets.
>
> Change-Id: I4322e27977fb9842ef9500ee3e1b9b13d6ed6170
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6687150
> Reviewed-by: Anders Hartvoll Ruud <[email protected]>
> Commit-Queue: Steinar H Gunderson <[email protected]>
> Cr-Commit-Position: refs/heads/main@{#1482544}
@chromium-wpt-export-bot
Copy link
Collaborator Author

Close this PR because the Chromium CL has been abandoned.

@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-cl-6817695 branch August 20, 2025 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant