[Webkit-unassigned] [Bug 61095] REGRESSION (r63854-63958): placeholder not shown for number inputs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 18 15:45:01 PDT 2011


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





--- Comment #5 from Joseph Pecoraro <joepeck at webkit.org>  2011-05-18 15:45:01 PST ---
Probably:

-    virtual bool supportsPlaceholder() const { return isTextField(); }
+    virtual bool supportsMaxLength() const { return isTextType(); }
+    bool isTextType() const;
+
+    virtual bool supportsPlaceholder() const { return isTextType() || inputType() == ISINDEX; }

And isTextType() does not include NUMBER.
http://trac.webkit.org/changeset/63942/trunk

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