Posted by Jon Slaughter on 04/18/07 19:48
I have no idea why css can't have an selector algebra? Why not (li>a) +
(ul -li div a)
with - selecting the elements where the expression evaluates to true. I
suppose it could be a drag on the system in some cases but it would be nice.
So the above expression would select all list elements who has a list
element above it with a link in it and who itself is of a child of a user
list and contains a div which contains a link.
This would allow one to get very specific selection but still retains
backwards compatibility. I'm not sure about the complexity involved as there
might be traversal issues but I'm sure it could be very useful.
Jon
Navigation:
[Reply to this message]
|