Opened 7 years ago
Closed 7 years ago
#14716 closed bug (fixed)
Textarea isn't cloned properly in IE11
| Reported by: | m_gol | Owned by: | dmethvin |
|---|---|---|---|
| Priority: | blocker | Milestone: | 1.11/2.1 |
| Component: | manipulation | Version: | 2.1.0-rc1 |
| Keywords: | Cc: | dmethvin | |
| Blocked by: | Blocking: |
Description
IE11 fails the test checking for defaultValue to be cloned properly in textarea. This causes a test to fail, see:
http://swarm.jquery.org/result/1511608
cc @dmethvin, you said it's about splitting one support test AFAIK, do you have a fix ready?
Change History (4)
comment:1 Changed 7 years ago by
| Cc: | dmethvin added |
|---|---|
| Component: | unfiled → manipulation |
| Milestone: | None → 1.11/2.1 |
| Priority: | undecided → blocker |
| Status: | new → open |
comment:2 Changed 7 years ago by
| Owner: | set to dmethvin |
|---|---|
| Status: | open → assigned |
comment:3 Changed 7 years ago by
I'm fine with reversing the check, it'll save size and will be simpler to implement.
comment:4 Changed 7 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Manipulation: Use textarea for missing IE defaultValue check
IE11 fixed the checkbox defaultValue issue but not textarea. Rather than creating a new detect name I'm reusing the old one to protect anyone who is unwisely using this externally. Re-fixing the defaultValue when it doesn't need to be done is not a problem, so leave that code for IE11.
Fixes #14716 Closes gh-1495
Changeset: a20494228d51c57c454ff9f10a4ba8bbdda0e49c

Sorry, I don't, but I looked at it a while back. Seemed like IE11 fixed the cloning of checkboxes but not the cloning of textareas. We had both assumed by
support.noCloneCheckedand a singlefixInput()for both. If we wanted to keep a single check we could reverse it and check a textarea, or take the hit and do two separate checks. We can do this in .1