I agree with you about not reducing all of the duplication across browsers with this ticket, but we should probably look for areas like this where we can incrementally deduplicate things, especially where it also improves readability.