Begin implementation of CSS-like selection.