louisremi / background-size-polyfill

Adds support for background-size "cover" and "contain" to IE8
http://louisremi.github.com/background-size-polyfill/
MIT License
1.26k stars 359 forks source link

SCRIPT65535: Unexpected call to method or property access. #12

Open vincentmans opened 11 years ago

vincentmans commented 11 years ago

SCRIPT65535: Unexpected call to method or property access. backgroundsize.htc, regel 262 teken 2

(or backgroundsize.min.htc, regel 6 teken 3394)

Only tested in IE8.

Possible suggestion: use "try{}".

jscheel commented 11 years ago

+1, seeing this same issue

skoskie commented 11 years ago

+1

zauberware commented 11 years ago

+1, did anybody solve this issue?

tombu commented 11 years ago

I´m having this issue, too. Any updates on this?

jefferyto commented 11 years ago

Can you post a link?

vincentmans commented 11 years ago

I can't because I didn't write it down what URL and probably solved it by not using the library. Perhaps someone else in this thread?

hoox commented 10 years ago

It looks like it's due to inserting the "wrapper" element to elements that do not support it, for example INPUT tags.

element.insertBefore( wrapper, element.firstChild );
jefferyto commented 10 years ago

Thanks @hoox - I've opened an issue (#34) to track getting that working.

andruby commented 10 years ago

I am still seeing this issue today. Was this ever fixed or is there a workaround?