[css-selectors] descentant up to a certain depth
Hr Gwea <[email protected]> Sat, 2 Jul 2016 22:51:19 -0400
| Newsgroups | gmane.comp.web.css.general |
|---|---|
| Message-ID | <CAE++px-kk3wn43eGG7Ajwyy=WoyLP10Uqbk1c=3aAXkK+QOLvw@mail.gmail.com> |
Is there any plans or ideas to simplify selectors like this:
elem1 > elem2,
elem1 > * > elem2,
elem1 > * > * > elem2 {...properties...}
i.e. all elem2 that are children, grandchildren or great-grandchildren of
elem1.
More generally, a descendant combinator that let us specify the max depth
of the descendants.
If not, can I propose a solution?