- From: Richard York <richy@smilingsouls.net>
- Date: Mon, 25 Sep 2006 20:33:01 -0400
- To: <www-style@w3.org>
> As I've said a couple of times before, my real objections to a parent > selector are > > (a) I don't like selectors that are incompatible with incremental > rendering (since you risk displaying incorrectly styled content when > doing incremental rendering while a page loads). (This problem would > be especially bad for parent selectors... moreso than say, :last-child). Having seen this debate come up a number of times on this list, I think that the syntax and behavior of this selector should at the very least be reserved within CSS, and the theoretical purpose of the selector specified. Despite all the problems that come up with implementing a parent selector in CSS, what about using a parent selector in something like a future getElementsBySelector() method in script? There are no incremental rendering problems there. At least if the syntax were reserved for the purpose of selecting a parent element, it could be implemented where it would be possible to use without all of the pitfalls previously mentioned. Regards, Richard York
Received on Tuesday, 26 September 2006 00:29:02 UTC