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

Issue 13532011: Stop inserting placeholders for TextArea and Input elements. (Closed)

Created:
7 years, 8 months ago by aurimas (slooooooooow)
Modified:
7 years, 8 months ago
CC:
blink-reviews, ojan
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Stop inserting placeholders for TextArea and Input elements. Input and TextArea elements do not require to insert placeholders in their shadow trees. It was done before due to lagacy constrains that are no longer the case. BUG=222806 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=149062

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add null check for textControl #

Patch Set 3 : Added a test #

Patch Set 4 : Undo removing of TextIterator check as it breaks tests #

Patch Set 5 : Updating old text expectations after <br>s are not longer there #

Patch Set 6 : Update textarea-placeholder-visibility-1.html expectation #

Total comments: 2

Patch Set 7 : Levi's nit #

Messages

Total messages: 33 (0 generated)
aurimas (slooooooooow)
Hello Ojan, This is my try to fix the issue with <br> being inserted when ...
7 years, 8 months ago (2013-04-04 17:03:47 UTC) #1
eseidel
Can we test this?
7 years, 8 months ago (2013-04-04 17:06:36 UTC) #2
aurimas (slooooooooow)
On 2013/04/04 17:06:36, Eric Seidel (Google) wrote: > Can we test this? Sorry, I forgot ...
7 years, 8 months ago (2013-04-04 17:10:10 UTC) #3
ojan
This patch needs tests, but it's roughly what I had in mind when I was ...
7 years, 8 months ago (2013-04-08 19:23:36 UTC) #4
aurimas (slooooooooow)
https://chromiumcodereview.appspot.com/13532011/diff/1/Source/WebCore/editing/DeleteSelectionCommand.cpp File Source/WebCore/editing/DeleteSelectionCommand.cpp (right): https://chromiumcodereview.appspot.com/13532011/diff/1/Source/WebCore/editing/DeleteSelectionCommand.cpp#newcode808 Source/WebCore/editing/DeleteSelectionCommand.cpp:808: && !isHTMLTextAreaElement(textControl) && !textControl->toInputElement(); On 2013/04/08 19:23:36, ojan wrote: ...
7 years, 8 months ago (2013-04-09 21:54:21 UTC) #5
ojan
I'm not really sure what's going on with the crashes. Levi actually knows this code ...
7 years, 8 months ago (2013-04-09 23:44:29 UTC) #6
aurimas (slooooooooow)
1. Is there a way to differentiate between contentEditables and blocks inside content editable? 2. ...
7 years, 8 months ago (2013-04-09 23:54:13 UTC) #7
leviw_travelin_and_unemployed
https://chromiumcodereview.appspot.com/13532011/diff/1/Source/WebCore/editing/DeleteSelectionCommand.cpp File Source/WebCore/editing/DeleteSelectionCommand.cpp (right): https://chromiumcodereview.appspot.com/13532011/diff/1/Source/WebCore/editing/DeleteSelectionCommand.cpp#newcode808 Source/WebCore/editing/DeleteSelectionCommand.cpp:808: && !isHTMLTextAreaElement(textControl) && !textControl->toInputElement(); Ojan, I think your change ...
7 years, 8 months ago (2013-04-09 23:54:29 UTC) #8
leviw_travelin_and_unemployed
On 2013/04/09 23:54:13, aurimas wrote: > 1. Is there a way to differentiate between contentEditables ...
7 years, 8 months ago (2013-04-09 23:56:47 UTC) #9
leviw_travelin_and_unemployed
On 2013/04/09 23:54:13, aurimas wrote: > 1. Is there a way to differentiate between contentEditables ...
7 years, 8 months ago (2013-04-10 00:04:51 UTC) #10
aurimas (slooooooooow)
On 2013/04/10 00:04:51, Levi wrote: > On 2013/04/09 23:54:13, aurimas wrote: > > 1. Is ...
7 years, 8 months ago (2013-04-10 00:07:58 UTC) #11
Xianzhu
On 2013/04/09 23:54:13, aurimas wrote: > 1. Is there a way to differentiate between contentEditables ...
7 years, 8 months ago (2013-04-10 20:16:37 UTC) #12
aurimas (slooooooooow)
On 2013/04/10 20:16:37, Xianzhu wrote: > On 2013/04/09 23:54:13, aurimas wrote: > > 1. Is ...
7 years, 8 months ago (2013-04-10 20:19:32 UTC) #13
Xianzhu
On 2013/04/09 23:54:13, aurimas wrote: > 4. What is a safe way to check if ...
7 years, 8 months ago (2013-04-10 20:26:19 UTC) #14
Xianzhu
On 2013/04/10 20:19:32, aurimas wrote: > On 2013/04/10 20:16:37, Xianzhu wrote: > > This this ...
7 years, 8 months ago (2013-04-10 20:52:32 UTC) #15
aurimas (slooooooooow)
leviw: do you have a solution in mind that might help me fix this bug?
7 years, 8 months ago (2013-04-16 20:52:45 UTC) #16
aurimas (slooooooooow)
Hey Levi and Ojan, Since I do not know how to do it properly for ...
7 years, 8 months ago (2013-04-22 18:25:49 UTC) #17
leviw_travelin_and_unemployed
Okay. lgtm after nits. https://chromiumcodereview.appspot.com/13532011/diff/34001/LayoutTests/editing/deleting/delete-last-character.html File LayoutTests/editing/deleting/delete-last-character.html (right): https://chromiumcodereview.appspot.com/13532011/diff/34001/LayoutTests/editing/deleting/delete-last-character.html#newcode1 LayoutTests/editing/deleting/delete-last-character.html:1: <html> Add a doctype
7 years, 8 months ago (2013-04-22 23:31:22 UTC) #18
aurimas (slooooooooow)
Fixed the nit. https://chromiumcodereview.appspot.com/13532011/diff/34001/LayoutTests/editing/deleting/delete-last-character.html File LayoutTests/editing/deleting/delete-last-character.html (right): https://chromiumcodereview.appspot.com/13532011/diff/34001/LayoutTests/editing/deleting/delete-last-character.html#newcode1 LayoutTests/editing/deleting/delete-last-character.html:1: <html> On 2013/04/22 23:31:22, Levi wrote: ...
7 years, 8 months ago (2013-04-23 01:00:53 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aurimas@chromium.org/13532011/39001
7 years, 8 months ago (2013-04-23 01:01:11 UTC) #20
commit-bot: I haz the power
Presubmit check for 13532011-39001 failed and returned exit status -2001. The presubmit check was hung. ...
7 years, 8 months ago (2013-04-23 01:07:15 UTC) #21
aurimas (slooooooooow)
Is it not enough to just check the CQ checkbox to add a patch to ...
7 years, 8 months ago (2013-04-23 01:10:07 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aurimas@chromium.org/13532011/39001
7 years, 8 months ago (2013-04-23 01:30:51 UTC) #23
commit-bot: I haz the power
Presubmit check for 13532011-39001 failed and returned exit status -2001. The presubmit check was hung. ...
7 years, 8 months ago (2013-04-23 01:36:53 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aurimas@chromium.org/13532011/39001
7 years, 8 months ago (2013-04-23 17:03:26 UTC) #25
commit-bot: I haz the power
Presubmit check for 13532011-39001 failed and returned exit status -2001. The presubmit check was hung. ...
7 years, 8 months ago (2013-04-23 17:09:31 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aurimas@chromium.org/13532011/39001
7 years, 8 months ago (2013-04-23 20:46:27 UTC) #27
commit-bot: I haz the power
Presubmit check for 13532011-39001 failed and returned exit status -2001. The presubmit check was hung. ...
7 years, 8 months ago (2013-04-23 20:52:30 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aurimas@chromium.org/13532011/39001
7 years, 8 months ago (2013-04-24 06:01:21 UTC) #29
commit-bot: I haz the power
Presubmit check for 13532011-39001 failed and returned exit status -2001. The presubmit check was hung. ...
7 years, 8 months ago (2013-04-24 06:07:24 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aurimas@chromium.org/13532011/39001
7 years, 8 months ago (2013-04-24 21:24:38 UTC) #31
commit-bot: I haz the power
Presubmit check for 13532011-39001 failed and returned exit status -2001. The presubmit check was hung. ...
7 years, 8 months ago (2013-04-24 21:30:45 UTC) #32
Dirk Pranke
7 years, 8 months ago (2013-04-25 00:33:47 UTC) #33
Message was sent while issue was closed.
Committed patchset #7 manually as r149062 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698