Closed Bug 1342547 (css-apply-rule) Opened 7 years ago Closed 5 years ago

Support CSS @apply rule (using CSS variables as mixins)

Categories

(Core :: CSS Parsing and Computation, enhancement, P5)

54 Branch
enhancement

Tracking

()

RESOLVED WONTFIX

People

(Reporter: zefling, Unassigned)

References

(Blocks 1 open bug, )

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
Build ID: 20170224110129

Steps to reproduce:

A bug for this draft allows to extend the possibility of CSS Variables
- http://tabatkins.github.io/specs/css-apply-rule/
- http://caniuse.com/#feat=css-apply-rule

It's like the duo of SASS rules: @mixin/@include
Component: Untriaged → CSS Parsing and Computation
OS: Unspecified → All
Product: Firefox → Core
Hardware: Unspecified → All
I think we'd at least want the spec to be taken up by the working group.  (Or did the WG already agree to that and it just hasn't moved?)
The only CSS minutes I found on the topic are:
https://lists.w3.org/Archives/Public/www-style/2015Sep/0041.html
which were summarized as:
>@apply rule
>-----------
>
>  - TabAtkins brought his proposal for an @apply rule to the group,
>      available here: http://tabatkins.github.io/specs/css-apply-rule/
>  - The overall reception was positive, but there were concerns
>      about the feasibility of certain behaviors due to how style
>      resolution works.
>      TabAtkins will work on solving those problems before he brings
>      the proposal back to the group.
Summary: Support of CSS @apply Rule → Support CSS @apply rule (using CSS variables as mixins)
Fwiw, it appears TabAtkins changed his mind since then though:
https://discourse.wicg.io/t/needed-new-champion-for-css-apply-rule/2012
Severity: normal → enhancement
Priority: -- → P5

Well, the spec is now abandoned, so this feels like a WONTFIX to me.

See also:

Alias: css-apply-rule
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.