[Webkit-unassigned] [Bug 40984] Rendering the speech button in input elements.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 25 11:55:36 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=40984


Satish Sampath <satish at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adele at apple.com




--- Comment #15 from Satish Sampath <satish at chromium.org>  2010-06-25 11:55:35 PST ---
(adding Adele)

Kent, thanks for the additional layout tests suggestion. I found some issues in my patch due to that and fixed now (in RenderThemeMac.mm and RenderTextControlSingleLine.cpp). Please take another look at them in particular.

Adele - can you please let me know if the changes to RenderThemeMac.mm and switching from setDisplay(BLOCK) to setDisplay(INLINE_BLOCK) in RenderTextControlSingleLine.cpp look ok? (Background info: in this patch I am enabling render of a speech input button in <input> elements, the feature need to be explicitly enabled with an @speech attribute and all the code is behind a define).
- The setDisplay() change to INLINE_BLOCK is required because RenderTextControlSingleLine can now contain both innerBlock and other child elements (i.e. spin button in the 'type=number' case), so to render them both in the same line I'm using INLINE_BLOCK
- The RenderThemeMac.mm change is required because the search field's clear (x) button may not be the right-most child element if the speech button is enabled.
For both the above changes, all layout tests passed in my local machine.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list