adobe/brackets — pull request #2405 by jasonsanjose (2012-12-19 21:14:57+00:00)
Title: Use img load hack to detect stylesheet loading

Fix for #2374

Also checks for @import statements and only resolves the loadStyleSheet promise when all dependencies are loaded.

Updated unit test to include a large 2.7MB CSS file to test long load times.