Bug 42483 - Add speech attribute to IDL for enabling access from JS.
Summary: Add speech attribute to IDL for enabling access from JS.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 39485
  Show dependency treegraph
 
Reported: 2010-07-16 14:50 PDT by Satish Sampath
Modified: 2010-07-16 15:59 PDT (History)
1 user (show)

See Also:


Attachments
Patch (2.05 KB, patch)
2010-07-16 15:01 PDT, Satish Sampath
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Satish Sampath 2010-07-16 14:50:44 PDT
The input element currently recognizes the 'speech' attribute on creation and initializes the renderer appropriately. But this attribute was not accessible from Javascript so one could not use document.createElement('input') and then set input.speech='speech' to enable speech input. We are now adding the attribute to IDL and relevant code in HTMLInputElement to update the renderer whenever Javascript modifies the value. This is a pre-requisite to writing layout tests for the speech input code.

All code changes are behind the speech input compile time flag (disabled by default).

More information about the speech input API proposal can be found in the following links:
 Parent bug: https://bugs.webkit.org/show_bug.cgi?id=39485
 Full API proposal: https://docs.google.com/View?id=dcfg79pz_5dhnp23f5
 Relevant discussions in the WHATWG list:
  - http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-May/026338.html
  - http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-June/026747.html
Comment 1 Satish Sampath 2010-07-16 15:01:15 PDT
Created attachment 61849 [details]
Patch
Comment 2 WebKit Commit Bot 2010-07-16 15:59:31 PDT
Comment on attachment 61849 [details]
Patch

Clearing flags on attachment: 61849

Committed r63594: <http://trac.webkit.org/changeset/63594>
Comment 3 WebKit Commit Bot 2010-07-16 15:59:35 PDT
All reviewed patches have been landed.  Closing bug.