chriseppstein-compass 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (144) hide show
  1. data/Manifest +143 -0
  2. data/README.markdown +18 -0
  3. data/Rakefile +104 -0
  4. data/VERSION +1 -0
  5. data/bin/compass +8 -0
  6. data/compass.gemspec +37 -0
  7. data/examples/blueprint_default/index.html +73 -0
  8. data/examples/blueprint_default/parts/elements.html +246 -0
  9. data/examples/blueprint_default/parts/forms.html +100 -0
  10. data/examples/blueprint_default/parts/grid.html +206 -0
  11. data/examples/blueprint_default/parts/test-small.jpg +0 -0
  12. data/examples/blueprint_default/parts/test.jpg +0 -0
  13. data/examples/blueprint_default/parts/valid.png +0 -0
  14. data/examples/blueprint_default/stylesheets/ie.sass +4 -0
  15. data/examples/blueprint_default/stylesheets/images/grid.png +0 -0
  16. data/examples/blueprint_default/stylesheets/print.sass +4 -0
  17. data/examples/blueprint_default/stylesheets/screen.sass +9 -0
  18. data/examples/blueprint_plugins/index.html +60 -0
  19. data/examples/blueprint_plugins/parts/fancy_type.html +84 -0
  20. data/examples/blueprint_plugins/parts/test-small.jpg +0 -0
  21. data/examples/blueprint_plugins/parts/test.jpg +0 -0
  22. data/examples/blueprint_plugins/parts/valid.png +0 -0
  23. data/examples/blueprint_plugins/stylesheets/ie.sass +4 -0
  24. data/examples/blueprint_plugins/stylesheets/images/grid.png +0 -0
  25. data/examples/blueprint_plugins/stylesheets/print.sass +4 -0
  26. data/examples/blueprint_plugins/stylesheets/screen.sass +11 -0
  27. data/examples/blueprint_scoped/stylesheets/ie.sass +4 -0
  28. data/examples/blueprint_scoped/stylesheets/print.sass +4 -0
  29. data/examples/blueprint_scoped/stylesheets/screen.sass +5 -0
  30. data/examples/blueprint_scoped_form/stylesheets/ie.sass +4 -0
  31. data/examples/blueprint_scoped_form/stylesheets/print.sass +4 -0
  32. data/examples/blueprint_scoped_form/stylesheets/screen.sass +9 -0
  33. data/examples/blueprint_semantic/index.html +68 -0
  34. data/examples/blueprint_semantic/parts/fancy_type.html +84 -0
  35. data/examples/blueprint_semantic/parts/liquid.html +84 -0
  36. data/examples/blueprint_semantic/parts/test-small.jpg +0 -0
  37. data/examples/blueprint_semantic/parts/test.jpg +0 -0
  38. data/examples/blueprint_semantic/parts/valid.png +0 -0
  39. data/examples/blueprint_semantic/stylesheets/ie.sass +4 -0
  40. data/examples/blueprint_semantic/stylesheets/images/grid.png +0 -0
  41. data/examples/blueprint_semantic/stylesheets/liquid.sass +70 -0
  42. data/examples/blueprint_semantic/stylesheets/print.sass +4 -0
  43. data/examples/blueprint_semantic/stylesheets/screen.sass +69 -0
  44. data/examples/compass/compass.html +19 -0
  45. data/examples/compass/stylesheets/compass.sass +47 -0
  46. data/examples/compass/stylesheets/images/blue_arrow.gif +0 -0
  47. data/examples/compass/stylesheets/utilities.sass +65 -0
  48. data/examples/compass/utilities.html.haml +136 -0
  49. data/examples/yui/divisions.html.haml +179 -0
  50. data/examples/yui/index.html.haml +19 -0
  51. data/examples/yui/stylesheets/screen.sass +13 -0
  52. data/examples/yui/sub_divisions.html.haml +169 -0
  53. data/examples/yui/templates.html.haml +54 -0
  54. data/examples/yui/test.jpg +0 -0
  55. data/examples/yui/typography.html.haml +132 -0
  56. data/frameworks/blueprint/lib/blueprint/constants.rb +17 -0
  57. data/frameworks/blueprint/lib/blueprint/grid_builder.rb +54 -0
  58. data/frameworks/blueprint/stylesheets/blueprint/_ie.sass +19 -0
  59. data/frameworks/blueprint/stylesheets/blueprint/_print.sass +69 -0
  60. data/frameworks/blueprint/stylesheets/blueprint/_screen.sass +15 -0
  61. data/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass +25 -0
  62. data/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass +9 -0
  63. data/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass +85 -0
  64. data/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +43 -0
  65. data/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +140 -0
  66. data/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +55 -0
  67. data/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +140 -0
  68. data/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass +29 -0
  69. data/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +131 -0
  70. data/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass +39 -0
  71. data/frameworks/blueprint/templates/project/grid.png +0 -0
  72. data/frameworks/blueprint/templates/project/ie.sass +4 -0
  73. data/frameworks/blueprint/templates/project/print.sass +4 -0
  74. data/frameworks/blueprint/templates/project/screen.sass +9 -0
  75. data/frameworks/compass/stylesheets/compass/_reset.sass +19 -0
  76. data/frameworks/compass/stylesheets/compass/_utilities.sass +5 -0
  77. data/frameworks/compass/stylesheets/compass/utilities/_general.sass +4 -0
  78. data/frameworks/compass/stylesheets/compass/utilities/_links.sass +3 -0
  79. data/frameworks/compass/stylesheets/compass/utilities/_lists.sass +3 -0
  80. data/frameworks/compass/stylesheets/compass/utilities/_tables.sass +1 -0
  81. data/frameworks/compass/stylesheets/compass/utilities/_text.sass +2 -0
  82. data/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass +11 -0
  83. data/frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass +6 -0
  84. data/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass +32 -0
  85. data/frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass +0 -0
  86. data/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass +19 -0
  87. data/frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass +5 -0
  88. data/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass +24 -0
  89. data/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass +5 -0
  90. data/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass +21 -0
  91. data/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass +20 -0
  92. data/frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass +29 -0
  93. data/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass +25 -0
  94. data/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass +3 -0
  95. data/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass +10 -0
  96. data/frameworks/compass/templates/project/grid.png +0 -0
  97. data/frameworks/compass/templates/project/ie.sass +3 -0
  98. data/frameworks/compass/templates/project/print.sass +4 -0
  99. data/frameworks/compass/templates/project/screen.sass +4 -0
  100. data/frameworks/yui/COPYRIGHT +15 -0
  101. data/frameworks/yui/stylesheets/yui/_screen.sass +7 -0
  102. data/frameworks/yui/stylesheets/yui/modules/_base.sass +60 -0
  103. data/frameworks/yui/stylesheets/yui/modules/_fonts.sass +38 -0
  104. data/frameworks/yui/stylesheets/yui/modules/_grids.sass +341 -0
  105. data/frameworks/yui/templates/project/screen.sass +5 -0
  106. data/lib/compass.rb +19 -0
  107. data/lib/compass/commands/base.rb +94 -0
  108. data/lib/compass/commands/create_project.rb +30 -0
  109. data/lib/compass/commands/install_rails.rb +115 -0
  110. data/lib/compass/commands/print_version.rb +23 -0
  111. data/lib/compass/commands/update_project.rb +91 -0
  112. data/lib/compass/commands/watch_project.rb +42 -0
  113. data/lib/compass/core_ext.rb +39 -0
  114. data/lib/compass/exec.rb +156 -0
  115. data/lib/compass/frameworks.rb +27 -0
  116. data/lib/compass/frameworks/blueprint.rb +2 -0
  117. data/lib/compass/frameworks/compass.rb +2 -0
  118. data/lib/compass/frameworks/yui.rb +2 -0
  119. data/lib/compass/merb.rb +43 -0
  120. data/lib/compass/test_case.rb +37 -0
  121. data/lib/compass/validate.rb +13 -0
  122. data/lib/compass/validate/COPYRIGHT.html +93 -0
  123. data/lib/compass/validate/JIGSAW_COPYRIGHT +64 -0
  124. data/lib/compass/validate/README.html +83 -0
  125. data/lib/compass/validate/XERCES_COPYING.txt +56 -0
  126. data/lib/compass/validate/css-validator-javadoc.jar +0 -0
  127. data/lib/compass/validate/css-validator.jar +0 -0
  128. data/lib/compass/validate/jigsaw.jar +0 -0
  129. data/lib/compass/validate/xerces.jar +0 -0
  130. data/lib/compass/validator.rb +59 -0
  131. data/lib/compass/version.rb +48 -0
  132. data/lib/sass_extensions.rb +13 -0
  133. data/test/compass_test.rb +142 -0
  134. data/test/fixtures/stylesheets/default/sass/ie.sass +4 -0
  135. data/test/fixtures/stylesheets/default/sass/print.sass +4 -0
  136. data/test/fixtures/stylesheets/default/sass/screen.sass +18 -0
  137. data/test/fixtures/stylesheets/yui/css/mixins.css +16 -0
  138. data/test/fixtures/stylesheets/yui/sass/base.sass +3 -0
  139. data/test/fixtures/stylesheets/yui/sass/fonts.sass +3 -0
  140. data/test/fixtures/stylesheets/yui/sass/grids.sass +3 -0
  141. data/test/fixtures/stylesheets/yui/sass/mixins.sass +16 -0
  142. data/test/sass_extensions_test.rb +26 -0
  143. data/test/test_helper.rb +37 -0
  144. metadata +247 -0
