title: CSS selector to find <select> with specified <option> label
body: <p>I need a CSS selector that selects a <code>&lt;select&gt;</code> element if it contains an <code>&lt;option&gt;</code> which contains or equals (both would match my requirements) a specified text. Example HTML:</p>
  
  <pre><code>&lt;select name="foo"&gt;
    &lt;option value="1"&gt;First&lt;/option&gt;
    &lt;option value="2"&gt;Second&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>I want the <code>&lt;select&gt;</code> if it contains for example an option labeled "Second". Something like this:</p>
  
  <pre><code>select[option:contains('Second')]
  </code></pre>
  
  <p>If there is no way to achieve that with CSS selectors, i'd also accept JQuery or XPath selectors.</p>