[wp-trac] [WordPress Trac] #12429: onclick/onClick attribute should all be lowercase

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 28 20:49:19 UTC 2010


#12429: onclick/onClick attribute should all be lowercase
------------------------------+---------------------------------------------
 Reporter:  TobiasBg          |        Owner:          
     Type:  enhancement       |       Status:  reopened
 Priority:  normal            |    Milestone:  3.0     
Component:  General           |      Version:          
 Severity:  normal            |   Resolution:          
 Keywords:  has-patch commit  |  
------------------------------+---------------------------------------------

Comment(by TobiasBg):

 Oh, sh**t. Didn't check in JavaScript files... Thanks Denis!

 Although colorpicker.dev.js will probably need more cleanup, as having all
 uppercase attributes around a lowercase "onclick" doesn't look to good
 somehow (and is probably also invalid XHTML):
 {{{
 <A HREF="#" onclick="cp.select(document.forms[0].color,'pick');return
 false;" NAME="pick" ID="pick">Pick</A>
 }}}

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


More information about the wp-trac mailing list