I need to add more tests for CSS Shaders, but I couldn't find a nice way to know that a cached resource is loaded. So the result is that in DRT the screenshot is taken too early. Other tests use the "onload" event of the associated tag (ie. img, iframe, script), but CSS Shaders have no such tag. Do you know if there's any DRT method that forces a sync load or waits for a specific resource?
If not, I think a workaround would be to use a hidden iframe (or script tag) and the "onload" event. Other ideas? Thanks, Alex Chiculita
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev