[Webkit-unassigned] [Bug 29241] Hiding a focused element should unfocus it and fire a blur event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 22 17:42:53 PDT 2014


Ryosuke Niwa <rniwa at webkit.org> changed:

           What    |Removed                     |Added
                 CC|                            |rniwa at webkit.org

--- Comment #31 from Ryosuke Niwa <rniwa at webkit.org>  2014-05-22 17:43:12 PST ---
Looks like this patch broke facebook.com on iOS.

When the user taps on the status on facebook.com, the page focuses an textarea, which is then made momentarily visible by setting display:none.  The page then removes display:none later and expects the textarea to be still focused.

With this patch, the focus is removed after the page sets display:none and the keyboard disappears.  Since the focus is never reset on the textarea, the user can never type in anything.

The specification may need to change here given that this (rather odd) behavior/expectation exists on one of the most popular websites on the Web.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list