Version: 51+
OS: All
What steps will reproduce the problem?
(1) Open the following URL:
data:text/html;charset=utf-8,<textarea style="white-space:nowrap" autofocus>
(2) Type "a" space "b"
What is the expected output? What do you see instead?
Expected: "a b" is shown.
Actual: "ab" is shown.
TEXTAREA value is alos "ab" unexpectedly.
Please use labels and text to provide additional information.
This is a regression since 51 canary.
Comment 1 by tkent@chromium.org
, Mar 17 2016It seems Firefox has a special handling for the last whitespace. However, we can't put the caret between continuous two spaces. I discussed this with the Editing team, and we concluded plain-text editing with collapsed spaces (white-space:normal/nowrap/pre-line) didn't make sense. We should interpret some white-space values differently in plain-text editing: Specified -> Actual behavior in plain-text editing normal -> pre-wrap nowrap -> pre pre-line -> pre-wrap Probably this is Edge's behavior.