This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
See https://bugzilla.mozilla.org/show_bug.cgi?id=1266932#c11
The spec says "return the associated element" (and "append the associated element" for elementsFromPoint). The IDL also makes it clear that these can only returns elements.