Spec element.setCapture / document.releaseCapture
Posted from: 220.127.116.11 by email@example.com
User agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0a1) Gecko/20111001 Firefox/10.0a1
Seems to be done elsewhere now.
I don't see how it specs setCapture/releaseCapture.
It seems to suggest that it is not going to be defined and remains Gecko proprietary. In any event, it's not going to be done in the DOM specification I think.
(In reply to comment #4)
> In any event, it's not going to be done in the DOM specification I think.
Agreed. Mike was so kind to create an orphanage for this bug.
Who else implements this? If it's just Firefox, should we file a bug on Gecko to drop it?
Not sure what action is needed from me on this.
Why is this marked as RESOLVED?
I can not find any spec, describing setCapture/releaseCapture.
(In reply to Danil Kostin from comment #8)
> Why is this marked as RESOLVED?
> I can not find any spec, describing setCapture/releaseCapture.
It's marked as NEEDSINFO until somebody expresses willingness to take some concrete action on it; e.g., somebody decides to implement it in a UA other than Gecko, or somebody volunteers to write a spec for it, or Gecko drops it for lack of other implementations.
(In reply to Ian 'Hixie' Hickson from comment #6)
> Who else implements this?
Apparently IE does. And IE had it before Gecko, which is part of why Gecko implemented it. See the following message from 2008 (from you...) where you're asking for info about setCapture() on the whatwg and public-webapps lists:
Would it be possible to add setCapture() (as supported in IE; see below)
to DOM3 Events? It seems more appropriate to have it there than in HTML5.
Note that I don't think we'd need releaseCapture(); we should just say
that capture is canceled when the mouse is released if it was captured.
This gets around the problem of unbalanced set/release.
You got no responses at all to that message, as far as I can tell.
Afterward, Gecko went ahead and implemented it:
And see https://bugzilla.mozilla.org/show_bug.cgi?id=503943#c4
> If it's just Firefox, should we file a bug on Gecko to drop it?
I doubt Mozilla is going to want to drop it, given that at the time they implemented they were well aware that there was no spec and nobody other than IE had it and nobody else was planning to implement it.