There are many WPT subtests which validate how we behave against frames
that have been removed. They do this by adding an iframe element with a
button whose click action removes the iframe element. When the click is
dispatched, the spec would have us generate a mouse event relative to
that iframe, rather than the top-level frame, thus the click would miss
the target button.
Serendipitously, a spec issue and PR were just opened to generate mouse
events relative to the top-level frame. This patch implements that PR;
it has some editorial issues to be resolved, but is a clear improvement
for these tests.
(cherry picked from commit 0042bbb68d906a557ddc614392075a961531c917)
This implements execution of the pointer up, pointer down, and pointer
move actions.
This isn't 100% complete. Pointer move actions are supposed to break
the move into iterations over the specified duration, which we currently
do not do.
(cherry picked from commit 8000837f7821fe9854156c7ae1349d37c77e89b2)
There's a lot of parsing involved in action extraction. So this patch
implements only that - actually executing actions will be a future
patch.
(cherry picked from commit 6cf7d07a989bb6d7ddc897a444053deef7192c9c)