Created attachment 1081 [details]
WebIDL now has union types: <http://dev.w3.org/2006/webapi/WebIDL/#idl-union>, which are often a better alternative for overloading. Patch to use them attached.
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
Change Description: see diff given below
Rationale: Concurred with reporter's comments.
Checked in as WHATWG revision r7002.
Check-in comment: Use union types in the IDL blocks where possible.