WordPress.org

Make WordPress Core

Ticket #21440: 21440.image-unit-test.diff

File 21440.image-unit-test.diff, 663 bytes (added by obenland, 3 years ago)
  • wp-content/themes/twentytwelve/style.css

     
    285285img.header-image, 
    286286img.wp-post-image { 
    287287        max-width: 100%; 
    288         width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */ 
     288        width: auto\9; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */ 
    289289        height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ 
    290290} 
    291291