Modernizr data URLs

IMPORTANT! All of you developing Magento stores using modernizr.js should correct this:

Line 595 : bool = supportAtRule('@font-face
{ font-family: "font"; src: url(data:,); }');

into this:

bool = supportAtRule('@font-face
{ font-family: "font"; src: "//:"; }');

You can take a look at the solution here: https://github.com/Modernizr/Modernizr/issues/218

Basically, you’ll get an “Display secure and non-secure” items on the page if you have it as it is in IE7 of course.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>