Skip to content

Commit

Permalink
Merge normalize.css 3.0.2 into master
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnAlbin committed Nov 6, 2014
2 parents cba7325 + d831328 commit 2379d96
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 30 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@

== normalize.css change log

=== HEAD

=== normalize.css 3.0.2 (October 4, 2014)

* Only alter `background-color` of links in IE 10.
* Add `menu` element to HTML5 display definitions.

=== normalize.css 3.0.1 (March 27, 2014)

* Add package.json for npm support.
Expand Down
11 changes: 5 additions & 6 deletions _normalize.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* normalize-scss 3.0.1+normalize.3.0.1 | MIT/GPLv2 License | bit.ly/normalize-scss */
/* normalize-scss 3.0.1+normalize.3.0.2 | MIT/GPLv2 License | bit.ly/normalize-scss */


// Variables and Imports
Expand Down Expand Up @@ -57,9 +57,6 @@ $indent-amount: 40px !default;
@import "compass/typography/vertical_rhythm";


/* Base
========================================================================== */

@if not $strict-normalize or support-legacy-browser(ie, "7") {
/**
* Establish a vertical rhythm unit using $base-font-size, $base-line-height,
Expand Down Expand Up @@ -97,7 +94,8 @@ body {

/**
* Correct `block` display not defined for any HTML5 element in IE 8/9.
* Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
* Correct `block` display not defined for `details` or `summary` in IE 10/11
* and Firefox.
* Correct `block` display not defined for `main` in IE 11.
*/

Expand All @@ -110,6 +108,7 @@ footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
Expand Down Expand Up @@ -172,7 +171,7 @@ template {
*/

a {
background: transparent;
background-color: transparent;
}
}

Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"style": "_normalize.scss",
"files": [
"_normalize.scss",
"component.json"
],
"homepage": "https://github.com/JohnAlbin/normalize-scss",
"repository": {
Expand Down
42 changes: 20 additions & 22 deletions test.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,34 +97,32 @@ <h3 class="Test-it">should have no margin (opinionated)</h3>
(there should be no red background visible on this page)
</div>

<h2 class="Test-describe"><code>article</code>, <code>aside</code>, <code>details</code>, <code>figure</code>, <code>figcaption</code>, <code>footer</code>, <code>header</code>, <code>hgroup</code>, <code>main</code>, <code>nav</code>, <code>section</code>, <code>summary</code></h2>
<h2 class="Test-describe">
<code>article</code>, <code>aside</code>, <code>details</code>,
<code>figure</code>, <code>figcaption</code>, <code>footer</code>,
<code>header</code>, <code>hgroup</code>, <code>main</code>,
<code>menu</code>, <code>nav</code>, <code>section</code>,
<code>summary</code>
</h2>
<h3 class="Test-it">should render as block</h3>
<div class="Test-run Test-run--highlightEl" id="html5-block">
<style>
#html5-block span {
content: "";
background: #ADD8E6;
display: inline-block;
height: 10px;
width: 10px;
}
</style>
<article>article</article> <span></span>
<aside>aside</aside> <span></span>
<div class="Test-run Test-run--highlightEl">
<article>article</article>
<aside>aside</aside>
<details>
<summary>summary</summary>
details
</details> <span></span>
</details>
<figure>
figure
<figcaption>figcaption</figcaption> <span></span>
</figure> <span></span>
<footer>footer</footer> <span></span>
<header>header</header> <span></span>
<hgroup>hgroup</hgroup> <span></span>
<main>main</main> <span></span>
<nav>nav</nav> <span></span>
<section>section</section> <span></span>
<figcaption>figcaption</figcaption>
</figure>
<footer>footer</footer>
<header>header</header>
<hgroup>hgroup</hgroup>
<main>main</main>
<menu><li>menu</li></menu>
<nav>nav</nav>
<section>section</section>
</div>

<h2 class="Test-describe"><code>audio</code>, <code>canvas</code>, <code>progress</code>, <code>video</code></h2>
Expand Down
4 changes: 3 additions & 1 deletion tests/controls/safari6.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ body {
========================================================================== */
/**
* Correct `block` display not defined for any HTML5 element in IE 8/9.
* Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
* Correct `block` display not defined for `details` or `summary` in IE 10/11
* and Firefox.
* Correct `block` display not defined for `main` in IE 11.
*/
article,
Expand All @@ -38,6 +39,7 @@ footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
Expand Down

0 comments on commit 2379d96

Please sign in to comment.