data/Manifest ADDED
@@ -0,0 +1,143 @@
1
+ bin/compass
2
+ compass.gemspec
3
+ examples/blueprint_default/index.html
4
+ examples/blueprint_default/parts/elements.html
5
+ examples/blueprint_default/parts/forms.html
6
+ examples/blueprint_default/parts/grid.html
7
+ examples/blueprint_default/parts/test-small.jpg
8
+ examples/blueprint_default/parts/test.jpg
9
+ examples/blueprint_default/parts/valid.png
10
+ examples/blueprint_default/stylesheets/ie.sass
11
+ examples/blueprint_default/stylesheets/images/grid.png
12
+ examples/blueprint_default/stylesheets/print.sass
13
+ examples/blueprint_default/stylesheets/screen.sass
14
+ examples/blueprint_plugins/index.html
15
+ examples/blueprint_plugins/parts/fancy_type.html
16
+ examples/blueprint_plugins/parts/test-small.jpg
17
+ examples/blueprint_plugins/parts/test.jpg
18
+ examples/blueprint_plugins/parts/valid.png
19
+ examples/blueprint_plugins/stylesheets/ie.sass
20
+ examples/blueprint_plugins/stylesheets/images/grid.png
21
+ examples/blueprint_plugins/stylesheets/print.sass
22
+ examples/blueprint_plugins/stylesheets/screen.sass
23
+ examples/blueprint_scoped/stylesheets/ie.sass
24
+ examples/blueprint_scoped/stylesheets/print.sass
25
+ examples/blueprint_scoped/stylesheets/screen.sass
26
+ examples/blueprint_scoped_form/stylesheets/ie.sass
27
+ examples/blueprint_scoped_form/stylesheets/print.sass
28
+ examples/blueprint_scoped_form/stylesheets/screen.sass
29
+ examples/blueprint_semantic/index.html
30
+ examples/blueprint_semantic/parts/fancy_type.html
31
+ examples/blueprint_semantic/parts/liquid.html
32
+ examples/blueprint_semantic/parts/test-small.jpg
33
+ examples/blueprint_semantic/parts/test.jpg
34
+ examples/blueprint_semantic/parts/valid.png
35
+ examples/blueprint_semantic/stylesheets/ie.sass
36
+ examples/blueprint_semantic/stylesheets/images/grid.png
37
+ examples/blueprint_semantic/stylesheets/liquid.sass
38
+ examples/blueprint_semantic/stylesheets/print.sass
39
+ examples/blueprint_semantic/stylesheets/screen.sass
40
+ examples/compass/compass.html
41
+ examples/compass/stylesheets/compass.sass
42
+ examples/compass/stylesheets/images/blue_arrow.gif
43
+ examples/compass/stylesheets/utilities.sass
44
+ examples/compass/utilities.html.haml
45
+ examples/yui/divisions.html.haml
46
+ examples/yui/index.html.haml
47
+ examples/yui/stylesheets/screen.sass
48
+ examples/yui/sub_divisions.html.haml
49
+ examples/yui/templates.html.haml
50
+ examples/yui/test.jpg
51
+ examples/yui/typography.html.haml
52
+ frameworks/blueprint/lib/blueprint/constants.rb
53
+ frameworks/blueprint/lib/blueprint/grid_builder.rb
54
+ frameworks/blueprint/stylesheets/blueprint/_ie.sass
55
+ frameworks/blueprint/stylesheets/blueprint/_print.sass
56
+ frameworks/blueprint/stylesheets/blueprint/_screen.sass
57
+ frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass
58
+ frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass
59
+ frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass
60
+ frameworks/blueprint/stylesheets/blueprint/modules/_form.sass
61
+ frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass
62
+ frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass
63
+ frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass
64
+ frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass
65
+ frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass
66
+ frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass
67
+ frameworks/blueprint/templates/project/grid.png
68
+ frameworks/blueprint/templates/project/ie.sass
69
+ frameworks/blueprint/templates/project/print.sass
70
+ frameworks/blueprint/templates/project/screen.sass
71
+ frameworks/compass/stylesheets/compass/_reset.sass
72
+ frameworks/compass/stylesheets/compass/_utilities.sass
73
+ frameworks/compass/stylesheets/compass/utilities/_general.sass
74
+ frameworks/compass/stylesheets/compass/utilities/_links.sass
75
+ frameworks/compass/stylesheets/compass/utilities/_lists.sass
76
+ frameworks/compass/stylesheets/compass/utilities/_tables.sass
77
+ frameworks/compass/stylesheets/compass/utilities/_text.sass
78
+ frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass
79
+ frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass
80
+ frameworks/compass/stylesheets/compass/utilities/general/_reset.sass
81
+ frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass
82
+ frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass
83
+ frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass
84
+ frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass
85
+ frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass
86
+ frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass
87
+ frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass
88
+ frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass
89
+ frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass
90
+ frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass
91
+ frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass
92
+ frameworks/compass/templates/project/grid.png
93
+ frameworks/compass/templates/project/ie.sass
94
+ frameworks/compass/templates/project/print.sass
95
+ frameworks/compass/templates/project/screen.sass
96
+ frameworks/yui/COPYRIGHT
97
+ frameworks/yui/stylesheets/yui/_screen.sass
98
+ frameworks/yui/stylesheets/yui/modules/_base.sass
99
+ frameworks/yui/stylesheets/yui/modules/_fonts.sass
100
+ frameworks/yui/stylesheets/yui/modules/_grids.sass
101
+ frameworks/yui/templates/project/screen.sass
102
+ lib/compass/commands/base.rb
103
+ lib/compass/commands/create_project.rb
104
+ lib/compass/commands/install_rails.rb
105
+ lib/compass/commands/print_version.rb
106
+ lib/compass/commands/update_project.rb
107
+ lib/compass/commands/watch_project.rb
108
+ lib/compass/core_ext.rb
109
+ lib/compass/exec.rb
110
+ lib/compass/frameworks/blueprint.rb
111
+ lib/compass/frameworks/compass.rb
112
+ lib/compass/frameworks/yui.rb
113
+ lib/compass/frameworks.rb
114
+ lib/compass/merb.rb
115
+ lib/compass/test_case.rb
116
+ lib/compass/validate/COPYRIGHT.html
117
+ lib/compass/validate/css-validator-javadoc.jar
118
+ lib/compass/validate/css-validator.jar
119
+ lib/compass/validate/jigsaw.jar
120
+ lib/compass/validate/JIGSAW_COPYRIGHT
121
+ lib/compass/validate/README.html
122
+ lib/compass/validate/xerces.jar
123
+ lib/compass/validate/XERCES_COPYING.txt
124
+ lib/compass/validate.rb
125
+ lib/compass/validator.rb
126
+ lib/compass/version.rb
127
+ lib/compass.rb
128
+ lib/sass_extensions.rb
129
+ Manifest
130
+ Rakefile
131
+ README.markdown
132
+ test/compass_test.rb
133
+ test/fixtures/stylesheets/default/sass/ie.sass
134
+ test/fixtures/stylesheets/default/sass/print.sass
135
+ test/fixtures/stylesheets/default/sass/screen.sass
136
+ test/fixtures/stylesheets/yui/css/mixins.css
137
+ test/fixtures/stylesheets/yui/sass/base.sass
138
+ test/fixtures/stylesheets/yui/sass/fonts.sass
139
+ test/fixtures/stylesheets/yui/sass/grids.sass
140
+ test/fixtures/stylesheets/yui/sass/mixins.sass
141
+ test/sass_extensions_test.rb
142
+ test/test_helper.rb
143
+ VERSION
data/README.markdown ADDED
@@ -0,0 +1,18 @@
1
+ # Compass
2
+ A [Sass](http://haml.hamptoncatlin.com/docs/rdoc/classes/Sass.html)-based CSS Meta-Framework that allows you to mix and match any of the following CSS frameworks:
3
+ - [Compass Core](http://github.com/chriseppstein/compass/tree/master/frameworks/compass) - [Wiki Documentation](http://github.com/chriseppstein/compass/wikis/compass-core-documentation)
4
+ - [Blueprint](http://blueprintcss.org/) - [Wiki Documentation](http://github.com/chriseppstein/compass/wikis/blueprint-documentation)
5
+ - [YUI](http://developer.yahoo.com/yui/grids/) - [Wiki Documentation](http://github.com/chriseppstein/compass/wikis/yui-documentation)
6
+ - [YAML](http://www.yaml.de/en/) - Planned
7
+ - [960](http://960.gs/) - Planned
8
+ - Other frameworks can be added relatively easily.
9
+
10
+ ## Compass Provides
11
+ 1. A command line tool for maintaining your Sass projects.
12
+ 2. Ruby-on-Rails integration
13
+ 3. Scaffolds - Generate templates with corresponding Sass stylesheets.
14
+ 4. Loads of Sass files to make building your website a snap.
15
+
16
+ ## More Information
17
+ Please see the [wiki](http://github.com/chriseppstein/compass/wikis/home)
18
+
data/Rakefile ADDED
@@ -0,0 +1,104 @@
1
+ require 'rubygems'
2
+ require 'rake'
3
+ require 'lib/compass'
4
+
5
+ # ----- Default: Testing ------
6
+
7
+ task :default => :run_tests
8
+
9
+ require 'rake/testtask'
10
+ require 'fileutils'
11
+
12
+ Rake::TestTask.new :run_tests do |t|
13
+ t.libs << 'lib'
14
+ test_files = FileList['test/**/*_test.rb']
15
+ test_files.exclude('test/rails/*', 'test/haml/*')
16
+ t.test_files = test_files
17
+ t.verbose = true
18
+ end
19
+ Rake::Task[:test].send(:add_comment, <<END)
20
+ To run with an alternate version of Rails, make test/rails a symlink to that version.
21
+ To run with an alternate version of Haml & Sass, make test/haml a symlink to that version.
22
+ END
23
+
24
+ begin
25
+ require 'echoe'
26
+
27
+ Echoe.new('compass', open('VERSION').read) do |p|
28
+ # p.rubyforge_name = 'github'
29
+ p.summary = "Sass-Based CSS Meta-Framework."
30
+ p.description = "Sass-Based CSS Meta-Framework. Semantic, Maintainable CSS."
31
+ p.url = "http://github.com/chriseppstein/compass"
32
+ p.author = ['Chris Eppstein']
33
+ p.email = "chris@eppsteins.net"
34
+ p.dependencies = ["haml"]
35
+ p.has_rdoc = false
36
+ end
37
+
38
+ rescue LoadError => boom
39
+ puts "You are missing a dependency required for meta-operations on this gem."
40
+ puts "#{boom.to_s.capitalize}."
41
+ end
42
+
43
+ desc "Compile Examples into HTML and CSS"
44
+ task :examples do
45
+ linked_haml = "tests/haml"
46
+ if File.exists?(linked_haml) && !$:.include?(linked_haml + '/lib')
47
+ puts "[ using linked Haml ]"
48
+ $:.unshift linked_haml + '/lib'
49
+ end
50
+ require 'haml'
51
+ require 'sass'
52
+ require 'pathname'
53
+ FileList['examples/*'].each do |example|
54
+ puts "Compiling #{example} -> built_examples/#{example.sub(%r{.*/},'')}"
55
+ # compile any haml templates to html
56
+ FileList["#{example}/*.haml"].each do |haml_file|
57
+ basename = haml_file[9..-6]
58
+ engine = Haml::Engine.new(open(haml_file).read, :filename => haml_file)
59
+ target_dir = "built_examples/#{basename.sub(%r{/[^/]*$},'')}"
60
+ FileUtils.mkdir_p(target_dir)
61
+ output = open("built_examples/#{basename}",'w')
62
+ output.write(engine.render)
63
+ output.close
64
+ end
65
+ # compile any sass templates to css
66
+ FileList["#{example}/stylesheets/**/[^_]*.sass"].each do |sass_file|
67
+ basename = sass_file[9..-6]
68
+ css_filename = "built_examples/#{basename}.css"
69
+ compass_sass = File.dirname(__FILE__).sub(%r{.*/},'')
70
+ engine = Sass::Engine.new(open(sass_file).read,
71
+ :filename => sass_file,
72
+ :line_comments => true,
73
+ :css_filename => css_filename,
74
+ :load_paths => ["#{example}/stylesheets"] + Compass::Frameworks::ALL.map{|f| f.stylesheets_directory})
75
+ target_dir = "built_examples/#{basename.sub(%r{/[^/]*$},'')}"
76
+ FileUtils.mkdir_p(target_dir)
77
+ output = open(css_filename,'w')
78
+ output.write(engine.render)
79
+ output.close
80
+ end
81
+ # copy any other non-haml and non-sass files directly over
82
+ target_dir = "built_examples/#{example.sub(%r{.*/},'')}"
83
+ other_files = FileList["#{example}/**/*"]
84
+ other_files.exclude "**/*.sass", "**/*.haml"
85
+ other_files.each do |file|
86
+
87
+ if File.directory?(file)
88
+ FileUtils.mkdir_p(file)
89
+ elsif File.file?(file)
90
+ target_file = "#{target_dir}/#{file[(example.size+1)..-1]}"
91
+ # puts "mkdir -p #{File.dirname(target_file)}"
92
+ FileUtils.mkdir_p(File.dirname(target_file))
93
+ # puts "cp #{file} #{target_file}"
94
+ FileUtils.cp(file, target_file)
95
+ end
96
+ end
97
+ end
98
+ end
99
+
100
+ task :git_clean do
101
+ sh "git", "clean", "-fdx"
102
+ end
103
+
104
+ task :manifest => :git_clean
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.1
data/bin/compass ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env ruby
2
+ # The compass command line utility
3
+
4
+ require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'compass'))
5
+ require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'compass', 'exec'))
6
+
7
+ command = Compass::Exec::Compass.new(ARGV)
8
+ command.run!
data/compass.gemspec ADDED
@@ -0,0 +1,37 @@
1
+ Gem::Specification.new do |s|
2
+ s.name = %q{compass}
3
+ s.version = "0.1.1"
4
+
5
+ s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
6
+ s.authors = ["Chris Eppstein"]
7
+ s.date = %q{2008-12-05}
8
+ s.default_executable = %q{compass}
9
+ s.description = %q{Sass-Based CSS Meta-Framework. Semantic, Maintainable CSS.}
10
+ s.email = %q{chris@eppsteins.net}
11
+ s.executables = ["compass"]
12
+ s.extra_rdoc_files = ["bin/compass", "lib/compass/commands/base.rb", "lib/compass/commands/create_project.rb", "lib/compass/commands/install_rails.rb", "lib/compass/commands/print_version.rb", "lib/compass/commands/update_project.rb", "lib/compass/commands/watch_project.rb", "lib/compass/core_ext.rb", "lib/compass/exec.rb", "lib/compass/frameworks/blueprint.rb", "lib/compass/frameworks/compass.rb", "lib/compass/frameworks/yui.rb", "lib/compass/frameworks.rb", "lib/compass/merb.rb", "lib/compass/test_case.rb", "lib/compass/validate/COPYRIGHT.html", "lib/compass/validate/css-validator-javadoc.jar", "lib/compass/validate/css-validator.jar", "lib/compass/validate/jigsaw.jar", "lib/compass/validate/JIGSAW_COPYRIGHT", "lib/compass/validate/README.html", "lib/compass/validate/xerces.jar", "lib/compass/validate/XERCES_COPYING.txt", "lib/compass/validate.rb", "lib/compass/validator.rb", "lib/compass/version.rb", "lib/compass.rb", "lib/sass_extensions.rb", "README.markdown"]
13
+ s.files = ["bin/compass", "compass.gemspec", "examples/blueprint_default/index.html", "examples/blueprint_default/parts/elements.html", "examples/blueprint_default/parts/forms.html", "examples/blueprint_default/parts/grid.html", "examples/blueprint_default/parts/test-small.jpg", "examples/blueprint_default/parts/test.jpg", "examples/blueprint_default/parts/valid.png", "examples/blueprint_default/stylesheets/ie.sass", "examples/blueprint_default/stylesheets/images/grid.png", "examples/blueprint_default/stylesheets/print.sass", "examples/blueprint_default/stylesheets/screen.sass", "examples/blueprint_plugins/index.html", "examples/blueprint_plugins/parts/fancy_type.html", "examples/blueprint_plugins/parts/test-small.jpg", "examples/blueprint_plugins/parts/test.jpg", "examples/blueprint_plugins/parts/valid.png", "examples/blueprint_plugins/stylesheets/ie.sass", "examples/blueprint_plugins/stylesheets/images/grid.png", "examples/blueprint_plugins/stylesheets/print.sass", "examples/blueprint_plugins/stylesheets/screen.sass", "examples/blueprint_scoped/stylesheets/ie.sass", "examples/blueprint_scoped/stylesheets/print.sass", "examples/blueprint_scoped/stylesheets/screen.sass", "examples/blueprint_scoped_form/stylesheets/ie.sass", "examples/blueprint_scoped_form/stylesheets/print.sass", "examples/blueprint_scoped_form/stylesheets/screen.sass", "examples/blueprint_semantic/index.html", "examples/blueprint_semantic/parts/fancy_type.html", "examples/blueprint_semantic/parts/liquid.html", "examples/blueprint_semantic/parts/test-small.jpg", "examples/blueprint_semantic/parts/test.jpg", "examples/blueprint_semantic/parts/valid.png", "examples/blueprint_semantic/stylesheets/ie.sass", "examples/blueprint_semantic/stylesheets/images/grid.png", "examples/blueprint_semantic/stylesheets/liquid.sass", "examples/blueprint_semantic/stylesheets/print.sass", "examples/blueprint_semantic/stylesheets/screen.sass", "examples/compass/compass.html", "examples/compass/stylesheets/compass.sass", "examples/compass/stylesheets/images/blue_arrow.gif", "examples/compass/stylesheets/utilities.sass", "examples/compass/utilities.html.haml", "examples/yui/divisions.html.haml", "examples/yui/index.html.haml", "examples/yui/stylesheets/screen.sass", "examples/yui/sub_divisions.html.haml", "examples/yui/templates.html.haml", "examples/yui/test.jpg", "examples/yui/typography.html.haml", "frameworks/blueprint/lib/blueprint/constants.rb", "frameworks/blueprint/lib/blueprint/grid_builder.rb", "frameworks/blueprint/stylesheets/blueprint/_ie.sass", "frameworks/blueprint/stylesheets/blueprint/_print.sass", "frameworks/blueprint/stylesheets/blueprint/_screen.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_form.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass", "frameworks/blueprint/templates/project/grid.png", "frameworks/blueprint/templates/project/ie.sass", "frameworks/blueprint/templates/project/print.sass", "frameworks/blueprint/templates/project/screen.sass", "frameworks/compass/stylesheets/compass/_reset.sass", "frameworks/compass/stylesheets/compass/_utilities.sass", "frameworks/compass/stylesheets/compass/utilities/_general.sass", "frameworks/compass/stylesheets/compass/utilities/_links.sass", "frameworks/compass/stylesheets/compass/utilities/_lists.sass", "frameworks/compass/stylesheets/compass/utilities/_tables.sass", "frameworks/compass/stylesheets/compass/utilities/_text.sass", "frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass", "frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass", "frameworks/compass/stylesheets/compass/utilities/general/_reset.sass", "frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass", "frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass", "frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass", "frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass", "frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass", "frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass", "frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass", "frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass", "frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass", "frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass", "frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass", "frameworks/compass/templates/project/grid.png", "frameworks/compass/templates/project/ie.sass", "frameworks/compass/templates/project/print.sass", "frameworks/compass/templates/project/screen.sass", "frameworks/yui/COPYRIGHT", "frameworks/yui/stylesheets/yui/_screen.sass", "frameworks/yui/stylesheets/yui/modules/_base.sass", "frameworks/yui/stylesheets/yui/modules/_fonts.sass", "frameworks/yui/stylesheets/yui/modules/_grids.sass", "frameworks/yui/templates/project/screen.sass", "lib/compass/commands/base.rb", "lib/compass/commands/create_project.rb", "lib/compass/commands/install_rails.rb", "lib/compass/commands/print_version.rb", "lib/compass/commands/update_project.rb", "lib/compass/commands/watch_project.rb", "lib/compass/core_ext.rb", "lib/compass/exec.rb", "lib/compass/frameworks/blueprint.rb", "lib/compass/frameworks/compass.rb", "lib/compass/frameworks/yui.rb", "lib/compass/frameworks.rb", "lib/compass/merb.rb", "lib/compass/test_case.rb", "lib/compass/validate/COPYRIGHT.html", "lib/compass/validate/css-validator-javadoc.jar", "lib/compass/validate/css-validator.jar", "lib/compass/validate/jigsaw.jar", "lib/compass/validate/JIGSAW_COPYRIGHT", "lib/compass/validate/README.html", "lib/compass/validate/xerces.jar", "lib/compass/validate/XERCES_COPYING.txt", "lib/compass/validate.rb", "lib/compass/validator.rb", "lib/compass/version.rb", "lib/compass.rb", "lib/sass_extensions.rb", "Manifest", "Rakefile", "README.markdown", "test/compass_test.rb", "test/fixtures/stylesheets/default/sass/ie.sass", "test/fixtures/stylesheets/default/sass/print.sass", "test/fixtures/stylesheets/default/sass/screen.sass", "test/fixtures/stylesheets/yui/css/mixins.css", "test/fixtures/stylesheets/yui/sass/base.sass", "test/fixtures/stylesheets/yui/sass/fonts.sass", "test/fixtures/stylesheets/yui/sass/grids.sass", "test/fixtures/stylesheets/yui/sass/mixins.sass", "test/sass_extensions_test.rb", "test/test_helper.rb", "VERSION"]
14
+ s.homepage = %q{http://github.com/chriseppstein/compass}
15
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Compass", "--main", "README.markdown"]
16
+ s.require_paths = ["lib"]
17
+ s.rubyforge_project = %q{compass}
18
+ s.rubygems_version = %q{1.2.0}
19
+ s.summary = %q{Sass-Based CSS Meta-Framework.}
20
+ s.test_files = ["test/compass_test.rb", "test/sass_extensions_test.rb", "test/test_helper.rb"]
21
+
22
+ if s.respond_to? :specification_version then
23
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
24
+ s.specification_version = 2
25
+
26
+ if current_version >= 3 then
27
+ s.add_runtime_dependency(%q<haml>, [">= 0"])
28
+ s.add_development_dependency(%q<echoe>, [">= 0"])
29
+ else
30
+ s.add_dependency(%q<haml>, [">= 0"])
31
+ s.add_dependency(%q<echoe>, [">= 0"])
32
+ end
33
+ else
34
+ s.add_dependency(%q<haml>, [">= 0"])
35
+ s.add_dependency(%q<echoe>, [">= 0"])
36
+ end
37
+ end
@@ -0,0 +1,73 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
2
+ "http://www.w3.org/TR/html4/strict.dtd">
3
+
4
+ <html lang="en">
5
+ <head>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
7
+ <title>Blueprint test pages</title>
8
+
9
+ <!-- Framework CSS -->
10
+ <link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen, projection">
11
+ <link rel="stylesheet" href="stylesheets/index.css" type="text/css" media="screen, projection">
12
+ <link rel="stylesheet" href="stylesheets/print.css" type="text/css" media="print">
13
+ <!--[if IE]><link rel="stylesheet" href="stylesheets/ie.css" type="text/css" media="screen, projection"><![endif]-->
14
+ </head>
15
+ <body>
16
+
17
+ <div class="container">
18
+ <h1>Blueprint test pages</h1>
19
+ <hr>
20
+
21
+ <p>Welcome to the Blueprint test pages. The HTML files below tests most HTML elements, and especially classes provided
22
+ by&nbsp;Blueprint.</p>
23
+
24
+ <table border="0" cellspacing="0" cellpadding="0">
25
+ <tr>
26
+ <th class="span-6">Test page</th>
27
+ <th class="span-8">Main files tested</th>
28
+ <th class="span-10">Description</th>
29
+ </tr>
30
+ <tr>
31
+ <td><a href="parts/grid.html">Grid</a></td>
32
+ <td>
33
+ <a href="../../frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass">grid.sass</a>
34
+ </td>
35
+ <td>Tests classes provided by the grid module.</td>
36
+ </tr>
37
+ <tr class="even">
38
+ <td><a href="parts/elements.html">Typography</a></td>
39
+ <td>
40
+ <a href="../../frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass">typography.sass</a>
41
+ </td>
42
+ <td>Tests HTML elements which gets set in the typography module.</td>
43
+ </tr>
44
+ <tr>
45
+ <td><a href="parts/forms.html">Forms</a></td>
46
+ <td>
47
+ <a href="../../frameworks/blueprint/stylesheets/blueprint/modules/_form.sass">form.sass</a>
48
+ </td>
49
+ <td>Tests classes and default look provided by the form module.</td>
50
+ </tr>
51
+ </table>
52
+
53
+ <p><em><strong>Note about the css files:</strong></em>
54
+ These test files utilize the css files that are generated from
55
+ <a href="http://haml.hamptoncatlin.com/docs/rdoc/classes/Sass.html">Sass templates</a>.
56
+ In other words, if you change any of the source files,
57
+ you'll have to re-build them with <code>rake examples</code> to see any&nbsp;changes.</p>
58
+
59
+ <div class="box">
60
+ <p>For more information and help, try these resources:</p>
61
+ <ul class="bottom">
62
+ <li><a href="http://code.google.com/p/blueprintcss">The Blueprint home page.</a></li>
63
+ <li><a href="http://groups.google.com/group/blueprintcss">Our anything-goes mailing list.</a></li>
64
+ <li><a href="http://bjorkoy.com">The blog where news about Blueprint gets posted.</a></li>
65
+ </ul>
66
+ </div>
67
+
68
+ <p><a href="http://validator.w3.org/check?uri=referer">
69
+ <img src="parts/valid.png" alt="Valid HTML 4.01 Strict" height="31" width="88" class="top"></a></p>
70
+
71
+ </div>
72
+ </body>
73
+ </html>
@@ -0,0 +1,246 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
2
+ "http://www.w3.org/TR/html4/strict.dtd">
3
+
4
+ <html lang="en">
5
+ <head>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
7
+ <title>Blueprint HTML Elements Tests</title>
8
+
9
+ <!-- Framework CSS -->
10
+ <link rel="stylesheet" href="../stylesheets/screen.css" type="text/css" media="screen, projection">
11
+ <link rel="stylesheet" href="../stylesheets/print.css" type="text/css" media="print">
12
+ <!--[if IE]><link rel="stylesheet" href="../stylesheets/ie.css" type="text/css" media="screen, projection"><![endif]-->
13
+
14
+ </head>
15
+ <body>
16
+
17
+ <div class="container showgrid">
18
+ <h2>Tests for common HTML elements</h2>
19
+ <hr>
20
+
21
+ <h5>PARAGRAPHS <span class="alt">&amp;</span> BOXES</h5>
22
+
23
+ <div class="span-8">
24
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
25
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor <sub>sub text</sub> ut labore et <sup>sup text</sup> magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
26
+ </div>
27
+
28
+ <div class="span-8">
29
+ <p class="small">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
30
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
31
+ <p class="large">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
32
+ </div>
33
+
34
+ <div class="span-8 last">
35
+
36
+ <div class="box">
37
+ <p class="last">Aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
38
+ </div>
39
+ <blockquote>
40
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
41
+ </blockquote>
42
+
43
+ </div>
44
+ <hr>
45
+
46
+ <h5>LISTS</h5>
47
+
48
+ <div class="span-8">
49
+ <ul>
50
+ <li>Unordered list test</li>
51
+ <li>Another list element. Lorem ipsum dolor sit amet, consectetur adipisicing elit.</li>
52
+ <li>Yet another element in the list</li>
53
+ <li>Some long text. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.</li>
54
+ </ul>
55
+ <ol>
56
+ <li>Ordered list test</li>
57
+ <li>Another list element</li>
58
+ <li>Yet another element in the list</li>
59
+ </ol>
60
+ </div>
61
+
62
+ <div class="span-8">
63
+ <ol>
64
+ <li>Ordered list</li>
65
+ <li>Here's a nested unordered list
66
+ <ul>
67
+ <li>Nested Unordered list</li>
68
+ <li>Nested ordered list
69
+ <ol>
70
+ <li>The first</li>
71
+ <li>And the second</li>
72
+ </ol>
73
+ </li>
74
+ </ul>
75
+ </li>
76
+ <li>Ordered List item</li>
77
+ <li>Nested Ordered list
78
+ <ol>
79
+ <li>Some point</li>
80
+ <li>Nested Unordered list
81
+ <ul>
82
+ <li>The first</li>
83
+ <li>And the second</li>
84
+ </ul>
85
+ </li>
86
+ </ol>
87
+ </li>
88
+ </ol>
89
+ </div>
90
+
91
+ <div class="span-8 last">
92
+ <dl>
93
+ <dt>definition list dt</dt>
94
+ <dd>definition list dd</dd>
95
+ <dt>definition list dt</dt>
96
+ <dd>definition list dd</dd>
97
+ <dt>Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit</dt>
98
+ <dd>Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit</dd>
99
+ <dt>Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit</dt>
100
+ <dd>Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit</dd>
101
+ </dl>
102
+ </div>
103
+ <hr>
104
+
105
+ <h5>HEADINGS</h5>
106
+
107
+ <div class="span-8">
108
+ <h1>H1: Lorem ipsum dolor sit amet</h1>
109
+ <h2>H2: Lorem ipsum dolor sit amet, consectetur elit</h2>
110
+ <h3>H3: Lorem ipsum dolor sit amet, consectetur adipisicing elit</h3>
111
+ <h4>H4: Lorem ipsum dolor sit amet, consectetur adipisicing elit adipis</h4>
112
+ <h5>H5: Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit</h5>
113
+ <h6>H6: Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit</h6>
114
+ </div>
115
+
116
+ <div class="span-8">
117
+ <h1>Heading 1</h1><hr>
118
+ <h2>Heading 2</h2><hr>
119
+ <h3>Heading 3</h3><hr>
120
+ <h4>Heading 4</h4><hr>
121
+ <h5>Heading 5</h5><hr>
122
+ <h6>Heading 6</h6>
123
+ </div>
124
+
125
+ <div class="span-8 last">
126
+ <h1>Heading 1</h1>
127
+ <h2>Heading 2</h2>
128
+ <h3>Heading 3</h3>
129
+ <h4>Heading 4</h4>
130
+ <h5>Heading 5</h5>
131
+ <h6>Heading 6</h6>
132
+ </div>
133
+ <hr>
134
+
135
+ <h5>MISC ELEMENTS</h5>
136
+
137
+ <div class="span-8">
138
+ <p>
139
+ <strong>&lt;strong&gt;</strong><br>
140
+ <del>&lt;del&gt; deleted</del><br>
141
+ <dfn>&lt;dfn&gt; dfn</dfn><br>
142
+ <em>&lt;em&gt; emphasis</em>
143
+ </p>
144
+ <p>
145
+ <a>&lt;a&gt; anchor</a><br>
146
+ <a href="http://www.google.com">&lt;a&gt; a + href</a>
147
+ </p>
148
+ <p>
149
+ <abbr title="extended abbr text should show when mouse over">&lt;abbr&gt; abbr - extended text when mouseover.</abbr><br>
150
+ <acronym title="extended acronym text should show when mouse over">&lt;acronym&gt; acronym - extended text when mouseover.</acronym>
151
+ </p>
152
+ <address>
153
+ &lt;address&gt;<br>
154
+ Donald Duck<br>
155
+ Box 555<br>
156
+ Disneyland
157
+ </address>
158
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore dolore.</p>
159
+ </div>
160
+
161
+ <div class="span-8">
162
+ <table summary="This is the summary text for this table." border="0" cellspacing="0" cellpadding="0">
163
+ <caption><em>A standard test table with a caption, tr, td elements</em></caption>
164
+ <tr>
165
+ <th class="span-4">Table Header One</th>
166
+ <th class="span-4 last">Table Header Two</th>
167
+ </tr>
168
+ <tr>
169
+ <td>TD One</td>
170
+ <td>TD Two</td>
171
+ </tr>
172
+ <tr>
173
+ <td colspan="2">TD colspan 2</td>
174
+ </tr>
175
+ </table>
176
+
177
+ <table summary="This is the summary text for this table." border="0" cellspacing="0" cellpadding="0">
178
+ <caption><em>A test table with a thead, tfoot, and tbody elements</em></caption>
179
+ <thead>
180
+ <tr>
181
+ <th class="span-4">Table Header One</th>
182
+ <th class="span-4 last">Table Header Two</th>
183
+ </tr>
184
+ </thead>
185
+ <tfoot>
186
+ <tr>
187
+ <td colspan="2">tfoot footer</td>
188
+ </tr>
189
+ </tfoot>
190
+ <tbody>
191
+ <tr>
192
+ <td>TD One</td>
193
+ <td>TD Two</td>
194
+ </tr>
195
+ <tr>
196
+ <td>TD One</td>
197
+ <td>TD Two</td>
198
+ </tr>
199
+ </tbody>
200
+ <tbody>
201
+ <tr>
202
+ <td>TD One</td>
203
+ <td>TD Two</td>
204
+ </tr>
205
+ <tr>
206
+ <td>TD One</td>
207
+ <td>TD Two</td>
208
+ </tr>
209
+ </tbody>
210
+ </table>
211
+ </div>
212
+
213
+ <div class="span-8 last">
214
+
215
+ <pre>&lt;pre&gt;
216
+ pre space1
217
+ pre space1
218
+ pre space2
219
+ pre space2
220
+ pre tab
221
+ pre tab</pre>
222
+
223
+ <code>&lt;code&gt;
224
+ Not indented
225
+ indent1
226
+ indent1
227
+ indent2
228
+ indent3</code>
229
+
230
+ <tt>&lt;tt&gt;
231
+ This tt text should be monospaced
232
+ and
233
+ wrap as if
234
+ one line of text
235
+ even though the code has newlines, spaces, and tabs.
236
+ It should be the same size as &lt;p&gt; text.
237
+ </tt>
238
+ </div>
239
+ <hr>
240
+
241
+ <p><a href="http://validator.w3.org/check?uri=referer">
242
+ <img src="valid.png" alt="Valid HTML 4.01 Strict" height="31" width="88" class="top"></a></p>
243
+
244
+ </div>
245
+ </body>
246
+ </html>