Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grouping in hierarchical notation #23

Closed
Mouvedia opened this issue Dec 15, 2011 · 6 comments
Closed

grouping in hierarchical notation #23

Mouvedia opened this issue Dec 15, 2011 · 6 comments

Comments

@Mouvedia
Copy link
Member

note {
        child1, child2 {
                element1, element2 { }
        }
}

//equivalent to

note child1 element1 { }
note child1 element2 { }
note child2 element1 { }
note child2 element2 { }

https://developer.mozilla.org/en/CSS/%3A-moz-any
http://dev.w3.org/csswg/selectors4/#matches
http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#nested_rules

@matzipan
Copy link
Member

Isn`t this already available?

@Mouvedia
Copy link
Member Author

@matzipan not explicitly in the spec so Ill add it.

@matzipan
Copy link
Member

It seems intuitive enough.

On 12/16/11, Marc G.
reply@reply.github.com
wrote:

@matzipan not explicitly in the spec so Ill add it.


Reply to this email directly or view it on GitHub:
#23 (comment)

Sent from my mobile device

Yours,
Andrei

@Apanatshka
Copy link

http://axr.vg/spec/chapter/9, 1.3.2 mentions this

@Mouvedia
Copy link
Member Author

Mouvedia commented Jan 3, 2012

Check my example again, it's not clear that you can do grouping when you nest selectors in the spec.

@Apanatshka
Copy link

Right. I see. I agree with @matzipan, it's intuitive.

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

No branches or pull requests

3 participants