Closed
Bug 1125645
Opened 11 years ago
Closed 11 years ago
Dynamically added textarea element does not show placeholder until clicked
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1088158
People
(Reporter: unlinkat, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36
Steps to reproduce:
I added textarea element with placeholder attribute to DOM. Javascript code is below:
var element = document.createElement('textarea');
element.setAttribute('placeholder', 'Placeholder');
document.body.appendChild(element);
Actual results:
Textarea element is shown without placeholder. When I click on element, placeholder is shown immediately. Demo: http://jsfiddle.net/wdzd07oc/1/
Expected results:
Textarea element should have been shown with visible placeholder initially.
| Reporter | ||
Updated•11 years ago
|
Summary: Placeholder is not shown until textarea clicked → Dynamically added textarea element does not show placeholder until clicked
| Reporter | ||
Updated•11 years ago
|
OS: Linux → All
Hardware: x86_64 → All
Comment 1•11 years ago
|
||
This seems to be fixed by Bug 1088158.
Could you test with latest Beta36[1]?
[1] https://www.mozilla.org/ja/firefox/channel/#beta
Flags: needinfo?(unlinkat)
| Reporter | ||
Comment 2•11 years ago
|
||
Indeed in Beta36 this solved. Thanks.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(unlinkat)
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•