AX: AOM does not work with DOM Level 1 events
authorn_wang@apple.com <n_wang@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 21 Apr 2018 06:56:29 +0000 (06:56 +0000)
committern_wang@apple.com <n_wang@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 21 Apr 2018 06:56:29 +0000 (06:56 +0000)
commitfcfc10276791df127bb4f11fa7ec4e81a081c8e1
treebe63ee61b2d86f2d4f837a6324b6cfdb733c7eda
parentbc3e3e81892dcefc5fa266d0d0b7c793f52ebb55
AX: AOM does not work with DOM Level 1 events
https://bugs.webkit.org/show_bug.cgi?id=184847

Reviewed by Chris Fleizach.

Source/WebCore:

Added the accessibility events to the HTML attribute names.

Test cases are added to the existing layout tests.

* html/HTMLAttributeNames.in:
* html/HTMLElement.cpp:
(WebCore::HTMLElement::createEventHandlerNameMap):

LayoutTests:

* accessibility/ios-simulator/AOM-dismiss-event-expected.txt:
* accessibility/ios-simulator/AOM-dismiss-event.html:
* accessibility/mac/AOM-event-accessiblesetvalue-expected.txt:
* accessibility/mac/AOM-event-accessiblesetvalue.html:
* accessibility/mac/AOM-events-all-expected.txt:
* accessibility/mac/AOM-events-all.html:
* accessibility/mac/AOM-events-expected.txt:
* accessibility/mac/AOM-events.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@230890 268f45cc-cd09-0410-ab3c-d52691b4dbfc
12 files changed:
LayoutTests/ChangeLog
LayoutTests/accessibility/ios-simulator/AOM-dismiss-event-expected.txt
LayoutTests/accessibility/ios-simulator/AOM-dismiss-event.html
LayoutTests/accessibility/mac/AOM-event-accessiblesetvalue-expected.txt
LayoutTests/accessibility/mac/AOM-event-accessiblesetvalue.html
LayoutTests/accessibility/mac/AOM-events-all-expected.txt
LayoutTests/accessibility/mac/AOM-events-all.html
LayoutTests/accessibility/mac/AOM-events-expected.txt
LayoutTests/accessibility/mac/AOM-events.html
Source/WebCore/ChangeLog
Source/WebCore/html/HTMLAttributeNames.in
Source/WebCore/html/HTMLElement.cpp