| commit | 73a59b847f8b048bf26d7806bafa403c8f3f95d6 | [log] [tgz] |
|---|---|---|
| author | tkent <tkent@chromium.org> | Thu Mar 17 07:49:12 2016 |
| committer | Commit bot <commit-bot@chromium.org> | Thu Mar 17 07:50:58 2016 |
| tree | be9a4a70f8b2b7b31f895b9c57c4392efd89fff2 | |
| parent | 73bd7ce8655bcaf07dc6abfe18f32ee7c10c78ba [diff] |
Don't collapse whitespace in contenteditable=plaintext-only.
Rewrite white-space property for contenteditable=plaintext-only elements as:
normal -> pre-wrap
nowrap -> pre
pre-line -> pre-wrap
because whitespace collapsing doesn't make sense in plain-text editing.
The new behavior matches to Microsoft Edge for TEXTAREA.
BUG=595491
Review URL: https://codereview.chromium.org/1813663002
Cr-Commit-Position: refs/heads/master@{#381668}