-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refine description of when CapturedMouseEvent events are dispatched #10
Conversation
w3c/mediacapture-screen-share#269 will be discussed in the June interim session of the WebRTC WG. Having spoken to the people from Apple and Mozilla, I believe there's a good chance we'll merge that PR. (It would be helpful if you could attend the meeting and voice your support. IIANM, Igalia is a W3C member.) Based on that, I suggest that we wait with this PR. Wdys? |
@eladalon1983 Thanks for contacting people. Sure, let's wait before considering this PR. I should be able to attend the meeting. |
@eladalon1983 Can you please check this one again now that w3c/mediacapture-screen-share#269 is merged? |
I guess these events are slightly unusual (though not terribly), in that the trigger for them is not something within the current spec. Could you please help me out by referring me to a precedent or principle about where events of this type should be defined? |
So to explain this PR I was trying to follow what is done in MediaCapture spec: First for the definition of the event handler attribute (
In MediaCapture spec, the links to event types are located in the Event summary section with a table indicating on which object the event fires, the interface and when it events are fired. I was initially considering something similar for this spec, but I noticed that the section is "non-normative" and moreover we only have one event for now in our spec... Looking to other references to this event summary table or to the word "fire" in MediaCapture spec, one can find several places where the events are said to be fired (e.g. here for ended). In particular there is a generic Firing a track event named e inside the This PR is a small iteration to improve the current situation:
I guess a further improvement would be to have a "Firing a capturedmousechange" definition in the |
d6333dc
to
9aa51d5
Compare
address review feedback
Preview | Diff