Bug 148504 - autocapitalize="words" capitalizes every word's second character
Summary: autocapitalize="words" capitalizes every word's second character
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: Safari 9
Hardware: iPhone / iPad Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-08-26 17:26 PDT by Steve
Modified: 2019-09-24 18:53 PDT (History)
9 users (show)

See Also:


Attachments
HTML in linked JSFiddle (631 bytes, text/html)
2015-08-26 17:26 PDT, Steve
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve 2015-08-26 17:26:44 PDT
Created attachment 260005 [details]
HTML in linked JSFiddle

Steps to reproduce:

1. Open this link on your iPad: https://jsfiddle.net/qvu5b4kt/embedded/result/
2. Type some words into the <input> field
3. Type some words into the <textarea> field
4. Notice that the second character of each word is capitalized
Comment 1 Radar WebKit Bug Importer 2015-09-11 10:59:21 PDT
<rdar://problem/22664010>
Comment 2 Kyle Keesling 2017-11-28 08:27:03 PST
Still exists in iOS 11.2
Comment 3 Wenson Hsieh 2017-11-28 15:26:19 PST
(In reply to Kyle Keesling from comment #2)
> Still exists in iOS 11.2

Is this using the above test case? If you could attach a video clip showing the issue, that would be much appreciated.
Comment 4 Kyle Keesling 2017-11-28 16:52:20 PST
Ok - let me clarify this just a bit. I thought my iPad was running the 11.2 public beta but it's actually running 11.1.2.

It seems as though this bug does not happen on my iPhone X running 11.2 public beta 5, but it is occurring on my iPad Pro 9.7 in a couple of different scenarios/ways.

When the Smart Cover is connected I get the same result described below, every second letter capitalized.

When the Smart Cover is detached and I'm using the on screen keyboard no capitalization happens whatsoever - IE everything is lowercase.

Here are a couple of videos demonstrating it. 
With Smart Cover - https://cl.ly/1H0h1u1G2E0u
On Screen Keyboard - https://cl.ly/1F3k3O1H2w0Y

Also here is the modified fiddle I used, based on the example below:
http://jsfiddle.net/gdf9p3uj/3/embedded/result/
Comment 5 Wenson Hsieh 2017-11-30 11:34:39 PST
(In reply to Kyle Keesling from comment #4)
> Ok - let me clarify this just a bit. I thought my iPad was running the 11.2
> public beta but it's actually running 11.1.2.
> 
> It seems as though this bug does not happen on my iPhone X running 11.2
> public beta 5, but it is occurring on my iPad Pro 9.7 in a couple of
> different scenarios/ways.
> 
> When the Smart Cover is connected I get the same result described below,
> every second letter capitalized.

I see — I can reproduce this using a hardware keyboard on iPad. I will take a look.

> 
> When the Smart Cover is detached and I'm using the on screen keyboard no
> capitalization happens whatsoever - IE everything is lowercase.

I can't reproduce this on either iPad or iPhone.

> 
> Here are a couple of videos demonstrating it. 
> With Smart Cover - https://cl.ly/1H0h1u1G2E0u
> On Screen Keyboard - https://cl.ly/1F3k3O1H2w0Y
> 
> Also here is the modified fiddle I used, based on the example below:
> http://jsfiddle.net/gdf9p3uj/3/embedded/result/
Comment 6 Kyle Keesling 2017-11-30 19:02:38 PST
Strange that you can't reproduce the second error with the on screen keyboard. Do you think it could be related to me immediately removing the keyboard and trying again?

TBH the physical keyboard bug is the one that really grinds my gears though. Thanks for looking into it!
Comment 7 Brady Eidson 2019-09-24 18:53:40 PDT
<rdar://problem/35732551>