[Webkit-unassigned] [Bug 141758] Finding an option in a select element shouldn't be reset when the user types a space
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jun 16 09:48:02 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=141758
--- Comment #6 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
Potential merge - https://src.chromium.org/viewvc/blink?view=revision&revision=193280
^ I merged locally with following changes:
< In HTMLSelectElement.cpp >
Line 1245:
if ((keyCode == ' ' && !m_typeAhead.hasActiveSession(&keyboardEvent)) || keyCode == '\r') {
in HTMLSelectElement::menuListDefaultEventHandler.
_______
< In TypeAhead.h >
bool hasActiveSession(KeyboardEvent*);
_____
< In TypeAhead.cpp >
bool TypeAhead::hasActiveSession(KeyboardEvent* event)
{
Seconds delta = event->timeStamp() - m_lastTypeTime;
return delta <= typeAheadTimeout;
}
______
This compiles but it does not fixed attached testcase. :-(
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230616/c140cccb/attachment.htm>
More information about the webkit-unassigned
mailing list