This method was borrowed and adapted from lazyload, Copyright (c) 2011 Ryan Grove firstname.lastname@example.org See original source and license information at this link: https://github.com/rgrove/lazyload/blob/master/lazyload.js
Begins polling to determine when pending stylesheets have finished loading in WebKit. Polling stops when all pending stylesheets have loaded or after configured timeout period (to prevent stalls).
Successful loading of the stylesheet within the timeout period is signalled by the invocation of the client-supplied callback function. There is no guarantee of this callback being invoked.
Style node to poll.
Callback function is invoked if the polled resource finishes loading within the timeout period.