confluence icon indicating copy to clipboard operation
confluence copied to clipboard

document.execCommand is not a Firefox-specific API

Open bzbarsky opened this issue 8 years ago • 5 comments

It's claimed to be such by confluence, but it exists in all browsers and is needed for web compat.

bzbarsky avatar Nov 07 '17 15:11 bzbarsky

And same thing for getElementsByName....

bzbarsky avatar Nov 07 '17 15:11 bzbarsky

And probably most if not all of the queryCommand* bits.

bzbarsky avatar Nov 07 '17 15:11 bzbarsky

The problem is that execCommand and getElementsByName is on HTMLDocument in Gecko, and on Document everywhere else. In other words, part of this mess: https://github.com/whatwg/dom/issues/221

foolip avatar Jan 11 '18 12:01 foolip

This is the sort of thing that would be nice to be able to "annotate API bindings" with. Unfortunately, we don't have the resources to even roadmap that feature at this point :crying_cat_face:

mdittmer avatar Jan 11 '18 14:01 mdittmer

@mdittmer, do you mean the ability to add comments to APIs, or some merging of prototypes in this case?

foolip avatar Jan 14 '18 12:01 foolip