Make deleting all text while editing a DOM attribute remove the attribute.
Created attachment 22912 [details] Proposed patch
Landed fix in r35878.