Skip to content
  • tkent@chromium.org's avatar
    Add behavior tests for input[type=date] with multiple fields · 0f04410b
    tkent@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=98480
    
    Reviewed by Kentaro Hara.
    
    * fast/forms/date-multiple-fields/date-multiple-fields-ax-aria-attributes-expected.txt: Added.
    * fast/forms/date-multiple-fields/date-multiple-fields-ax-aria-attributes.html: Added.
    * fast/forms/date-multiple-fields/date-multiple-fields-ax-value-changed-notification-expected.txt: Added.
    * fast/forms/date-multiple-fields/date-multiple-fields-ax-value-changed-notification.html: Added.
    * fast/forms/date-multiple-fields/date-multiple-fields-blur-and-focus-events-expected.txt: Added.
    * fast/forms/date-multiple-fields/date-multiple-fields-blur-and-focus-events.html: Added.
    * fast/forms/date-multiple-fields/date-multiple-fields-keyboard-events-expected.txt:
    * fast/forms/date-multiple-fields/date-multiple-fields-keyboard-events.html:
    * fast/forms/date-multiple-fields/date-multiple-fields-mouse-events-expected.txt: Added.
    * fast/forms/date-multiple-fields/date-multiple-fields-mouse-events.html: Added.
    * fast/forms/date-multiple-fields/date-multiple-fields-preserve-value-after-history-back-expected.txt: Added.
    * fast/forms/date-multiple-fields/date-multiple-fields-preserve-value-after-history-back.html: Added.
    * fast/forms/date-multiple-fields/date-multiple-fields-reset-value-after-reloads-expected.txt: Added.
    * fast/forms/date-multiple-fields/date-multiple-fields-reset-value-after-reloads.html: Added.
    * fast/forms/date-multiple-fields/date-multiple-fields-spinbutton-change-and-input-events-expected.txt: Added.
    * fast/forms/date-multiple-fields/date-multiple-fields-spinbutton-change-and-input-events.html: Copied from LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-spinbutton-change-and-input-events.html.
    * fast/forms/date-multiple-fields/date-multiple-fields-wheel-event-expected.txt: Added.
    * fast/forms/date-multiple-fields/date-multiple-fields-wheel-event.html: Copied from LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-spinbutton-change-and-input-events.html.
    * fast/forms/date/date-reset-value-expected.html: Added.
    * fast/forms/date/date-reset-value.html: Added.
    
    * fast/forms/resources/common-spinbutton-change-and-input-events.js:
    (testSpinButtonChangeAndInputEvents):
    Uses getElementByPseudoId() to obtain spin button position. The date
    type and the time type have their spin button at different positions
    because of a picker indicator triangle.
    * fast/forms/number/number-spinbutton-change-and-input-events.html:
    Need to import comon.js because common-spinbutton-change-and-input-events.js depends on it.
    * fast/forms/time-multiple-fields/time-multiple-fields-spinbutton-change-and-input-events.html:
    Ditto.
    
    * fast/forms/resources/common-wheel-event.js:
    (testWheelEvent): Fix a wrong message.
    * fast/forms/time-multiple-fields/time-multiple-fields-wheel-event-expected.txt: Ditto.
    
    * fast/forms/resources/multiple-fields-blur-and-focus-events.js:
    Added. Move the code from time-multiple-fields-blur-and-focus-events.html.
    * fast/forms/time-multiple-fields/time-multiple-fields-blur-and-focus-events.html:
    Moved the code to multiple-fields-blur-and-focus-events.js.
    
    * platform/chromium/TestExpectations:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    0f04410b