WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
34620
Changing display type of parent of input on focus causes input field to not receive key events
https://bugs.webkit.org/show_bug.cgi?id=34620
Summary
Changing display type of parent of input on focus causes input field to not r...
Simon Fraser (smfr)
Reported
2010-02-04 15:17:26 PST
Created
attachment 48174
[details]
Reduction See attached testcase; if the focus handler on a text field changes the text field's parent display to inline-block, then the text field loses the ability to receive key events (but it retains focus). This affects the Facebook signup page.
Attachments
Reduction
(572 bytes, text/html)
2010-02-04 15:17 PST
,
Simon Fraser (smfr)
no flags
Details
Patch
(4.96 KB, patch)
2010-02-04 18:38 PST
,
Simon Fraser (smfr)
no flags
Details
Formatted Diff
Diff
Patch
(8.88 KB, patch)
2010-02-04 20:29 PST
,
Simon Fraser (smfr)
mitz: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2010-02-04 15:17:46 PST
<
rdar://problem/7584572
>
Simon Fraser (smfr)
Comment 2
2010-02-04 16:32:28 PST
The problem here is that VisibleSelection.start() keeps pointing to the old m_innerText of the RenderTextControlSingleLine, even after a new one gets created during layout.
Simon Fraser (smfr)
Comment 3
2010-02-04 18:38:22 PST
Created
attachment 48190
[details]
Patch
Simon Fraser (smfr)
Comment 4
2010-02-04 20:08:47 PST
Comment on
attachment 48190
[details]
Patch Mitz points out that Element::attach() goes to some length to avoid calling updateFocusAppearance() directly.
Simon Fraser (smfr)
Comment 5
2010-02-04 20:29:50 PST
Created
attachment 48196
[details]
Patch
Simon Fraser (smfr)
Comment 6
2010-02-05 11:50:47 PST
http://trac.webkit.org/changeset/54438
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