compass-normalize-plugin 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.md CHANGED
@@ -1,4 +1,11 @@
1
- v.0.3.1 [Jul 10 2012]
1
+ [v.0.3.2] [Aug 18 2012]
2
+ - - - - - - - - - - -
3
+
4
+ - Synced with Normalize.css version 1.0
5
+ - Mainly comment changes and a couple of code fixes
6
+
7
+
8
+ [v.0.3.1] [Jul 10 2012]
2
9
  - - - - - - - - - - -
3
10
 
4
11
  - Corrects the package meta information.
@@ -34,4 +41,4 @@ Adds support for configurable browser optimization.
34
41
  v0.1.0 [Mar 29 2012]
35
42
  - - - - - - - - - - -
36
43
 
37
- Initial import of normalize.css
44
+ Initial import of normalize.css
@@ -1,11 +1,11 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
 
3
3
  Gem::Specification.new do |s|
4
- s.version = "0.3.1"
5
- s.date = %q{2012-07-10}
4
+ s.version = "0.3.2"
5
+ s.date = %q{2012-08-18}
6
6
 
7
7
  s.name = %q{compass-normalize-plugin}
8
- s.authors = ["Johannes Roettger", "Nicolas Gallagher", "Jonathan Neal"]
8
+ s.authors = ["Johannes Roettger", "Nicolas Gallagher", "Jonathan Neal", "'Ley Missailidis" ]
9
9
  s.summary = %q{Makes browsers render HTML elements consistently and in line with modern standards.}
10
10
  s.description = %q{This is a normalize.css extension for the Compass framework.}
11
11
  s.email = %q{johannes@zorn.in}
@@ -1,7 +1,7 @@
1
1
  @mixin normalize-base {
2
2
  html {
3
3
  @if ($legacy-support-for-ie6 or $legacy-support-for-ie7) {
4
- // Corrects text resizing oddly in IE6/7 when body font-size is set using em units
4
+ // Corrects text resizing oddly in IE6/7 when body `font-size` is set using `em` units.
5
5
  // http://clagnut.com/blog/348/#c790
6
6
  font-size: 100%;
7
7
  }
@@ -12,7 +12,7 @@
12
12
  -ms-text-size-adjust: 100%;
13
13
  }
14
14
 
15
- // Addresses font-family inconsistency between 'textarea' and other form elements.
15
+ // Addresses font-family inconsistency between `textarea` and other form elements.
16
16
  html,
17
17
  button,
18
18
  input,
@@ -22,9 +22,9 @@
22
22
  }
23
23
 
24
24
  @if ($legacy-support-for-ie6 or $legacy-support-for-ie7) {
25
- // Addresses margins handled incorrectly in IE6/7
25
+ // Addresses margins handled incorrectly in IE 6/7
26
26
  body {
27
27
  margin: 0;
28
28
  }
29
29
  }
