Bug 186311 - Web Inspector: Text in "Add New Class" is auto-capitalized
Summary: Web Inspector: Text in "Add New Class" is auto-capitalized
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nikita Vasilyev
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-06-05 11:10 PDT by Nikita Vasilyev
Modified: 2018-06-05 12:07 PDT (History)
4 users (show)

See Also:


Attachments
Patch (1.71 KB, patch)
2018-06-05 11:16 PDT, Nikita Vasilyev
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.