diff --git a/test/configuration_test.rb b/test/configuration_test.rb index 9cd1195c..20d2151c 100644 --- a/test/configuration_test.rb +++ b/test/configuration_test.rb @@ -12,6 +12,8 @@ class ConfigurationTest < Test::Unit::TestCase sass_dir = "sass" images_dir = "img" javascripts_dir = "js" + # To enable relative image paths using the images_url() function: + # http_images_path = :relative CONFIG Compass.configuration.parse_string(contents, "test_parse") diff --git a/test/fixtures/stylesheets/blueprint/css/typography.css b/test/fixtures/stylesheets/blueprint/css/typography.css index c5fa0c35..53f7e26b 100644 --- a/test/fixtures/stylesheets/blueprint/css/typography.css +++ b/test/fixtures/stylesheets/blueprint/css/typography.css @@ -1,6 +1,6 @@ body { line-height: 1.5; - font-family: Helvetica Neue, Helvetica, Arial, sans-serif; + font-family: Helvetica Neue, Arial, Helvetica, sans-serif; color: #333333; font-size: 75%; } @@ -31,8 +31,7 @@ h4 { color: #222222; font-size: 1.2em; line-height: 1.25; - margin-bottom: 1.25em; - height: 1.25em; } + margin-bottom: 1.25em; } h5 { font-weight: normal; @@ -52,15 +51,16 @@ h2 img, h3 img, h4 img, h5 img, h6 img { p { margin: 0 0 1.5em; } - p img { + p img.left { display: inline; float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; } - p img.right { - display: inline; - float: right; - margin: 1.5em 0 1.5em 1.5em; } + p img.right { + display: inline; + float: right; + margin: 1.5em 0 1.5em 1.5em; + padding: 0; } a { text-decoration: underline; @@ -102,13 +102,11 @@ address { del { color: #666; } -pre, code { +pre { margin: 1.5em 0; - white-space: pre; - font: 1em 'andale mono', 'lucida console', monospace; - line-height: 1.5; } + white-space: pre; } -tt { +pre, code, tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; } @@ -136,15 +134,16 @@ table { width: 100%; } th { - font-weight: bold; - background: #C3D9FF; - padding: 4px 10px 4px 5px; } + font-weight: bold; } -td { +thead th { + background: #c3d9ff; } + +th, td, caption { padding: 4px 10px 4px 5px; } tr.even td { - background: #E5ECF9; } + background: #e5ecf9; } tfoot { font-style: italic; }