$("article").filter*(while).each(repeat_me) - loop while filter matches
<p>I'd like to have a custom function repeatedly called as long as a custom filter function matches.</p>

<p>use case:</p>

<pre><code>// filter
function overflow() { 
    return this.clientHeight &lt; this.scrollHeight;
}

// apply
$("article").filter(overflow).css_calc({fontSize: -1});
</code></pre>

<p>Is there a generic way in jQuery to call the subsequent function <strong><em>as long as</em></strong> the filter matches? Or wasn't there something to call the <em>preceeding</em> function multiple times? <em>Any way</em> to loop in a jQuery function chain?</p>

<p>Or otherwise; how would you write something like an <code>.each_while()</code> combo that does the usual .each() but also performs a while() on each element as long as said .filter() matches.</p>
