Re: [csswg-drafts] Consider reverting “allow child-index pseudos to select unparented elements” change

Browser bugs are the right way to do this.  Something like this change
 is necessary to make the child pseudos work in the expected way on 
shadow trees (otherwise, all the top-level elements don't match, 
because they don't have a parent), and it's dumb to carve out a 
special exception for shadow trees while still making <html> not 
match.  I'll file a Chrome bug, at least.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/695#issuecomment-263930658 
using your GitHub account

Received on Wednesday, 30 November 2016 17:02:38 UTC