Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Issue 309553007: Adding support for Text Selection on Disabled and Readonly input elements in Android (Closed)

Created:
6 years, 6 months ago by AKVT
Modified:
6 years, 1 month ago
CC:
blink-reviews, blink-reviews-events_chromium.org, dglazkov+blink, eae+blinkwatch, Rick Byers, yosin_UTC9
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Text selection should happen on Disabled and Readonly elements when do long press on those elements in Android for allowing user to Copy. HitTest is coming as the layered parent node, so text selection is not happening. This change takes care of processing text selection in case of disabled/readonly elements. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184746

Patch Set 1 #

Patch Set 2 : Compilation issue fixed. #

Patch Set 3 : #

Total comments: 20

Patch Set 4 : Fixed the review comments. #

Patch Set 5 : corrected the order of platforms inside NeverFixTests. #

Patch Set 6 : Refined the Layout Test case. #

Patch Set 7 : Fixed Linux and Windows Layout test breaks. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -1 line) Patch
M LayoutTests/NeverFixTests View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A LayoutTests/editing/selection/readonly-disabled-text-selection.html View 1 2 3 4 5 1 chunk +47 lines, -0 lines 0 comments Download
A LayoutTests/editing/selection/readonly-disabled-text-selection-expected.txt View 1 2 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download
M Source/core/page/EventHandler.cpp View 1 2 3 4 5 6 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 30 (6 generated)
AKVT
PTAL this change
6 years, 6 months ago (2014-05-31 11:08:26 UTC) #1
AKVT
PTAL
6 years, 6 months ago (2014-05-31 11:11:19 UTC) #2
hayato
Could we have a test? I'd like to know what issue this patch would fix ...
6 years, 6 months ago (2014-06-02 04:31:43 UTC) #3
AKVT
On 2014/06/02 04:31:43, hayato wrote: > Could we have a test? > > I'd like ...
6 years, 6 months ago (2014-06-02 05:29:19 UTC) #4
eseidel
6 years, 6 months ago (2014-06-02 05:34:57 UTC) #5
eseidel
A test is definitely required (or explaination of why such is impossible). window.eventSender may be ...
6 years, 6 months ago (2014-06-02 05:35:31 UTC) #6
AKVT
On 2014/06/02 05:35:31, eseidel wrote: > A test is definitely required (or explaination of why ...
6 years, 6 months ago (2014-06-02 05:39:59 UTC) #7
hayato
On 2014/06/02 05:29:19, AJITH KUMAR V wrote: > On 2014/06/02 04:31:43, hayato wrote: > > ...
6 years, 6 months ago (2014-06-02 05:43:28 UTC) #8
AKVT
On 2014/06/02 05:43:28, hayato wrote: > On 2014/06/02 05:29:19, AJITH KUMAR V wrote: > > ...
6 years, 6 months ago (2014-06-02 06:06:57 UTC) #9
esprehn
Can you write a test?
6 years, 6 months ago (2014-06-05 01:13:53 UTC) #10
AKVT
On 2014/06/05 01:13:53, esprehn wrote: > Can you write a test? I am writing the ...
6 years, 6 months ago (2014-06-05 05:45:17 UTC) #11
AKVT
@esprehn PTAL. Sorry for the delay. I became comfortable in writing layout test cases recently. ...
6 years, 2 months ago (2014-10-16 19:31:39 UTC) #15
AKVT
@esprehn, since this change is only applicable to android, other platform tests are failing. Can ...
6 years, 2 months ago (2014-10-17 21:32:02 UTC) #17
esprehn
Please remove empty BUG= lines. You should skip the test in NeverFixTests on all platforms ...
6 years, 2 months ago (2014-10-17 21:55:55 UTC) #18
AKVT
@esprehn PTAL https://codereview.chromium.org/309553007/diff/40001/LayoutTests/editing/selection/readonly-disabled-text-selection.html File LayoutTests/editing/selection/readonly-disabled-text-selection.html (right): https://codereview.chromium.org/309553007/diff/40001/LayoutTests/editing/selection/readonly-disabled-text-selection.html#newcode3 LayoutTests/editing/selection/readonly-disabled-text-selection.html:3: <head> On 2014/10/17 21:55:54, esprehn wrote: > ...
6 years, 2 months ago (2014-10-20 19:50:02 UTC) #19
AKVT
@esprehn PTAL
6 years, 2 months ago (2014-10-23 15:55:35 UTC) #20
AKVT
@esprehn PTAL. Android shows a build break due to some script issue. Could you please ...
6 years, 1 month ago (2014-10-27 16:25:48 UTC) #21
AKVT
@hayato, eseidel & esprehn PTAL
6 years, 1 month ago (2014-10-28 17:59:27 UTC) #22
AKVT
@esprehn & eseidel PTAL this change.
6 years, 1 month ago (2014-10-30 17:45:46 UTC) #23
esprehn
lgtm, thanks for being patient!
6 years, 1 month ago (2014-10-31 17:11:03 UTC) #24
AKVT
On 2014/10/31 17:11:03, esprehn wrote: > lgtm, thanks for being patient! @esprehn Thanks you.
6 years, 1 month ago (2014-10-31 17:12:07 UTC) #26
esprehn
rbyers@ We probably want this to not be OS(ANDROID) right? Any OS that has a ...
6 years, 1 month ago (2014-10-31 17:12:36 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/309553007/120001
6 years, 1 month ago (2014-10-31 17:13:22 UTC) #29
commit-bot: I haz the power
6 years, 1 month ago (2014-10-31 18:37:55 UTC) #30
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as 184746

Powered by Google App Engine
This is Rietveld 408576698