30
- }
30
+ }
@@ -1,6 +1,6 @@
1
1
  @mixin normalize-embedded {
2
2
  img {
3
- // Removes border when inside 'a' element in IE6/7/8/9, FF3
3
+ // Removes border when inside `a` element in IE 6/7/8/9, Firefox 3
4
4
  border: 0;
5
5
 
6
6
  @if $legacy-support-for-ie7 {
@@ -10,8 +10,8 @@
10
10
  }
11
11
  }
12
12
 
13
- // Corrects overflow displayed oddly in IE9
13
+ // Corrects overflow displayed oddly in IE 9
14
14
  svg:not(:root) {
15
15
  overflow: hidden;
16
16
  }
17
- }
17
+ }
@@ -1,6 +1,6 @@
1
1
  @mixin normalize-figures {
2
- // Addresses margin not present in IE6/7/8/9, S5, O11
2
+ // Addresses margin not present in IE 6/7/8/9, Safari 5, Opera 11.
3
3
  figure {
4
4
  margin: 0;
5
5
  }
6
- }
6
+ }
@@ -1,29 +1,30 @@
1
1
  @mixin normalize-forms {
2
2
  @if ($legacy-support-for-ie6 or $legacy-support-for-ie7) {
3
- // Corrects margin displayed oddly in IE6/7
3
+ // Corrects margin displayed oddly in IE 6/7
4
4
  form {
5
5
  margin: 0;
6
6
  }
7
7
  }
8
8
 
9
- // Define consistent border, margin, and padding
9
+ // Define consistent border, margin, and padding.
10
10
  fieldset {
11
11
  border: 1px solid #c0c0c0;
12
12
  margin: 0 2px;
13
13
  padding: 0.35em 0.625em 0.75em;
14
14
  }
15
-
15
+
16
16
  legend {
17
- border: 0;
17
+ // Corrects color not being inherited in IE 6/7/8/9.
18
+ border: 0;
18
19
  padding: 0;
19
20
 
20
21
  @if $legacy-support-for-ff3 {
21
- // Corrects text not wrapping in FF3
22
+ // Corrects text not wrapping in Firefox 3.
22
23
  white-space: normal;
23
24
  }
24
25
 
25
26
  @if ($legacy-support-for-ie6 or $legacy-support-for-ie7) {
26
- // Corrects alignment displayed oddly in IE6/7
27
+ // Corrects alignment displayed oddly in IE 6/7
27
28
  *margin-left: -7px;
28
29
  }
29
30
  }
@@ -32,41 +33,40 @@
32
33
  input,
33
34
  select,
34
35
  textarea {
35
- // Corrects font size not being inherited in all browsers
36
+ // Corrects font size not being inherited in all browsers.
36
37
  font-size: 100%;
37
38
 
38
- // Addresses margins set differently in IE6/7, FF3+, S5, Chrome
39
+ // Addresses margins set differently in IE 6/7, Firefox 3+, Safari 5, Chrome.
39
40
  margin: 0;
40
41
 
41
- // Improves appearance and consistency in all browsers
42
+ // Improves appearance and consistency in all browsers.
42
43
  vertical-align: baseline;
43
44
  *vertical-align: middle;
44
45
  }
45
46
 
46
- // Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet
47
+ // Addresses Firefox 3+ setting `line-height` on `input` using `!important` in the UA stylesheet.
47
48
  button,
48
49
  input {
49
50
  line-height: normal;
50
51
  }
52
+ // 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls.
53
+ // 2. Corrects inability to style clickable `input` types in iOS.
54
+ // 3. Improves usability and consistency of cursor style between image-type `input` and others.
55
+ // 4. Removes inner spacing in IE 7 without affecting normal text inputs. - Known issue: inner spacing remains in IE 6.
51
56
 
52
57
  button,
53
- input[type="button"],
58
+ html input[type="button"], // 1
54
59
  input[type="reset"],
55
60
  input[type="submit"] {
56
- // Improves usability and consistency of cursor style between image-type 'input' and others
57
- cursor: pointer;
58
-
59
- // Corrects inability to style clickable 'input' types in iOS
60
- -webkit-appearance: button;
61
+ -webkit-appearance: button; // 2
62
+ cursor: pointer; // 3
61
63
 
62
64
  @if $legacy-support-for-ie7 {
63
- // Removes inner spacing in IE7 without affecting normal text inputs
64
- // Known issue: inner spacing remains in IE6
65
- *overflow: visible;
65
+ *overflow: visible; // 4
66
66
  }
67
67
  }
68
68
 
69
- // Re-set default cursor for disabled elements
69
+ // Re-set default cursor for disabled elements.
70
70
  button[disabled],
71
71
  input[disabled] {
72
72
  cursor: default;
@@ -74,39 +74,38 @@
74
74
 
75
75
  input[type="checkbox"],
76
76
  input[type="radio"] {
77
- // Addresses box sizing set to content-box in IE8/9
77
+ // Addresses box sizing set to content-box in IE 8/9.
78
78
  box-sizing: border-box;
79
79
 
80
- // Removes excess padding in IE8/9
80
+ // Removes excess padding in IE 8/9.
81
81
  padding: 0;
82
82
 
83
83
  @if $legacy-support-for-ie7 {
84
- // Removes excess padding in IE7
85
- // Known issue: excess padding remains in IE6
84
+ // Removes excess padding in IE 7.
85
+ // Known issue: excess padding remains in IE 6.
86
86
  *height: 13px;
87
87
  *width: 13px;
88
88
  }
89
89
  }
90
90
 
91
91
  input[type="search"] {
92
- // Addresses appearance set to searchfield in S5, Chrome
92
+ // Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
93
93
  -webkit-appearance: textfield;
94
94
 
95
- // Addresses box-sizing set to border-box in S5, Chrome (include -moz to future-proof)
95
+ // Addresses `box-sizing` set to `border-box` in Safari 5, Chrome (include -moz to future-proof)
96
96
  -webkit-box-sizing: content-box;
97
- -moz-box-sizing: content-box;
98
-
97
+ -moz-box-sizing: content-box;
99
98
  box-sizing: content-box;
100
99
  }
101
100
 
102
- // Removes inner padding and search cancel button in S5, Chrome on OS X
101
+ // Removes inner padding and search cancel button in Safari 5 and Chrome on OS X.
103
102
  input[type="search"]::-webkit-search-decoration,
104
103
  input[type="search"]::-webkit-search-cancel-button {
105
104
  -webkit-appearance: none;
106
105
  }
107
106
 
108
107
  @if $legacy-support-for-ff3 {
109
- // Removes inner padding and border in FF3+
108
+ // Removes inner padding and border in Firefox 3+.
110
109
  // www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
111
110
  button::-moz-focus-inner,
112
111
  input::-moz-focus-inner {
@@ -116,10 +115,10 @@
116
115
  }
117
116
 
118
117
  textarea {
119
- // Removes default vertical scrollbar in IE6/7/8/9
118
+ // Removes default vertical scrollbar in IE 6/7/8/9
120
119
  overflow: auto;
121
120
 
122
121
  // Improves readability and alignment in all browsers
123
122
  vertical-align: top;
124
123
  }
125
- }
124
+ }
@@ -1,5 +1,5 @@
1
1
  @mixin normalize-html5 {
2
- // Corrects block display not defined in IE6/7/8/9 & FF3
2
+ // Corrects `block` display not defined in IE6/7/8/9 & FF3
3
3
  article,
4
4
  aside,
5
5
  details,
@@ -14,7 +14,7 @@
14
14
  display: block;
15
15
  }
16
16
 
17
- // Corrects inline-block display not defined in IE6/7/8/9 & FF3
17
+ // Corrects `inline-block` display not defined in IE6/7/8/9 and Firefox 3.
18
18
  audio,
19
19
  canvas,
20
20
  video {
@@ -23,16 +23,16 @@
23
23
  *zoom: 1;
24
24
  }
25
25
 
26
- // Prevents modern browsers from displaying 'audio' without controls
27
- // Remove excess height in iOS5 devices
26
+ // Prevents modern browsers from displaying `audio` without controls
27
+ // Remove excess height in iOS 5 devices.
28
28
  audio:not([controls]) {
29
29
  display: none;
30
30
  height: 0;
31
31
  }
32
32
 
33
- // Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
33
+ // Addresses styling for `hidden` attribute not present in IE7/8/9, Firefox 3, and Safari 4
34
34
  // Known issue: no IE6 support
35
35
  [hidden] {
36
36
  display: none;
37
37
  }
38
- }
38
+ }
@@ -1,15 +1,15 @@
1
1
  @mixin normalize-links {
2
2
  a {
3
- // Addresses outline displayed oddly in Chrome
3
+ // Addresses `outline` inconssitency between Chrome and other browsers.
4
4
  &:focus {
5
5
  outline: thin dotted;
6
6
  }
7
7
 
8
- // Improves readability when focused and also mouse hovered in all browsers
8
+ // Improves readability when focused and also mouse hovered in all browsers.
9
9
  // people.opera.com/patrickl/experiments/keyboard/test
10
10
  &:hover,
11
11
  &:active {
12
12
  outline: 0;
13
13
  }
14
14
  }
15
- }
15
+ }
@@ -1,6 +1,6 @@
1
1
  @mixin normalize-lists {
2
2
  @if ($legacy-support-for-ie6 or $legacy-support-for-ie7) {
3
- // Addresses margins set differently in IE6/7
3
+ // Addresses margins set differently in IE 6/7
4
4
  dl,
5
5
  menu,
6
6
  ol,
@@ -12,7 +12,7 @@
12
12
  margin: 0 0 0 40px;
13
13
  }
14
14
 
15
- // Addresses paddings set differently in IE6/7
15
+ // Addresses paddings set differently in IE 6/7
16
16
  menu,
17
17
  ol,
18
18
  ul {
@@ -21,7 +21,7 @@
21
21
  }
22
22
 
23
23
  @if $legacy-support-for-ie7 {
24
- // Corrects list images handled incorrectly in IE7
24
+ // Corrects list images handled incorrectly in IE 7
25
25
  nav {
26
26
  ul,
27
27
  ol {
@@ -30,4 +30,4 @@
30
30
  }
31
31
  }
32
32
  }
33
- }
33
+ }
@@ -1,7 +1,7 @@
1
1
  @mixin normalize-tables {
2
- // Remove most spacing between table cells
2
+ // Remove most spacing between table cells.
3
3
  table {
4
4
  border-collapse: collapse;
5
5
  border-spacing: 0;
6
6
  }
7
- }
7
+ }
@@ -1,6 +1,6 @@
1
1
  @mixin normalize-typography {
2
- // Addresses font sizes and margins set differently in IE6/7
3
- // Addresses font sizes within 'section' and 'article' in FF4+, Chrome, S5
2
+ // Addresses font sizes and margins set differently in IE 6/7
3
+ // Addresses font sizes within `section` and `article` in Firefox 4+, Safari 5, and Chrome.
4
4
  h1 {
5
5
  font-size: 2em;
6
6
  margin: 0.67em 0;
@@ -31,12 +31,12 @@
31
31
  margin: 2.33em 0;
32
32
  }
33
33
 
34
- // Addresses styling not present in IE7/8/9, S5, Chrome
34
+ // Addresses styling not present in IE 7/8/9, Safari 5, Chrome.
35
35
  abbr[title] {
36
36
  border-bottom: 1px dotted;
37
37
  }
38
38
 
39
- // Addresses style set to 'bolder' in FF3+, S4/5, Chrome
39
+ // Addresses style set to 'bolder' in Firefox 3+, Safari 4/5, Chrome.
40
40
  b,
41
41
  strong {
42
42
  font-weight: bold;
@@ -46,30 +46,30 @@
46
46
  margin: 1em 40px;
47
47
  }
48
48
 
49
- // Addresses styling not present in S5, Chrome
49
+ // Addresses styling not present in Safari 5, Chrome.
50
50
  dfn {
51
51
  font-style: italic;
52
52
  }
53
53
 
54
- // Addresses styling not present in IE6/7/8/9
54
+ // Addresses styling not present in IE 6/7/8/9
55
55
  mark {
56
56
  background: #ff0;
57
57
  color: #000;
58
58
  }
59
59
 
60
60
  @if ($legacy-support-for-ie6 or $legacy-support-for-ie7) {
61
- // Addresses margins set differently in IE6/7
61
+ // Addresses margins set differently in IE 6/7
62
62
  p,
63
63
  pre {
64
64
  margin: 1em 0;
65
65
  }
66
66
  }
67
67
 
68
- // Corrects font family set oddly in IE6, S4/5, Chrome
68
+ // Corrects font family set oddly in IE 6, Safari 4/5, and Chrome.
69
69
  // en.wikipedia.org/wiki/User:Davidgothberg/Test59
70
- pre,
71
70
  code,
72
71
  kbd,
72
+ pre,
73
73
  samp {
74
74
  font-family: monospace, serif;
75
75
  _font-family: 'courier new', monospace;
@@ -84,13 +84,13 @@
84
84
  }
85
85
 
86
86
  @if ($legacy-support-for-ie6 or $legacy-support-for-ie7) {
87
- // Addresses CSS quotes not supported in IE6/7
87
+ // Addresses CSS quotes not supported in IE 6/7
88
88
  q {
89
89
  quotes: none;
90
90
  }
91
91
  }
92
92
 
93
- // Addresses quote property not supported in S4
93
+ // Addresses `quotes` property not supported in Safari 4
94
94
  q:before,
95
95
  q:after {
96
96
  content: '';
@@ -101,7 +101,7 @@
101
101
  font-size: 75%;
102
102
  }
103
103
 
104
- // Prevents sub and sup affecting line-height in all browsers
104
+ // Prevents `sub` and `sup` affecting `line-height` in all browsers.
105
105
  // gist.github.com/413930
106
106
  sub,
107
107
  sup {
@@ -118,4 +118,4 @@
118
118
  sub {
119
119
  bottom: -0.25em;
120
120
  }
121
- }
121
+ }
metadata CHANGED
@@ -1,21 +1,22 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass-normalize-plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Johannes Roettger
9
9
  - Nicolas Gallagher
10
10
  - Jonathan Neal
11
+ - ! '''Ley Missailidis'
11
12
  autorequire:
12
13
  bindir: bin
13
14
  cert_chain: []
14
- date: 2012-07-10 00:00:00.000000000 Z
15
+ date: 2012-08-18 00:00:00.000000000 Z
15
16
  dependencies:
16
17
  - !ruby/object:Gem::Dependency
17
18
  name: compass
18
- requirement: &70338835892100 !ruby/object:Gem::Requirement
19
+ requirement: &70237505086080 !ruby/object:Gem::Requirement
19
20
  none: false
20
21
  requirements:
21
22
  - - ! '>='
@@ -23,7 +24,7 @@ dependencies:
23
24
  version: 0.11.1
24
25
  type: :runtime
25
26
  prerelease: false
26
- version_requirements: *70338835892100
27
+ version_requirements: *70237505086080
27
28
  description: This is a normalize.css extension for the Compass framework.
28
29
  email: johannes@zorn.in
29
30
  executables: []