Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Support :matches() #17

Closed
MoOx opened this issue Aug 19, 2014 · 12 comments
Closed

Support :matches() #17

MoOx opened this issue Aug 19, 2014 · 12 comments

Comments

@MoOx
Copy link
Owner

MoOx commented Aug 19, 2014

body :matches(h1, h2) {
  color: red;
}

should yields into

body h1, body h2 {
  color: red;
}

poke @eramdam

@MoOx
Copy link
Owner Author

MoOx commented Aug 19, 2014

@MoOx MoOx self-assigned this Aug 19, 2014
@MoOx MoOx added ready and removed ready labels Aug 22, 2014
@MoOx MoOx added this to the v1.0.0 milestone Aug 22, 2014
@MoOx
Copy link
Owner Author

MoOx commented Sep 17, 2014

how should we handle this ?
I'm not sure if we should add a postcss plugin for each features one plugin = looping on all props most of the time = mutliples loop...
postcss-selector with eventually multiples options like postcss-color ? Or just a postcss-selector-matches ?

@yisibl
Copy link

yisibl commented Sep 25, 2014

postcss-selector-matches +1

@necolas
Copy link

necolas commented Sep 25, 2014

nice, i was working on a plugin for this for rework, good idea. also agree to make this one focused plugin: postcss-selector-matches.

@eramdam
Copy link
Contributor

eramdam commented Nov 13, 2014

Any news on this ? 😁

@MoOx MoOx mentioned this issue Dec 1, 2014
@yisibl
Copy link

yisibl commented Dec 9, 2014

@MoOx MoOx modified the milestone: v1.0.0 Feb 2, 2015
@MoOx MoOx removed their assignment Feb 2, 2015
@MoOx
Copy link
Owner Author

MoOx commented Mar 28, 2015

We might want to port this https://github.com/michelle/rework-matches

@MoOx
Copy link
Owner Author

MoOx commented Apr 29, 2015

Done. I will release postcss-selector-matches and include it in cssnext tonight ir tomorrow :)

@magsout
Copy link
Contributor

magsout commented Apr 29, 2015

@MoOx good job (again?)

@MoOx
Copy link
Owner Author

MoOx commented Apr 30, 2015

@MoOx
Copy link
Owner Author

MoOx commented May 1, 2015

Closed by 0cf0c13

@MoOx MoOx closed this as completed May 1, 2015
@MoOx
Copy link
Owner Author

MoOx commented May 1, 2015

Released as 1.4.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants