Closed Bug 973223 Opened 11 years ago Closed 7 years ago

Add browser compatibility info for Element.prototype.setCapture

Categories

(Developer Documentation Graveyard :: API: DOM, defect, P3)

All
Other
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mstange, Unassigned)

References

(Depends on 1 open bug, )

Details

:: Developer Documentation Request Request Type: Correction Gecko Version: unspecified Technical Contact: :: Details The documentation for setCapture doesn't mention browser support anywhere, as far as I can see. It looks like Chrome doesn't support it, at least (which took me by surprise).
It looks like a non-standard feature. I'd argue to remove it from Gecko (at least from content) if it's the only one supporting it. Thoughts Anne, Boris?
Flags: needinfo?(bzbarsky)
Flags: needinfo?(annevk)
Summary: Add browser compatibility info for Element.setCapture → Add browser compatibility info for Element.prototype.setCapture
Depends on: 973604
No longer depends on: 973604
Flags: needinfo?(bzbarsky)
Flags: needinfo?(annevk)
Depends on: 973604
Assignee: bruant.d → nobody
Priority: P5 → P3
Whiteboard: c=DOM u=webdev p=0
Hiya, I am currently looking for bugs to fix as part of my Open Source Development module at Coventry University and I am interested in developing this bug. Please could you assign this task to me and give me more information. This is my first bug fix and any help would be appreciated. Thank you.
I've added a warning to the page pointing to the setPointerCapture API that seems to have superseded this, and put in a check in the example to (attempt) a more graceful warning if there is no browser implementation. This was after I wasted a load of time because this came up first on a google for "capture mouse". Apologies if this isn't the usual way this is done; I couldn't find any other good examples to go off, but the example had been broken for the past year by somebody commenting out the parts that didn't work on their browser and so felt something needed to change.
Data was added, so closing.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.