What about Math.min() and Math.max() ?
If a fieldset with a repeating class is nested inside a table, will rows be duplicated properly?