Bug 186311

Summary: Web Inspector: Text in "Add New Class" is auto-capitalized
Product: WebKit Reporter: Nikita Vasilyev <nvasilyev>
Component: Web InspectorAssignee: Nikita Vasilyev <nvasilyev>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, inspector-bugzilla-changes, mattbaker, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

Description Nikita Vasilyev 2018-06-05 11:10:28 PDT
Steps to Reproduce:
1. Open inspector
2. Toggle "Classes"
3. Focus "Add New Class" input
4. Type a lowercase string ("btn")
5. Notice that it auto-capitalizes

Expected Results:
It would behave like an IDE and not auto-correct or capitalize.

Actual Results:
It auto-corrects, respects text shortcuts, and silently fails when inputting multiple classes after hitting `space`.

<rdar://problem/40705141>
Comment 1 Nikita Vasilyev 2018-06-05 11:16:37 PDT
Created attachment 341979 [details]
Patch
Comment 2 Matt Baker 2018-06-05 11:32:09 PDT
Comment on attachment 341979 [details]
Patch

rs=me
Comment 3 WebKit Commit Bot 2018-06-05 12:07:18 PDT
Comment on attachment 341979 [details]
Patch

Clearing flags on attachment: 341979

Committed r232518: <https://trac.webkit.org/changeset/232518>
Comment 4 WebKit Commit Bot 2018-06-05 12:07:19 PDT
All reviewed patches have been landed.  Closing bug.