Pasting multiple photos in Mail's compose mail sheet only pastes one photo. <rdar://problem/16138616>
Created attachment 232455 [details] Patch
Committed r169594: <http://trac.webkit.org/changeset/169594>
I happened to look into the same code today, and now I don't understand something. Pasteboard::read() already iterates over all items, and adds fragments for them. So we do we even need documentFragmentFromDelegate() before calling webContentFromPasteboard(), which calls Pasteboard::read()?
(In reply to comment #3) > I happened to look into the same code today, and now I don't understand something. > > Pasteboard::read() already iterates over all items, and adds fragments for them. So we do we even need documentFragmentFromDelegate() before calling webContentFromPasteboard(), which calls Pasteboard::read()? Mail uses this delegate call to (at least) resize the images that are pasted. I'm not sure if it does anything else.