axr / specification

This is where we work on the specification for AXR
spec.axrproject.org
13 stars 0 forks source link

grouping in hierarchical notation #23

Closed Mouvedia closed 12 years ago

Mouvedia commented 12 years ago
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 commented 12 years ago

Isn`t this already available?

Mouvedia commented 12 years ago

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

matzipan commented 12 years ago

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: https://github.com/AXR/Specification/issues/23#issuecomment-3175558

Sent from my mobile device

Yours, Andrei

Apanatshka commented 12 years ago

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

Mouvedia commented 12 years ago

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

Apanatshka commented 12 years ago

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