Skip to content

Commit

Permalink
Bug 1655393 - Add WPT for InputEvent.getTargetRanges() r=smaug
Browse files Browse the repository at this point in the history
There are no automated tests for `InputEvent.getTargetRanges()` because it
is set only when `beforeinput` event, but it's defined as not dispatched by
`document.execCommand`.

However, we can synthesize `beforeinput` event with test driver.

On the other hand, the definition in Input Events spec is not clear.
Therefore, most of the tests won't be passed on any browsers for now.
There are some spec issues which I filed:
* w3c/input-events#112
* w3c/input-events#113
* w3c/input-events#114

These new test must be useful when browser vendors discuss the issues.

Differential Revision: https://phabricator.services.mozilla.com/D85527

UltraBlame original commit: 12f21ad909371384939bb38d65cf1dbc797b5bf9
  • Loading branch information
marco-c committed Aug 6, 2020
1 parent 11969a2 commit 101b18c
Show file tree
Hide file tree
Showing 4 changed files with 16,223 additions and 0 deletions.
Loading

0 comments on commit 101b18c

Please sign in to comment.