A textarea's placeholder text becomes it's actual value when using innerText, innerHTML or outerHTML

Site Outreach Issue #101525

Details

Created
Apr 27, 2014
Privacy
This issue is public.
Found in build #
0.0011
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL =

URL:

Repro Steps:

Expected Results:

innerHTML as well as innerText should not contain the placeholder’s value and therefore should be empty.

outerHTML should have an empty value (like <textarea placeholder="foo"></textarea> and NOT <textarea placeholder="foo">foo</textarea>)

Actual Results:

Attachments

0 attachments

    Comments and activity

    You need to sign in to your Microsoft account to add a comment.

    Sign in