Re:CSS4 Preview – Selectors
by driax on Wednesday March 07, 2012 @01:52AM
(#3674584)
Well every other operator is infix, so it's not really that inconsistent. " " (space) selectes descendents, ">" selects children, "+" selectes next-siblings and so on. The weird feeling of "/{attr}/" is probably just that the operator is variabel on the name of the attribute, which can't be avoided by any syntax (given that is part of the needed semantics).
[ Parent
| on HN ]
There are no comments on this comment yet.