RESOLVED INVALID 90462
[BlackBerry] Touch hold on input field does trigger selection for some special cases
https://bugs.webkit.org/show_bug.cgi?id=90462
Summary [BlackBerry] Touch hold on input field does trigger selection for some specia...
Yongxin Dai
Reported 2012-07-03 08:06:32 PDT
Node::canStartSelection() can return false on the host node of the selectable input text field for some special cases.
Attachments
Patch (2.17 KB, patch)
2012-07-03 08:52 PDT, Yongxin Dai
no flags
Patch (2.18 KB, patch)
2012-07-03 08:58 PDT, Yongxin Dai
no flags
Patch (2.19 KB, patch)
2012-07-03 09:53 PDT, Yongxin Dai
no flags
Patch (2.17 KB, patch)
2012-07-03 11:34 PDT, Yongxin Dai
no flags
Yongxin Dai
Comment 1 2012-07-03 08:52:24 PDT
Antonio Gomes
Comment 2 2012-07-03 08:56:55 PDT
Comment on attachment 150620 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=150620&action=review could you confirm the original problem fixed by the code you are changing does not regress? > Source/WebKit/blackberry/ChangeLog:6 > + Reviewed by Antonio Gomes. I have not reviewed it :) Tools can fill it up for you
Yongxin Dai
Comment 3 2012-07-03 08:58:57 PDT
Yongxin Dai
Comment 4 2012-07-03 09:53:22 PDT
Rob Buis
Comment 5 2012-07-03 10:00:43 PDT
Comment on attachment 150631 [details] Patch LGTM.
Yongxin Dai
Comment 6 2012-07-03 10:24:43 PDT
I can confirm the original problem fixed by the code. I tested the fix with various text input fields in past 2 days. I haven't found problem yet. ( (In reply to comment #2) > (From update of attachment 150620 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=150620&action=review > > could you confirm the original problem fixed by the code you are changing does not regress? > > > Source/WebKit/blackberry/ChangeLog:6 > > + Reviewed by Antonio Gomes. > > I have not reviewed it :) > > Tools can fill it up for you
Rob Buis
Comment 7 2012-07-03 10:25:40 PDT
Comment on attachment 150631 [details] Patch It turns out the question Antonio asked still needs to be answered. Also the ChangeLog can be cleaned up a bit more, so far Antonio did not really review, so we should not mention him in the ChangeLog.
Yongxin Dai
Comment 8 2012-07-03 11:10:28 PDT
Hi Antonio, I must misunderstood "original problem" in my last comment. What is the original problem you talked about?
Yongxin Dai
Comment 9 2012-07-03 11:34:53 PDT
Antonio Gomes
Comment 10 2012-07-03 13:39:05 PDT
(In reply to comment #8) > Hi Antonio, > I must misunderstood "original problem" in my last comment. What is the original problem you talked about? I mean, without your change, do a git blame to these lines you are changing, and check what was the problem it was trying to fix, when we decided to not work with shadow content. Basically, I am wondering if changing it back to how it was regresses the original issue fixed by these lines.
Rob Buis
Comment 11 2012-07-03 14:07:02 PDT
Comment on attachment 150652 [details] Patch LGTM.
Yongxin Dai
Comment 12 2012-07-03 14:35:31 PDT
The Original PR is #127814. It just said that text fields from fat finger should all ASSERT(!node->isInShadowTree()). But specific reason had not been mentioned.
Mike Fenton
Comment 13 2012-07-07 12:23:40 PDT
Invalid, the field should not be read only in the first place. Investigation is continuing, but this is not the desired approach.
Note You need to log in before you can comment on or make changes to this bug.