Changeset 259687 in webkit
- Timestamp:
- Apr 7, 2020 4:43:29 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 41 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r259686 r259687 1 2020-04-07 Chris Fleizach <cfleizach@apple.com> 2 3 AX: VoiceOver can't activate combobox when textfield is inside it 4 https://bugs.webkit.org/show_bug.cgi?id=210081 5 6 Reviewed by Joanmarie Diggs. 7 8 * accessibility/activation-of-input-field-inside-other-element-expected.txt: Added. 9 * accessibility/activation-of-input-field-inside-other-element.html: Added. 10 1 11 2020-04-07 Jason Lawrence <lawrence.j@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r259680 r259687 1 2020-04-07 Chris Fleizach <cfleizach@apple.com> 2 3 AX: VoiceOver can't activate combobox when textfield is inside it 4 https://bugs.webkit.org/show_bug.cgi?id=210081 5 6 Reviewed by Joanmarie Diggs. 7 8 Change accessKeyAction to return whether a simulated click event was dispatched. 9 Accessibility uses that information to decide whether it should sent an event afterwards, because 10 some objects accessKeyAction is only to focus(). AX is expected here to press on the object (and possibly focus). 11 12 Test: accessibility/activation-of-input-field-inside-other-element.html 13 14 * accessibility/AccessibilityObject.cpp: 15 (WebCore::AccessibilityObject::press): 16 * dom/Element.h: 17 (WebCore::Element::accessKeyAction): 18 * html/BaseCheckableInputType.cpp: 19 (WebCore::BaseCheckableInputType::accessKeyAction): 20 * html/BaseCheckableInputType.h: 21 * html/BaseChooserOnlyDateAndTimeInputType.cpp: 22 (WebCore::BaseChooserOnlyDateAndTimeInputType::accessKeyAction): 23 * html/BaseChooserOnlyDateAndTimeInputType.h: 24 * html/BaseClickableWithKeyInputType.cpp: 25 (WebCore::BaseClickableWithKeyInputType::accessKeyAction): 26 * html/BaseClickableWithKeyInputType.h: 27 * html/HTMLAnchorElement.cpp: 28 (WebCore::HTMLAnchorElement::accessKeyAction): 29 * html/HTMLAnchorElement.h: 30 * html/HTMLButtonElement.cpp: 31 (WebCore::HTMLButtonElement::accessKeyAction): 32 * html/HTMLButtonElement.h: 33 * html/HTMLElement.cpp: 34 (WebCore::HTMLElement::accessKeyAction): 35 * html/HTMLElement.h: 36 * html/HTMLInputElement.cpp: 37 (WebCore::HTMLInputElement::accessKeyAction): 38 * html/HTMLInputElement.h: 39 * html/HTMLLabelElement.cpp: 40 (WebCore::HTMLLabelElement::accessKeyAction): 41 * html/HTMLLabelElement.h: 42 * html/HTMLLegendElement.cpp: 43 (WebCore::HTMLLegendElement::accessKeyAction): 44 * html/HTMLLegendElement.h: 45 * html/HTMLOptGroupElement.cpp: 46 (WebCore::HTMLOptGroupElement::accessKeyAction): 47 * html/HTMLOptGroupElement.h: 48 * html/HTMLOptionElement.cpp: 49 (WebCore::HTMLOptionElement::accessKeyAction): 50 * html/HTMLOptionElement.h: 51 * html/HTMLSelectElement.cpp: 52 (WebCore::HTMLSelectElement::accessKeyAction): 53 * html/HTMLSelectElement.h: 54 * html/HTMLTextAreaElement.cpp: 55 (WebCore::HTMLTextAreaElement::accessKeyAction): 56 * html/HTMLTextAreaElement.h: 57 * html/HiddenInputType.cpp: 58 (WebCore::HiddenInputType::accessKeyAction): 59 * html/HiddenInputType.h: 60 * html/InputType.cpp: 61 (WebCore::InputType::accessKeyAction): 62 * html/InputType.h: 63 * html/RangeInputType.cpp: 64 (WebCore::RangeInputType::accessKeyAction): 65 * html/RangeInputType.h: 66 * svg/SVGElement.cpp: 67 (WebCore::SVGElement::accessKeyAction): 68 * svg/SVGElement.h: 69 1 70 2020-04-07 Jiewen Tan <jiewen_tan@apple.com> 2 71 -
trunk/Source/WebCore/accessibility/AccessibilityObject.cpp
r259401 r259687 906 906 UserGestureIndicator gestureIndicator(ProcessingUserGesture, document); 907 907 908 bool dispatched TouchEvent = false;908 bool dispatchedEvent = false; 909 909 #if PLATFORM(IOS_FAMILY) 910 910 if (hasTouchEventListener()) 911 dispatched TouchEvent = dispatchTouchEvent();911 dispatchedEvent = dispatchTouchEvent(); 912 912 #endif 913 if (!dispatchedTouchEvent) 914 pressElement->accessKeyAction(true); 915 916 return true; 913 914 return dispatchedEvent || pressElement->accessKeyAction(true) || pressElement->dispatchSimulatedClick(nullptr, SendMouseUpDownEvents); 917 915 } 918 916 -
trunk/Source/WebCore/dom/Element.cpp
r259581 r259687 420 420 } 421 421 422 voidElement::dispatchSimulatedClick(Event* underlyingEvent, SimulatedClickMouseEventOptions eventOptions, SimulatedClickVisualOptions visualOptions)423 { 424 simulateClick(*this, underlyingEvent, eventOptions, visualOptions, SimulatedClickSource::UserAgent);422 bool Element::dispatchSimulatedClick(Event* underlyingEvent, SimulatedClickMouseEventOptions eventOptions, SimulatedClickVisualOptions visualOptions) 423 { 424 return simulateClick(*this, underlyingEvent, eventOptions, visualOptions, SimulatedClickSource::UserAgent); 425 425 } 426 426 -
trunk/Source/WebCore/dom/Element.h
r259557 r259687 382 382 Locale& locale() const; 383 383 384 virtual void accessKeyAction(bool /*sendToAnyEvent*/) {}384 virtual bool accessKeyAction(bool /*sendToAnyEvent*/) { return false; } 385 385 386 386 virtual bool isURLAttribute(const Attribute&) const { return false; } … … 530 530 bool dispatchWheelEvent(const PlatformWheelEvent&); 531 531 bool dispatchKeyEvent(const PlatformKeyboardEvent&); 532 voiddispatchSimulatedClick(Event* underlyingEvent, SimulatedClickMouseEventOptions = SendNoEvents, SimulatedClickVisualOptions = ShowPressedLook);532 bool dispatchSimulatedClick(Event* underlyingEvent, SimulatedClickMouseEventOptions = SendNoEvents, SimulatedClickVisualOptions = ShowPressedLook); 533 533 void dispatchFocusInEvent(const AtomString& eventType, RefPtr<Element>&& oldFocusedElement); 534 534 void dispatchFocusOutEvent(const AtomString& eventType, RefPtr<Element>&& newFocusedElement); -
trunk/Source/WebCore/dom/SimulatedClick.cpp
r254029 r259687 82 82 } 83 83 84 voidsimulateClick(Element& element, Event* underlyingEvent, SimulatedClickMouseEventOptions mouseEventOptions, SimulatedClickVisualOptions visualOptions, SimulatedClickSource creationOptions)84 bool simulateClick(Element& element, Event* underlyingEvent, SimulatedClickMouseEventOptions mouseEventOptions, SimulatedClickVisualOptions visualOptions, SimulatedClickSource creationOptions) 85 85 { 86 86 if (element.isDisabledFormControl()) 87 return ;87 return false; 88 88 89 89 static NeverDestroyed<HashSet<Element*>> elementsDispatchingSimulatedClicks; 90 90 if (!elementsDispatchingSimulatedClicks.get().add(&element).isNewEntry) 91 return ;91 return false; 92 92 93 93 if (mouseEventOptions == SendMouseOverUpDownEvents) … … 104 104 105 105 elementsDispatchingSimulatedClicks.get().remove(&element); 106 return true; 106 107 } 107 108 -
trunk/Source/WebCore/dom/SimulatedClick.h
r208179 r259687 38 38 }; 39 39 40 voidsimulateClick(Element&, Event* underlyingEvent, SimulatedClickMouseEventOptions, SimulatedClickVisualOptions, SimulatedClickSource);40 bool simulateClick(Element&, Event* underlyingEvent, SimulatedClickMouseEventOptions, SimulatedClickVisualOptions, SimulatedClickSource); 41 41 42 42 } // namespace WebCore -
trunk/Source/WebCore/html/BaseCheckableInputType.cpp
r246490 r259687 92 92 93 93 // FIXME: Could share this with BaseClickableWithKeyInputType and RangeInputType if we had a common base class. 94 voidBaseCheckableInputType::accessKeyAction(bool sendMouseEvents)94 bool BaseCheckableInputType::accessKeyAction(bool sendMouseEvents) 95 95 { 96 InputType::accessKeyAction(sendMouseEvents);97 98 96 ASSERT(element()); 99 element()->dispatchSimulatedClick(0, sendMouseEvents ? SendMouseUpDownEvents : SendNoEvents);97 return InputType::accessKeyAction(sendMouseEvents) || element()->dispatchSimulatedClick(0, sendMouseEvents ? SendMouseUpDownEvents : SendNoEvents); 100 98 } 101 99 -
trunk/Source/WebCore/html/BaseCheckableInputType.h
r242518 r259687 48 48 void handleKeypressEvent(KeyboardEvent&) override; 49 49 bool canSetStringValue() const override; 50 voidaccessKeyAction(bool sendMouseEvents) override;50 bool accessKeyAction(bool sendMouseEvents) override; 51 51 String fallbackValue() const override; 52 52 bool storesValueSeparateFromAttribute() override; -
trunk/Source/WebCore/html/BaseChooserOnlyDateAndTimeInputType.cpp
r246490 r259687 131 131 } 132 132 133 voidBaseChooserOnlyDateAndTimeInputType::accessKeyAction(bool sendMouseEvents)133 bool BaseChooserOnlyDateAndTimeInputType::accessKeyAction(bool sendMouseEvents) 134 134 { 135 135 BaseDateAndTimeInputType::accessKeyAction(sendMouseEvents); 136 136 ASSERT(element()); 137 BaseClickableWithKeyInputType::accessKeyAction(*element(), sendMouseEvents);137 return BaseClickableWithKeyInputType::accessKeyAction(*element(), sendMouseEvents); 138 138 } 139 139 -
trunk/Source/WebCore/html/BaseChooserOnlyDateAndTimeInputType.h
r242518 r259687 53 53 void handleKeypressEvent(KeyboardEvent&) override; 54 54 void handleKeyupEvent(KeyboardEvent&) override; 55 voidaccessKeyAction(bool sendMouseEvents) override;55 bool accessKeyAction(bool sendMouseEvents) override; 56 56 bool isMouseFocusable() const override; 57 57 void attributeChanged(const QualifiedName&) override; -
trunk/Source/WebCore/html/BaseClickableWithKeyInputType.cpp
r242518 r259687 76 76 77 77 // FIXME: Could share this with BaseCheckableInputType and RangeInputType if we had a common base class. 78 voidBaseClickableWithKeyInputType::accessKeyAction(HTMLInputElement& element, bool sendMouseEvents)78 bool BaseClickableWithKeyInputType::accessKeyAction(HTMLInputElement& element, bool sendMouseEvents) 79 79 { 80 element.dispatchSimulatedClick(0, sendMouseEvents ? SendMouseUpDownEvents : SendNoEvents);80 return element.dispatchSimulatedClick(0, sendMouseEvents ? SendMouseUpDownEvents : SendNoEvents); 81 81 } 82 82 … … 98 98 } 99 99 100 voidBaseClickableWithKeyInputType::accessKeyAction(bool sendMouseEvents)100 bool BaseClickableWithKeyInputType::accessKeyAction(bool sendMouseEvents) 101 101 { 102 102 InputType::accessKeyAction(sendMouseEvents); 103 103 ASSERT(element()); 104 accessKeyAction(*element(), sendMouseEvents);104 return accessKeyAction(*element(), sendMouseEvents); 105 105 } 106 106 -
trunk/Source/WebCore/html/BaseClickableWithKeyInputType.h
r242518 r259687 41 41 static void handleKeypressEvent(HTMLInputElement&, KeyboardEvent&); 42 42 static void handleKeyupEvent(InputType&, KeyboardEvent&); 43 static voidaccessKeyAction(HTMLInputElement&, bool sendMouseEvents);43 static bool accessKeyAction(HTMLInputElement&, bool sendMouseEvents); 44 44 45 45 protected: … … 50 50 void handleKeypressEvent(KeyboardEvent&) override; 51 51 void handleKeyupEvent(KeyboardEvent&) override; 52 voidaccessKeyAction(bool sendMouseEvents) override;52 bool accessKeyAction(bool sendMouseEvents) override; 53 53 }; 54 54 -
trunk/Source/WebCore/html/HTMLAnchorElement.cpp
r258140 r259687 275 275 } 276 276 277 voidHTMLAnchorElement::accessKeyAction(bool sendMouseEvents)278 { 279 dispatchSimulatedClick(0, sendMouseEvents ? SendMouseUpDownEvents : SendNoEvents);277 bool HTMLAnchorElement::accessKeyAction(bool sendMouseEvents) 278 { 279 return dispatchSimulatedClick(0, sendMouseEvents ? SendMouseUpDownEvents : SendNoEvents); 280 280 } 281 281 -
trunk/Source/WebCore/html/HTMLAnchorElement.h
r257707 r259687 89 89 void defaultEventHandler(Event&) final; 90 90 void setActive(bool active = true, bool pause = false) final; 91 voidaccessKeyAction(bool sendMouseEvents) final;91 bool accessKeyAction(bool sendMouseEvents) final; 92 92 bool isURLAttribute(const Attribute&) const final; 93 93 bool canStartSelection() const final; -
trunk/Source/WebCore/html/HTMLButtonElement.cpp
r248914 r259687 212 212 } 213 213 214 voidHTMLButtonElement::accessKeyAction(bool sendMouseEvents)214 bool HTMLButtonElement::accessKeyAction(bool sendMouseEvents) 215 215 { 216 216 focus(); 217 217 218 dispatchSimulatedClick(0, sendMouseEvents ? SendMouseUpDownEvents : SendNoEvents);218 return dispatchSimulatedClick(0, sendMouseEvents ? SendMouseUpDownEvents : SendNoEvents); 219 219 } 220 220 -
trunk/Source/WebCore/html/HTMLButtonElement.h
r249194 r259687 69 69 void setActivatedSubmit(bool flag) final; 70 70 71 voidaccessKeyAction(bool sendMouseEvents) final;71 bool accessKeyAction(bool sendMouseEvents) final; 72 72 bool isURLAttribute(const Attribute&) const final; 73 73 -
trunk/Source/WebCore/html/HTMLElement.cpp
r257188 r259687 706 706 } 707 707 708 voidHTMLElement::accessKeyAction(bool sendMouseEvents)709 { 710 dispatchSimulatedClick(nullptr, sendMouseEvents ? SendMouseUpDownEvents : SendNoEvents);708 bool HTMLElement::accessKeyAction(bool sendMouseEvents) 709 { 710 return dispatchSimulatedClick(nullptr, sendMouseEvents ? SendMouseUpDownEvents : SendNoEvents); 711 711 } 712 712 -
trunk/Source/WebCore/html/HTMLElement.h
r257188 r259687 67 67 WEBCORE_EXPORT void click(); 68 68 69 voidaccessKeyAction(bool sendMouseEvents) override;69 bool accessKeyAction(bool sendMouseEvents) override; 70 70 71 71 RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) override; -
trunk/Source/WebCore/html/HTMLInputElement.cpp
r259402 r259687 667 667 } 668 668 669 voidHTMLInputElement::accessKeyAction(bool sendMouseEvents)669 bool HTMLInputElement::accessKeyAction(bool sendMouseEvents) 670 670 { 671 671 Ref<InputType> protectedInputType(*m_inputType); 672 protectedInputType->accessKeyAction(sendMouseEvents);672 return protectedInputType->accessKeyAction(sendMouseEvents); 673 673 } 674 674 -
trunk/Source/WebCore/html/HTMLInputElement.h
r259402 r259687 392 392 bool canStartSelection() const final; 393 393 394 voidaccessKeyAction(bool sendMouseEvents) final;394 bool accessKeyAction(bool sendMouseEvents) final; 395 395 396 396 void parseAttribute(const QualifiedName&, const AtomString&) final; -
trunk/Source/WebCore/html/HTMLLabelElement.cpp
r249194 r259687 190 190 } 191 191 192 voidHTMLLabelElement::accessKeyAction(bool sendMouseEvents)193 { 194 if (auto element = control()) 195 element->accessKeyAction(sendMouseEvents);196 else 197 192 bool HTMLLabelElement::accessKeyAction(bool sendMouseEvents) 193 { 194 if (auto element = control()) 195 return element->accessKeyAction(sendMouseEvents); 196 197 return HTMLElement::accessKeyAction(sendMouseEvents); 198 198 } 199 199 -
trunk/Source/WebCore/html/HTMLLabelElement.h
r249194 r259687 43 43 bool isEventTargetedAtInteractiveDescendants(Event&) const; 44 44 45 voidaccessKeyAction(bool sendMouseEvents) final;45 bool accessKeyAction(bool sendMouseEvents) final; 46 46 47 47 // Overridden to update the hover/active state of the corresponding control. -
trunk/Source/WebCore/html/HTMLLegendElement.cpp
r229694 r259687 73 73 } 74 74 75 voidHTMLLegendElement::accessKeyAction(bool sendMouseEvents)75 bool HTMLLegendElement::accessKeyAction(bool sendMouseEvents) 76 76 { 77 77 if (auto control = associatedControl()) 78 control->accessKeyAction(sendMouseEvents); 78 return control->accessKeyAction(sendMouseEvents); 79 return false; 79 80 } 80 81 -
trunk/Source/WebCore/html/HTMLLegendElement.h
r229694 r259687 43 43 RefPtr<HTMLFormControlElement> associatedControl(); 44 44 45 voidaccessKeyAction(bool sendMouseEvents) final;45 bool accessKeyAction(bool sendMouseEvents) final; 46 46 void focus(bool restorePreviousSelection, FocusDirection) final; 47 47 }; -
trunk/Source/WebCore/html/HTMLOptGroupElement.cpp
r257188 r259687 113 113 } 114 114 115 voidHTMLOptGroupElement::accessKeyAction(bool)115 bool HTMLOptGroupElement::accessKeyAction(bool) 116 116 { 117 117 RefPtr<HTMLSelectElement> select = ownerSelectElement(); 118 118 // send to the parent to bring focus to the list box 119 119 if (select && !select->focused()) 120 select->accessKeyAction(false); 120 return select->accessKeyAction(false); 121 return false; 121 122 } 122 123 -
trunk/Source/WebCore/html/HTMLOptGroupElement.h
r246490 r259687 50 50 void childrenChanged(const ChildChange&) final; 51 51 52 voidaccessKeyAction(bool sendMouseEvents) final;52 bool accessKeyAction(bool sendMouseEvents) final; 53 53 54 54 void recalcSelectOptions(); -
trunk/Source/WebCore/html/HTMLOptionElement.cpp
r257199 r259687 136 136 } 137 137 138 voidHTMLOptionElement::accessKeyAction(bool)138 bool HTMLOptionElement::accessKeyAction(bool) 139 139 { 140 140 RefPtr<HTMLSelectElement> select = ownerSelectElement(); 141 if (select) 141 if (select) { 142 142 select->accessKeySetSelectedIndex(index()); 143 return true; 144 } 145 return false; 143 146 } 144 147 -
trunk/Source/WebCore/html/HTMLOptionElement.h
r257188 r259687 73 73 74 74 InsertedIntoAncestorResult insertedIntoAncestor(InsertionType, ContainerNode&) final; 75 voidaccessKeyAction(bool) final;75 bool accessKeyAction(bool) final; 76 76 77 77 void childrenChanged(const ChildChange&) final; -
trunk/Source/WebCore/html/HTMLSelectElement.cpp
r257839 r259687 391 391 } 392 392 393 voidHTMLSelectElement::accessKeyAction(bool sendMouseEvents)393 bool HTMLSelectElement::accessKeyAction(bool sendMouseEvents) 394 394 { 395 395 focus(); 396 dispatchSimulatedClick(0, sendMouseEvents ? SendMouseUpDownEvents : SendNoEvents);396 return dispatchSimulatedClick(0, sendMouseEvents ? SendMouseUpDownEvents : SendNoEvents); 397 397 } 398 398 -
trunk/Source/WebCore/html/HTMLSelectElement.h
r249194 r259687 74 74 WEBCORE_EXPORT const Vector<HTMLElement*>& listItems() const; 75 75 76 voidaccessKeyAction(bool sendMouseEvents) final;76 bool accessKeyAction(bool sendMouseEvents) final; 77 77 void accessKeySetSelectedIndex(int); 78 78 -
trunk/Source/WebCore/html/HTMLTextAreaElement.cpp
r259401 r259687 501 501 } 502 502 503 voidHTMLTextAreaElement::accessKeyAction(bool)503 bool HTMLTextAreaElement::accessKeyAction(bool) 504 504 { 505 505 focus(); 506 return false; 506 507 } 507 508 -
trunk/Source/WebCore/html/HTMLTextAreaElement.h
r249194 r259687 121 121 void updateFocusAppearance(SelectionRestorationMode, SelectionRevealMode) final; 122 122 123 voidaccessKeyAction(bool sendMouseEvents) final;123 bool accessKeyAction(bool sendMouseEvents) final; 124 124 125 125 bool shouldUseInputMethod() final; -
trunk/Source/WebCore/html/HiddenInputType.cpp
r246490 r259687 74 74 } 75 75 76 voidHiddenInputType::accessKeyAction(bool)76 bool HiddenInputType::accessKeyAction(bool) 77 77 { 78 return false; 78 79 } 79 80 -
trunk/Source/WebCore/html/HiddenInputType.h
r249194 r259687 45 45 bool supportsValidation() const override; 46 46 RenderPtr<RenderElement> createInputRenderer(RenderStyle&&) override; 47 voidaccessKeyAction(bool sendMouseEvents) override;47 bool accessKeyAction(bool sendMouseEvents) override; 48 48 bool rendererIsNeeded() override; 49 49 bool storesValueSeparateFromAttribute() override; -
trunk/Source/WebCore/html/InputType.cpp
r259402 r259687 593 593 } 594 594 595 voidInputType::accessKeyAction(bool)595 bool InputType::accessKeyAction(bool) 596 596 { 597 597 ASSERT(element()); 598 598 element()->focus(false); 599 return false; 599 600 } 600 601 -
trunk/Source/WebCore/html/InputType.h
r259402 r259687 206 206 virtual void handleFocusEvent(Node* oldFocusedNode, FocusDirection); 207 207 virtual void handleBlurEvent(); 208 virtual voidaccessKeyAction(bool sendMouseEvents);208 virtual bool accessKeyAction(bool sendMouseEvents); 209 209 virtual bool canBeSuccessfulSubmitButton(); 210 210 virtual void subtreeHasChanged(); -
trunk/Source/WebCore/html/RangeInputType.cpp
r259402 r259687 316 316 317 317 // FIXME: Could share this with BaseClickableWithKeyInputType and BaseCheckableInputType if we had a common base class. 318 void RangeInputType::accessKeyAction(bool sendMouseEvents) 319 { 320 InputType::accessKeyAction(sendMouseEvents); 321 322 if (auto* element = this->element()) 323 element->dispatchSimulatedClick(0, sendMouseEvents ? SendMouseUpDownEvents : SendNoEvents); 318 bool RangeInputType::accessKeyAction(bool sendMouseEvents) 319 { 320 auto* element = this->element(); 321 return InputType::accessKeyAction(sendMouseEvents) || (element && element->dispatchSimulatedClick(0, sendMouseEvents ? SendMouseUpDownEvents : SendNoEvents)); 324 322 } 325 323 -
trunk/Source/WebCore/html/RangeInputType.h
r259402 r259687 57 57 Decimal parseToNumber(const String&, const Decimal&) const final; 58 58 String serialize(const Decimal&) const final; 59 voidaccessKeyAction(bool sendMouseEvents) final;59 bool accessKeyAction(bool sendMouseEvents) final; 60 60 void attributeChanged(const QualifiedName&) final; 61 61 void setValue(const String&, bool valueChanged, TextFieldEventBehavior) final; -
trunk/Source/WebCore/svg/SVGElement.cpp
r259031 r259687 936 936 } 937 937 938 voidSVGElement::accessKeyAction(bool sendMouseEvents)939 { 940 dispatchSimulatedClick(0, sendMouseEvents ? SendMouseUpDownEvents : SendNoEvents);938 bool SVGElement::accessKeyAction(bool sendMouseEvents) 939 { 940 return dispatchSimulatedClick(0, sendMouseEvents ? SendMouseUpDownEvents : SendNoEvents); 941 941 } 942 942 -
trunk/Source/WebCore/svg/SVGElement.h
r258464 r259687 180 180 181 181 void buildPendingResourcesIfNeeded(); 182 voidaccessKeyAction(bool sendMouseEvents) override;182 bool accessKeyAction(bool sendMouseEvents) override; 183 183 184 184 #ifndef NDEBUG
Note: See TracChangeset
for help on using the changeset viewer.