[wp-trac] [WordPress Trac] #14771: WP Administration as HTML5

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 3 14:41:26 UTC 2010


#14771: WP Administration as HTML5
-------------------------+--------------------------------------------------
 Reporter:  sc0ttkclark  |       Owner:                 
     Type:  enhancement  |      Status:  new            
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  UI           |     Version:  3.0.1          
 Severity:  major        |    Keywords:                 
-------------------------+--------------------------------------------------
Changes (by demetris):

 * cc: dkikizas@… (added)
  * keywords:  html5 =>
  * type:  feature request => enhancement


Comment:

 @filosofo:

 The parts we would use if we made the switch now are already stable.

 Doctype:

 {{{<!DOCTYPE html>}}}

 Charset declaration:

 {{{<meta charset="CHARSET_GOES_HERE" />}}}

 (This sort declaration worked long before HTML5 came along, which is what
 made possible the recommendation.)

 Less verbose SCRIPT and STYLE elements. E.g.:

 {{{<script src="/js/script.js"></script>}}}

 and

 {{{<style>h1,h2,h3 {color: red;}</style>}}}

 We could also get rid of the CDATA notation, unless we need it for more
 than just XHTML validation. (Do we? I have no idea.)

 A switch along these lines is not fancy, in my opinion, or risky.  And it
 has some benefits, even if we do not start using advanced HTML5 stuff
 right now:  a) a bit cleaner code; b) slightly smaller files; and c)
 readiness for when we want to start using the really fancy stuff in HTML5.

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


More information about the wp-trac mailing list