- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Wed, 6 Nov 2013 15:07:51 -0800
- To: Simon Sapin <simon.sapin@exyr.org>
- Cc: Jirka Kosek <jirka@kosek.cz>, Simon Pieters <simonp@opera.com>, www-style list <www-style@w3.org>
On Wed, Nov 6, 2013 at 3:04 PM, Simon Sapin <simon.sapin@exyr.org> wrote: > Le 06/11/2013 22:57, Jirka Kosek a écrit : >> If Selectors are aiming to be universal selector/query language it >> should be possible to select different kinds of nodes in document, not >> just elements. Attributes are first candidate to be added, but for the >> sake of completeness I think that text and comment nodes should be added >> as well, and for XML document also processing instruction nodes. > > I disagree. We should not add features "for the sake of completeness" if > there is no use case. > > (I’m not saying there is no use case, but I haven’t seen them yet for > selecting text, comment and processing instruction nodes.) Well, there are obvious use-cases for selecting text and styling it via a pseudo-element, but there's never been sufficient implementor interest for us to pursue the feature. ~TJ
Received on Wednesday, 6 November 2013 23:08:38 UTC