Bug Tracker

Modify

Ticket #14716 (closed bug: fixed)

Opened 3 months ago

Last modified 3 months ago

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
Blocking: Blocked by:

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

comment:1 Changed 3 months ago by m_gol

  • Cc dmethvin added
  • Priority changed from undecided to blocker
  • Status changed from new to open
  • Component changed from unfiled to manipulation
  • Milestone changed from None to 1.11/2.1

comment:2 Changed 3 months ago by dmethvin

  • Owner set to dmethvin
  • Status changed from open to assigned

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.noCloneChecked and a single fixInput() 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

comment:3 Changed 3 months ago by m_gol

I'm fine with reversing the check, it'll save size and will be simpler to implement.

comment:4 Changed 3 months ago by Dave Methvin

  • Status changed from assigned to closed
  • Resolution set to fixed

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.