New issue
Advanced search Search tips

Issue 558919 link

Starred by 4 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

execCommand should not work on INPUT/TEXTAREA

Project Member Reported by yosin@chromium.org, Nov 20 2015

Issue description

INPUT/TEXTAREA aren't contenteditable.

Other browsers:
Chrome: execCommand works on INPUT/TEXTAREA, same as Safari
Firefox: execCommand does NOT works on INPUT/TEXTAREA
IE: "Delete" and "SelectAll" commands work. Maybe more but InsertHTML
Safari: execCommand works on INPUT/TEXTAREA

We need usage count for this to decide whether we fix this or not.
 

Comment 1 by tkent@chromium.org, Nov 20 2015

Labels: Cr-Blink-Forms Hotlist-Interop
Project Member

Comment 2 by bugdroid1@chromium.org, Nov 20 2015

Project Member

Comment 3 by sheriffbot@chromium.org, Jul 19 2016

Labels: Hotlist-OpenBugWithCL
A change has landed for this issue, but it's been open for over 6 months. Please review and close it if applicable. If this issue should remain open, remove the "Hotlist-OpenBugWithCL" label. If no action is taken, it will be archived in 30 days.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 4 by tkent@chromium.org, Jul 19 2016

Labels: -Pri-2 -Hotlist-OpenBugWithCL Pri-3

Comment 5 by yosin@chromium.org, Jul 20 2016

Components: -Blink>Editing Blink>Editing>Command
Use counter says is real world usage of execCommand on INPUT/TEXTAREA is less than 0.0061%. I think it is OK to prevent running execCommand on INPUT/TEXTAREA.

https://www.chromestatus.com/metrics/feature/popularity#ExecCommandOnInputOrTextarea

Cc: esprehn@chromium.org ojan@chromium.org
I don't think we should change this. It's the only way left to modify a text input and have your edits be in the undo stack. Not supporting copy or paste commands would also be sad.Since

Edge supports some commands, and Safari/Chrome support most commands, Firefox should be changed here.

Comment 7 by yosin@chromium.org, Jan 18 2017

#c6 is make sense.
Editing team proposed to INPUT/TEXTAREA to support some execCommand in https://github.com/w3c/editing/issues/160

Comment 8 by ojan@chromium.org, Mar 7 2017

Cc: -ojan@chromium.org
Project Member

Comment 9 by sheriffbot@chromium.org, Apr 18 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 10 by tkent@chromium.org, Apr 19 2018

Labels: -Hotlist-Recharge-Cold
Status: Available (was: Untriaged)

Sign in to add a comment