- From: Wilton Pyle <dialate@bellsouth.net>
- Date: Sat, 20 Mar 2004 16:05:59 -0500
- To: <www-style@w3.org>
- Message-ID: <000e01c40ebf$24ff25a0$6601a8c0@fast2>
> I think you're asking for Hixie's :matches proposal. > > ~fantasai Forgive me, I'm new to this list. :D I found and read through the "Why no Parent Selector?" thread started by David Wagner. I was immediately lost after the initial question, and stayed lost throughout the entire thread...a depressing discussion of what I assume to be gratuitous document-global-rampage pseudo-classes. The beauty of a "-" selector is its simplicity. The concept is easy to understand from a programmer's point of view, referencing parents is a straightforward programming task. The related function to return such may even be a cut-and-paste job from existing code from javascript implementation, who knows. Same thing with David Wagner's suggestion of a "<" selector. However, I like the "-" symbolism better because it more intuitively suggests a direct reference to the parent (and only the parent), rather than possibly an ambiguous reference to the entire document tree outside the element, or just the document tree of the parent with no direct reference to the parent itself. Actual implementation of, and consistancy between browsers, for a "-" selector, is much more likely.
Received on Saturday, 20 March 2004 16:02:07 UTC