Adapt selectstart/selectionchange events to new event structure#16359
Adapt selectstart/selectionchange events to new event structure#16359queengooborg merged 5 commits intomdn:mainfrom
Conversation
83052ff to
36770ab
Compare
|
http://mdn-bcd-collector.appspot.com/tests/api/HTMLElement/selectstart_event was used to confirm support in the following releases:
The earliest versions of Chrome, IE and Safari can't be confirmed with BrowserStack, so the existing data is assumed to be correct. IE had to be bumped to 5 since Node itself wasn't supported before then. The event itself might have been, but it's not worth trying to capture this. |
|
http://mdn-bcd-collector.appspot.com/tests/api/Document/selectionchange_event was used to confirm support in the following releases:
The collector doesn't have these tests, but they would be needed to keep this data up-to-date in the future: |
queengooborg
left a comment
There was a problem hiding this comment.
This is LGTM, just waiting on the content updates!
7ddb459 to
a50eef5
Compare
|
This pull request has merge conflicts that must be resolved before it can be merged. |
|
This pull request has merge conflicts that must be resolved before it can be merged. |
|
This pull request has merge conflicts that must be resolved before it can be merged. |
1 similar comment
|
This pull request has merge conflicts that must be resolved before it can be merged. |
5f49acb to
a768b02
Compare
a768b02 to
8df7d41
Compare
|
@queengooborg might you be able to take care of the content updates for this? I haven't done any event untangling in content, so it'd take me a while to figure out what to keep/remove/rewrite. |
|
This pull request has merge conflicts that must be resolved before it can be merged. |
|
This pull request has merge conflicts that must be resolved before it can be merged. |
|
This pull request has merge conflicts that must be resolved before it can be merged. |
Per https://w3c.github.io/selection-api/#selectstart-event the event target of "selectstart" events is a Node, which will be either an Element or a Text node.
Per https://w3c.github.io/selection-api/#selectionchange-event the event target can be Document, HTMLInputElement or HTMLTextareaElement.
Part of #7545.