Nope, that won't work, as far as I can tell. (I looked into this.)
(And,
@willow_hiller, I think this will answer your question, too.)
I think this boils down to... because the order is date of record (21st), dividend date (after close on the 28th), ex date (open on the 31st), what this effectively means is that
Tesla keeps track of who's owed dividend on the date of record, and any sales after that,
brokers have to keep track of who gets the resulting dividend, but anyone who's holding shares at the dividend issuing should get the dividend.
See how the Apple split, which while not a dividend, is the same way.