- $.each(selector, function(idx, child) {
- assert.isEqual(expectedValue, $(child).css(property));
- });
+ for (var idx = 0; idx < selector.length; idx++) {
+ var child = selector[idx];
+ assert.equal(expectedValue, window.getComputedStyle(child)[property]);
+ }