Summary: | placeholder attribute should apply to all focusable nodes that take text input | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ojan Vafai <ojan> |
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW --- | ||
Severity: | Normal | CC: | adele, cmarcelo, rniwa |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | OS X 10.5 |
Description
Ojan Vafai
2008-10-01 15:37:04 PDT
Ojan and I talked about this earlier today. I think this is a good idea, and could replace a lot of JS that web authors have to write to get this behavior. We should consider reorganizing the code so that maybe HTMLInputElement, HTMLTextAreaElement, and other editable elements can inherit from some common class. It's a good idea, but we really need to be proposing this to HTML5 before we extend placeholder further IMO. I've taken the liberty of posting this proposal on whatwg: http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2012-May/035615.html |