WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 112992
Bug 116925
A focused element should lose focus when it becomes unfocusable
https://bugs.webkit.org/show_bug.cgi?id=116925
Summary
A focused element should lose focus when it becomes unfocusable
Ryosuke Niwa
Reported
2013-05-29 00:34:38 PDT
Consider merging
https://chromium.googlesource.com/chromium/blink/+/c58f636fd18fc27944c42e27d6a92a36867c57e1
According to the specification, we should remove focus when a focused element becomes unforcusable, and Internet Explorer follows it. We check focusable state after layout asynchronously because setFocusedNode(0) dispatches synchronous events and callers of Document::updateLayout don't expect DOM state changes. Also, we introduce m_didPostCheckFocusedNodeTask flag to avoid duplicated tasks in the pending task queue.
Attachments
Add attachment
proposed patch, testcase, etc.
Kent Tamura
Comment 1
2013-05-29 01:00:16 PDT
*** This bug has been marked as a duplicate of
bug 112992
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug