Bug 141163 - Dictation fails in iOS8 when a text-transform is applied to an input
Summary: Dictation fails in iOS8 when a text-transform is applied to an input
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 525.x (Safari 3.2)
Hardware: iPhone / iPad iOS 8.1
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-02-02 10:38 PST by Steve
Modified: 2015-02-02 14:57 PST (History)
4 users (show)

See Also:


Attachments
Reproduction (638 bytes, text/html)
2015-02-02 10:38 PST, Steve
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve 2015-02-02 10:38:34 PST
Created attachment 245885 [details]
Reproduction

When you have a text input with text-transform:uppercase applied to it then dictating into that field using iOS8 will fail after the second letter.

This reproduces in Safari on iPad using iOS8.1.2

It also fails in a UIWebView where the XCode logs show many errors like this:

Given text range 'UITextRangeImpl(7082DB80) - start:<UITextPosition: 0x174608a80, 0, {""}, {"WH"}>, end:<UITextPosition: 0x17460a920, 2, {"WH"}, {""}>' we could not find the last hypothesis "Wh". The likely cause is that something modified the text store or the hypothesis during dictation.

It claims that something "modified the text store" which I assume is what text-transform does.


Steps to reproduce:

1. Open attached HTML file on iPad running iOS 8.1.2
2. Tap into a red region
3. Tap the dictation button on the keyboard and say "Why doesn't this work"
4. Notice only the first couple characters make it in
5. Notice it fails for all three types of entry (input/textarea/contenteditable)
Comment 1 Radar WebKit Bug Importer 2015-02-02 14:57:09 PST
<rdar://problem/19691253>