This is an old revision of the document!


Selectors Level 4

Ideas considered in Editor’s Draft (ED)

Ideas to consider

Ideas superseded by other features

  • relationship selectors, e.g.:
    • to select cells in a column: col.foo // td – done with td:column(col.foo)
    • to select labels applying to an input control: input // label – done without further knowledge of markup language, i.e. $label /for/ input, $label input
    • to select map elements associated with an image: img // map – opposite of inputlabel situation, img /usemap/ map
    • to select arbitrary associated elements: x[href#] // y[id#] – always any ID in target, x /href/ y
  • only-child-parent Most use cases for the parent selector care only about the only child. This doesn't have the same perf implications as a general parent selector. – solved with :matches() and $
  • dynamic values selector - already handled by ::value pseudo-element in CSS3-UI.
 
spec/selectors4.1312652204.txt.gz · Last modified: 2014/12/09 15:48 (external edit)
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki