[Webkit-unassigned] [Bug 61095] REGRESSION: placeholder not shown for number inputs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 18 15:05:51 PDT 2011


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


Joseph Pecoraro <joepeck at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|InRadar                     |




--- Comment #2 from Joseph Pecoraro <joepeck at webkit.org>  2011-05-18 15:05:51 PST ---
HTMLFormControl calls supportsPlaceholder() which looks at the InputType.

  InputType:isTextType
    • FALSE by default
    • TRUE for BaseTextInputType <input type="text"> and what else?
    • FALSE for NumberInputType because it does not override it, it subclasses
    from TextFieldInputType which states:
    // The class represents types of which UI contain text fields.
    // It supports not only the types for BaseTextInputType but also type=number.

So if we wanted, we could probably just move the override to TextFieldInputType
instead of BaseTextInputType.

-- 
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