Patterns/Gradients already use the new "isPendingResource" & friends concept to keep track of any not-yet available resource - when it appears they update nicely. All other resources need to work in the same way. Attaching patch soon.
Created attachment 12622 [details] Initial patch. Patch fixing all known resource updating/invalidation/creation bugs. The 16 new LayoutTests will be in a seperated patch - otherwhise it's waaay too big.
Created attachment 12623 [details] LayoutTests I left out the .png's otherwhise it gets too big.
Created attachment 12632 [details] Updated patch. New patch fixing the issues Sam mentioned via IRC. No new regressions in pixel tests. One existing testcase works again - 16 added.
Landed in r19050.