AXSelected attribute on RadioButton should not be settable.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 19 Jan 2019 23:31:43 +0000 (23:31 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 19 Jan 2019 23:31:43 +0000 (23:31 +0000)
commitc94d7af94ecd640bb92ac1d52cb60af00140b525
tree83b530b447c29194be070d44aba708d8561eb72d
parentb5ed3ce71d2e8413247549d2274e71b1515932fe
AXSelected attribute on RadioButton should not be settable.
https://bugs.webkit.org/show_bug.cgi?id=193371

Patch by Eric Liang <ericliang@apple.com> on 2019-01-19
Reviewed by Chris Fleizach.

Source/WebCore:

Test: accessibility/set-selected-editable.html

* accessibility/AccessibilityNodeObject.cpp:
(WebCore::AccessibilityNodeObject::canSetSelectedAttribute const):

LayoutTests:

This change make RadioButton AXSelected attribute no-settable. If this attribute is not writable, then the trackpad should work correctly.

* accessibility/set-selected-editable-expected.txt: Added.
* accessibility/set-selected-editable.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@240205 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/accessibility/set-selected-editable-expected.txt [new file with mode: 0644]
LayoutTests/accessibility/set-selected-editable.html [new file with mode: 0644]
LayoutTests/platform/win/TestExpectations
Source/WebCore/ChangeLog
Source/WebCore/accessibility/AccessibilityNodeObject.cpp