[wp-trac] [WordPress Trac] #11181: .form-invalid remains on .form-field in IE after onchange

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 19 14:23:58 UTC 2009


#11181: .form-invalid remains on .form-field in IE after onchange
--------------------------+-------------------------------------------------
 Reporter:  aldenta       |        Owner:  azaozz    
     Type:  defect (bug)  |       Status:  closed    
 Priority:  normal        |    Milestone:  Unassigned
Component:  JavaScript    |      Version:  2.9       
 Severity:  normal        |   Resolution:  fixed     
 Keywords:  has-patch     |  
--------------------------+-------------------------------------------------

Comment(by aldenta):

 Replying to [comment:2 azaozz]:

 I noticed that you changed .parents() to .closest(). I actually tried
 closest when I was working on the patch and ran some test code with the
 firebug profiler.  Turns out that parents() is faster in that particular
 case and runs less queries.  I've attached the test code in case you're
 interested.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11181#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list