[wp-trac] [WordPress Trac] #14775: Image Widths set to Auto in style.css of Twenty Ten theme

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 3 19:25:52 UTC 2010


#14775: Image Widths set to Auto in style.css of Twenty Ten theme
--------------------------+-------------------------------------------------
 Reporter:  rfair404      |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Themes        |     Version:                 
 Severity:  minor         |    Keywords:  Twenty Ten     
--------------------------+-------------------------------------------------
 Twenty Ten sets image width and height in style.css line 762.


 {{{
 #content img {
         margin: 0;
         height: auto;
         max-width: 640px;
         width: auto;
 }
 }}}

 When I use Twenty Ten as a parent theme, this attribute causes my child
 theme not to pass Theme Unit Testing - Images Alignment Test. Specifically
 the Centered Image with Caption and Wide Image, Resized In Editor
 sections.

 Suggest removing line 764 and 766 of style.css

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14775>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list