Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4d6199e554199dbc1904116f697d8b4caaade059
      
https://github.com/WebKit/WebKit/commit/4d6199e554199dbc1904116f697d8b4caaade059
  Author: Nipun Shukla <[email protected]>
  Date:   2026-02-20 (Fri, 20 Feb 2026)

  Changed paths:
    A 
LayoutTests/fast/forms/date/date-editable-components/date-readonly-picker-does-not-open-on-space-keypress-expected.txt
    A 
LayoutTests/fast/forms/date/date-editable-components/date-readonly-picker-does-not-open-on-space-keypress.html
    M Source/WebCore/html/BaseDateAndTimeInputType.cpp

  Log Message:
  -----------
  Readonly date input can be edited via keyboard
https://bugs.webkit.org/show_bug.cgi?id=306307
rdar://169488939

Reviewed by Ryosuke Niwa.

Fix readonly date input picker opening via space key by adding
an isMutable() guard to didReceiveSpaceKeyFromControl(),
matching the existing guards in handleDOMActivateEvent()
and handleAccessibilityActivation().

Test: 
fast/forms/date/date-editable-components/date-readonly-picker-does-not-open-on-space-keypress.html

* 
LayoutTests/fast/forms/date/date-editable-components/date-readonly-picker-does-not-open-on-space-keypress-expected.txt:
 Added.
* 
LayoutTests/fast/forms/date/date-editable-components/date-readonly-picker-does-not-open-on-space-keypress.html:
 Added.
* Source/WebCore/html/BaseDateAndTimeInputType.cpp:
(WebCore::BaseDateAndTimeInputType::didReceiveSpaceKeyFromControl):

Canonical link: https://commits.webkit.org/307934@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to