- From: Brad Kemper <brkemper@comcast.net>
- Date: Fri, 25 Jul 2008 07:10:40 -0700
- To: Andrew Fedoniouk <news@terrainformatica.com>
- Cc: Francois Remy <fremycompany_pub@yahoo.fr>, Boris Zbarsky <bzbarsky@MIT.EDU>, www-style list <www-style@w3.org>
On Jul 24, 2008, at 10:01 PM, Andrew Fedoniouk wrote: > Second: > > Consider these two selectors: > > p > { > border: none; > } > > html:with-child(a:hover) p > { > border: 2em; > } > > and markup: > > <html> > <p><a href="*">sample</a></p> > </html> As far as I can tell, nothing would happen there, because the HTML element does not have an anchor ("A" element) as a child. It only has one as a descendant, and I thought "with-child" referred to immediate children only, not grandchildren.
Received on Friday, 25 July 2008 14:11:22 UTC