From b57e7cbd8bf83fdf5dc51f22a28c1998324d9b52 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Fri, 12 Nov 2010 10:53:01 -0800 Subject: [PATCH] Port of blueprint commits: commit eebd6d7796459762841591fc11dc68d218acc5eb Author: Christian Montoya Date: Tue Sep 28 14:30:35 2010 -0400 Fixed legend/fieldset bug in IE6-8 commit 8fb04b6d8c585ac29cc80665c6a2d520ed1aa28f Author: Christian Montoya Date: Fri Sep 17 13:33:30 2010 -0400 Fixing fieldset padding for IE 6 & 7 --- frameworks/blueprint/stylesheets/blueprint/_ie.scss | 6 ++++++ test/fixtures/stylesheets/blueprint/css/ie.css | 12 ++++++++++++ .../stylesheets/blueprint/css/single-imports/ie.css | 12 ++++++++++++ 3 files changed, 30 insertions(+) diff --git a/frameworks/blueprint/stylesheets/blueprint/_ie.scss b/frameworks/blueprint/stylesheets/blueprint/_ie.scss index 5d1d9679..e8821f14 100644 --- a/frameworks/blueprint/stylesheets/blueprint/_ie.scss +++ b/frameworks/blueprint/stylesheets/blueprint/_ie.scss @@ -72,6 +72,12 @@ -ms-interpolation-mode: bicubic; } fieldset { padding-top: 0; } + legend { + margin-top: -0.2em; + margin-bottom: 1em; + margin-left: -0.5em; } + fieldset, #IE8#HACK {padding-top:1.4em;} + legend, #IE8#HACK {margin-top:0;margin-bottom:0;} textarea { overflow: auto; } input { diff --git a/test/fixtures/stylesheets/blueprint/css/ie.css b/test/fixtures/stylesheets/blueprint/css/ie.css index 73b49c31..4ee64eb8 100644 --- a/test/fixtures/stylesheets/blueprint/css/ie.css +++ b/test/fixtures/stylesheets/blueprint/css/ie.css @@ -24,6 +24,18 @@ img { fieldset { padding-top: 0; } +legend { + margin-top: -0.2em; + margin-bottom: 1em; + margin-left: -0.5em; } + +fieldset, #IE8#HACK { + padding-top: 1.4em; } + +legend, #IE8#HACK { + margin-top: 0; + margin-bottom: 0; } + textarea { overflow: auto; } diff --git a/test/fixtures/stylesheets/blueprint/css/single-imports/ie.css b/test/fixtures/stylesheets/blueprint/css/single-imports/ie.css index 73b49c31..4ee64eb8 100644 --- a/test/fixtures/stylesheets/blueprint/css/single-imports/ie.css +++ b/test/fixtures/stylesheets/blueprint/css/single-imports/ie.css @@ -24,6 +24,18 @@ img { fieldset { padding-top: 0; } +legend { + margin-top: -0.2em; + margin-bottom: 1em; + margin-left: -0.5em; } + +fieldset, #IE8#HACK { + padding-top: 1.4em; } + +legend, #IE8#HACK { + margin-top: 0; + margin-bottom: 0; } + textarea { overflow: auto; }