From: Mark Otto Date: Sun, 14 Apr 2013 06:17:39 +0000 (-0700) Subject: IE8 doesn't need help with responsive images, they work just dandy apparently (see... X-Git-Tag: v3.0.0-rc1~439 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86bb3b8126c94ee8c839eac4d9120f3edeafefdd;p=thirdparty%2Fbootstrap.git IE8 doesn't need help with responsive images, they work just dandy apparently (see http://jsbin.com/idesit/1) --- diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 2d2d624cd1..9bc946e70e 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -322,7 +322,6 @@ a:focus { } img { - width: auto\9; height: auto; max-width: 100%; vertical-align: middle; @@ -1226,12 +1225,6 @@ label { font-weight: bold; } -input[type="search"] { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - select, textarea, input[type="text"], @@ -1282,6 +1275,12 @@ input[type="checkbox"] { width: auto; } +input[type="search"] { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + textarea { height: auto; } diff --git a/less/scaffolding.less b/less/scaffolding.less index 7d06e35b28..7936607105 100644 --- a/less/scaffolding.less +++ b/less/scaffolding.less @@ -71,7 +71,6 @@ a:focus { img { // Responsive images (ensure images don't scale beyond their parents) max-width: 100%; // Part 1: Set a maxium relative to the parent - width: auto\9; // IE8 need help adjusting responsive images height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching // Match vertical alignment with other comment elements