- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Thu, 5 Apr 2012 16:02:15 -0700
- To: www-style list <www-style@w3.org>
Argh, it was just pointed out to me that we can't get full backward-compat even with my last paragraph, because of the descendant combinator. A current selector like "p ::before" means "the before pseudo of all descendants of p". In my proposal, it would instead mean "the before pseudo of p". It's possible that this form of selector is very rare - after all, it's a pretty stupid selector. I expect it to appear only in those weird CSS hack experiments that use tons of pseudos to achieve some cool result. If so, then we can just let its meaning change. I'd need to do some testing, though. If it does cause breakage, we'd need to choose a different syntax for the combinator. ~TJ
Received on Thursday, 5 April 2012 23:03:10 UTC