WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
40925
Speech Input: Add a speech button to text input element (no rendering or actions yet)
https://bugs.webkit.org/show_bug.cgi?id=40925
Summary
Speech Input: Add a speech button to text input element (no rendering or acti...
Satish Sampath
Reported
2010-06-21 09:30:13 PDT
This patch adds an '@speech' attribute to enable a speech button in <input> elements. The speech button is an inner element similar to the <input type='search'> element's clear button. A CSS pseudotype 'webkit-input-speech-button' in the UA style sheet is used to render the speech button (blank button for now). 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
Attachments
Patch
(28.31 KB, patch)
2010-06-21 10:04 PDT
,
Satish Sampath
no flags
Details
Formatted Diff
Diff
Addresses Kent & Jeremy's comments
(28.00 KB, patch)
2010-06-22 08:57 PDT
,
Satish Sampath
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Satish Sampath
Comment 1
2010-06-21 10:04:51 PDT
Created
attachment 59261
[details]
Patch Patch
Jeremy Orlow
Comment 2
2010-06-22 07:48:52 PDT
Comment on
attachment 59261
[details]
Patch Drive by comment: WebCore/rendering/TextControlInnerElements.cpp:322 + return new InputFieldSpeechButtonElement(document); ADOPT REF!!!!!!!!!!!!!!!! This will cause a memory leak. Always remember to use adropRef with your ::create methods.
Kent Tamura
Comment 3
2010-06-22 08:33:57 PDT
Comment on
attachment 59261
[details]
Patch
> @@ -1,5 +1,60 @@ > 2010-06-21 Satish Sampath <
satish@chromium.org
> > > + Reviewed by NOBODY (OOPS!).
This form of ChangeLog diff makes a problem with commit queue. Please change the date of the new ChangeLog entry. WebCore/html/HTMLInputElement.cpp:2830 + /* FIXME: Enable the following as the renderers are updated to include speech UI. Do not have commented-out code. WebCore/html/HTMLInputElement.cpp:2842 + default: Do not use "default" for inputType().
Satish Sampath
Comment 4
2010-06-22 08:57:51 PDT
Created
attachment 59376
[details]
Addresses Kent & Jeremy's comments
Kent Tamura
Comment 5
2010-06-23 00:59:07 PDT
Comment on
attachment 59376
[details]
Addresses Kent & Jeremy's comments Looks OK.
Jeremy Orlow
Comment 6
2010-06-24 03:40:43 PDT
Comment on
attachment 59376
[details]
Addresses Kent & Jeremy's comments Clearing flags on attachment: 59376 Committed
r61752
: <
http://trac.webkit.org/changeset/61752
>
Jeremy Orlow
Comment 7
2010-06-24 03:40:53 PDT
All reviewed patches have been landed. Closing bug.
WebKit Review Bot
Comment 8
2010-06-24 04:26:44 PDT
http://trac.webkit.org/changeset/61752
might have broken Chromium Mac Release
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug