[Webkit-unassigned] [Bug 56768] Placeholder functionality should trim the input value on blur.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 6 17:24:54 PST 2011


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





--- Comment #4 from Kent Tamura <tkent at chromium.org>  2011-12-06 17:24:54 PST ---
Thanks.  Probably I understand the issue.

Steps to reproduce the problem:
0. A page has an <input> with a placeholder attribute
1. A user types whitespace characters into it
2. The <input> loses focus.

Current behavior:
The placeholder is not shown because the <input> has the whitespace value.

Benjamin's expectation:
The placeholder should be shown because the whitespace value is meaningless.


The current standard explicitly says "when the element's value is the empty string ..."
So we can't change the current behavior of WebKit.  You should contact to WHATWG or W3C HTML WG.

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