====== Selectors Level 4 ====== Ideas to consider * [[ideas:current-url-selector|Current URL Selector (with directory levels)]] * IDREF combinators: [[http://lists.w3.org/Archives/Public/www-style/2000Jan/0152.html|/attr/]] syntax, [[http://lists.w3.org/Archives/Public/www-style/2005Oct/0173.html|friend(attribute, selector)]] syntax * relationship selectors, e.g.: * to select cells in a column: ''%%col.foo // td%%'' * to select labels applying to an input control: ''%%input // label%%'' * to select map elements associated with an image: ''%%img // map%%'' * pseudo-attribute selectors, e.g. to select cells that are in the second column of a table: ''[#column=2]'' * numeric attribute selectors, e.g. ''%%[height>2]%%'', ''%%[count<=5]%%'', ''%%[balance<0]%%'', ''%%[#row>1]%%'' * [[http://lists.w3.org/Archives/Public/www-style/2008Mar/0193.html|:rtl and :ltr pseudo-classes]] (based on source ''dir'' attributes) (or maybe :dir(rtl|ltr)?) * ability to [[http://www.w3.org/TR/2000/WD-css3-selectors-20001005/#subject-pseudo|choose subject in the selector]] ([[http://lists.w3.org/Archives/Public/www-style/2000Oct/0182.html|alternative syntax]]) ([[http://lists.w3.org/Archives/Public/www-style/2002May/0018.html|discussion of syntaxes]]) * [[http://lists.w3.org/Archives/Public/www-style/2003Apr/0146.html|:matches() pseudo-class]] ([[http://lists.w3.org/Archives/Public/www-style/2000Oct/0182.html|alternate]]) * ''%%::quote-start%%'' and ''%%::quote-end%%'', to match characters with the Quotation_Mark property that are direct children of the element and that are immediately inside the start and end (respectively) of the element, ignoring White_Space characters. (This would help a lot with '''' in HTML5.) * [[http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-October/016544.html|dynamic values selector]] and/or a pseudo-class for placeholder text * [[http://lists.w3.org/Archives/Public/www-style/2008Nov/0466.html|::window pseudo-element]] * [[http://lists.w3.org/Archives/Public/www-style/2010Jan/0308.html|limited descendant combinator]] [[http://www.onderhond.com/blog/work/missing-css-combinator|more info]]