Try to reduce the flakiness of 4 :hover tests.
    
Based on what is currently done throughout the LayoutTests/, there
are 2 ways to reduce the flakiness of a :hover test:
* Force layout before and after moving the mouse (especially since
some tests claim that we don't track the mouse before first layout).
* Force a click after moving the mouse.

This change implements the first option as the second one didn't work
for these tests (I remember that it helped in webkit.org/b/81460
though).

Review URL: https://chromiumcodereview.appspot.com/15373002

git-svn-id: svn://svn.chromium.org/blink/trunk@150693 bbb929c8-8fbe-4397-9dbb-9b2b20218538
5 files changed