Bug 214493
Summary: | spellcheck="false" on text input element prevents text replacement | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jeff Johnson <opendarwin> |
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | megan_gardner, webkit-bug-importer, wenson_hsieh |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 13 | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Jeff Johnson
Overview:
If an HTML <input> element has the attribute spellcheck="false", this disables macOS text replacement System Preferences. A very prominent example is the Google Search field.
Steps to reproduce:
1) Open System Preferences, Keyboard pane, Text tab
2) Create a new text replacement, Replace :cmd: With ⌘
3) In Safari, open https://www.google.com
4) In the search field, enter :cmd: and then spacebar
Expected results:
:cmd: is replaced by ⌘
Actual results:
:cmd: is not replaced
Versions:
Safari Version 13.1.2 (14609.3.5.1.5), macOS Version 10.14.6
Additional Information:
Text replacement does work as expected on https://duckduckgo.com, where spellcheck is not disabled on the search field.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/65770827>
Jeff Johnson
This bug also affects contenteditable="true" spellcheck="false" <div> elements, such as in the gmail.com email composition window body.