zoltan-dulac / cssSandpaper

a CSS3 Polyfill that implements CSS3 transforms, box-shadow, gradients, opacity and RGBA/HSL/HSLA colours in browser that don't support them.
http://www.useragentman.com/blog/csssandpaper-a-css3-javascript-library/
208 stars 47 forks source link

One more with the 'For loop' #6

Open makapacs opened 12 years ago

makapacs commented 12 years ago

Hi,

The second 'for loop' in fixTextShadows() is causing another issue.

Line with 'for (var j in sels) {'

Replacing it with:

for (var j = 0; j < sels.length; j++) {

worked!

Margots