Is it possible to select elements based on the value of a CSS property. For example:
CSS rules:
div.blockWithBorder { border: 1px solid red; }
HTML markup:
<div id="A" class="blockWithRedBorder">...</div>
<div id="B" style="border: 5px dashed red">...</div>
<div id="C" style="border: 2px solid #FF0000">...</div>
I want to find all div elements with a red border. A, B and C match this query.