Bug 80479
Summary: | Make a generic way to add decoration buttons to text field <input> elements | ||
---|---|---|---|
Product: | WebKit | Reporter: | Kent Tamura <tkent> |
Component: | Forms | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | dglazkov, gcasto, hans, morrita, satish |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | 80480, 80493, 80564, 80580, 81866, 82142, 82143 | ||
Bug Blocks: | 80478 |
Kent Tamura
We have some decoration buttons for text field <input> elements.
- Search magnifier for type=search
- Search clear button for type=search
- Spinbutton for type=number
- Mic icon for x-webkit-speech
Also, we're going to add some other decoration buttons.
At this moment, HTMLInputElement, *InputType, and RenderTextControlSingleLine have code for each of decoration buttons. We had better refactor the code and introduce a generic way to install such decoration buttons.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Dimitri Glazkov (Google)
r+!
Kent Tamura
I think this has been completed.