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)

35 Branch
defect
Not set
normal

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.
Summary: Placeholder is not shown until textarea clicked → Dynamically added textarea element does not show placeholder until clicked
OS: Linux → All
Hardware: x86_64 → All
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)
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.