This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
We need to make it very explicit these methods can return an Element-derived class. See also 20485 comment 6.
Bug 20485 comment 6.
https://github.com/whatwg/dom/commit/84697097adb7aeb68ff0a3d80f079a9d733c62b2