If I define the following CSS rule:
img { max-width: 200px; max-height: 200px; border: 1px solid black; }
Is there a pure-CSS
No, there are no CSS selectors that can query style properties, whether declared or computed, as rendering of DOM elements has no relation to the DOM hierarchy.