2010-08-19 Kenichi Ishibashi <bashi@google.com>
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Aug 2010 03:37:28 +0000 (03:37 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Aug 2010 03:37:28 +0000 (03:37 +0000)
commitcb27dd2a6adec8131a0954413f5e291c1d68d9fd
treee11b2f09b3a0c13895304befd5811f4c0143bb78
parentb00789a263f294ac73ca33fdc5d801d75f42a617
2010-08-19  Kenichi Ishibashi  <bashi@google.com>

        Reviewed by Kent Tamura.

        Improve portability of fast/forms/listbox-selection.html
        https://bugs.webkit.org/show_bug.cgi?id=35786

        Changed to use script-tests style for improving portability.
        - For sending mouse events to the target element, calculating the
        item height at runtime instead using Mac-specific metrics.
        - Using mouseDown(), mouseUp(), and keyDown() to send events with
        modifier keys in a platform-independent way.

        * fast/forms/listbox-selection-expected.txt: Updated to match with new test.
        * fast/forms/listbox-selection.html: Modified to use script-tests style.
        * fast/forms/script-tests/listbox-selection.js: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65723 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/forms/listbox-selection-expected.txt
LayoutTests/fast/forms/listbox-selection.html
LayoutTests/fast/forms/script-tests/listbox-selection.js [new file with mode: 0644]