-
Notifications
You must be signed in to change notification settings - Fork 359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory intensive due to no delay when waiting for element #47
Comments
Sorry, but which loop are you referring to? |
For example here (file: backgroundsize.htc):
|
Though, if the target element is modified rapidly, then Can you post a test case? It would help to confirm the issue. |
Hmm ... this must be the hardest test case. I tried this ... but if i execute this code, Internet Explorer hang up due to memory problem.
|
background-size-polyfill is waiting in a loop, until it finds the element. Perhaps it would be better to have a general delay from 10ms or 100ms for the next try, because if you are using background-size-polyfill several times in one page it is very memory intensive.
The text was updated successfully, but these errors were encountered: