normalize.css
Advanced tools
Comparing version 3.0.3 to 4.0.0
@@ -1,9 +0,37 @@ | ||
=== HEAD | ||
# Changes to normalize.css | ||
=== 3.0.3 (March 30, 2015) | ||
### 4.0.0 (March 19, 2016) | ||
* Add the correct font weight for `b` and `strong` in Chrome, Edge, and Safari. | ||
* Correct inconsistent `overflow` for `hr` in Edge and IE. | ||
* Correct inconsistent `box-sizing` for `hr` in Firefox. | ||
* Correct inconsistent `text-decoration` and `border-bottom` for `abbr[title]` | ||
in Chrome, Edge, Firefox IE, Opera, and Safari. | ||
* Correct inheritance and scaling of `font-size` for preformatted text. | ||
* Correct `legend` text wrapping not present in Edge and IE. | ||
* Remove unnecessary normalization of `line-height` for `input`. | ||
* Remove unnecessary normalization of `color` for form controls. | ||
* Remove unnecessary `box-sizing` for `input[type="search"]` in Chrome, Edge, | ||
Firefox, IE, and Safari. | ||
* Remove opinionated table resets. | ||
* Remove opinionated `pre` overflow. | ||
* Remove selector weight from some input selectors. | ||
* Update normalization of `border-style` for `img`. | ||
* Update normalization of `color` inheritance for `legend`. | ||
* Update normalization of `background-color` for `mark`. | ||
* Update normalization of `outline` for `:-moz-focusring` removed by a previous | ||
normalization in Firefox. | ||
* Update opinionated style of `outline-width` for `a:active` and `a:hover`. | ||
* Update comments to identify opinionated styles. | ||
* Update comments to specify browser/versions affected by all changes. | ||
* Update comments to use one voice. | ||
--- | ||
### 3.0.3 (March 30, 2015) | ||
* Remove unnecessary vendor prefixes. | ||
* Add `main` property. | ||
=== 3.0.2 (October 4, 2014) | ||
### 3.0.2 (October 4, 2014) | ||
@@ -13,9 +41,9 @@ * Only alter `background-color` of links in IE 10. | ||
=== 3.0.1 (March 27, 2014) | ||
### 3.0.1 (March 27, 2014) | ||
* Add package.json for npm support. | ||
=== 3.0.0 (January 28, 2014) | ||
### 3.0.0 (January 28, 2014) | ||
=== 3.0.0-rc.1 (January 26, 2014) | ||
### 3.0.0-rc.1 (January 26, 2014) | ||
@@ -36,12 +64,14 @@ * Explicit tests for each normalization. | ||
=== 2.1.3 (August 26, 2013) | ||
--- | ||
### 2.1.3 (August 26, 2013) | ||
* Fix component.json. | ||
* Remove the gray background color from active links in IE 10. | ||
=== 2.1.2 (May 11, 2013) | ||
### 2.1.2 (May 11, 2013) | ||
* Revert root `color` and `background` normalizations. | ||
=== 2.1.1 (April 8, 2013) | ||
### 2.1.1 (April 8, 2013) | ||
@@ -51,3 +81,3 @@ * Normalize root `color` and `background` to counter the effects of system | ||
=== 2.1.0 (January 21, 2013) | ||
### 2.1.0 (January 21, 2013) | ||
@@ -61,7 +91,7 @@ * Normalize `text-transform` for `button` and `select`. | ||
=== 2.0.1 (August 20, 2012) | ||
### 2.0.1 (August 20, 2012) | ||
* Remove stray IE 6/7 `inline-block` hack from HTML5 display settings. | ||
=== 2.0.0 (August 19, 2012) | ||
### 2.0.0 (August 19, 2012) | ||
@@ -75,7 +105,9 @@ * Remove legacy browser form normalizations. | ||
=== 1.0.1 (August 19, 2012) | ||
--- | ||
### 1.0.1 (August 19, 2012) | ||
* Adjust `small` font size normalization. | ||
=== 1.0.0 (August 14, 2012) | ||
### 1.0.0 (August 14, 2012) | ||
@@ -85,8 +117,8 @@ (Only the notable changes since public release) | ||
* Add MIT License. | ||
* Hide `audio` elements without controls in iOS 5 (#69). | ||
* Hide `audio` elements without controls in iOS 5. | ||
* Normalize heading margins and font size. | ||
* Move font-family normalization from `body` to `html` (#62). | ||
* Remove scrollbar normalization (#64 #65). | ||
* Remove excess padding from checkbox and radio inputs in IE 7 (#42). | ||
* Add IE9 correction for SVG overflow (#16). | ||
* Move font-family normalization from `body` to `html`. | ||
* Remove scrollbar normalization. | ||
* Remove excess padding from checkbox and radio inputs in IE 7. | ||
* Add IE9 correction for SVG overflow. | ||
* Add fix for legend not inheriting color in IE 6/7/8/9. |
@@ -1,3 +0,5 @@ | ||
Copyright (c) Nicolas Gallagher and Jonathan Neal | ||
# The MIT License (MIT) | ||
Copyright © Nicolas Gallagher and Jonathan Neal | ||
Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
@@ -4,0 +6,0 @@ this software and associated documentation files (the "Software"), to deal in |
{ | ||
"name": "normalize.css", | ||
"version": "3.0.3", | ||
"description": "Normalize.css as a node packaged module", | ||
"version": "4.0.0", | ||
"description": "A modern alternative to CSS resets", | ||
"style": "normalize.css", | ||
@@ -10,10 +10,20 @@ "files": [ | ||
], | ||
"homepage": "http://necolas.github.io/normalize.css", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/necolas/normalize.css.git" | ||
"devDependencies": { | ||
"stylelint": "^5.1.0", | ||
"stylelint-config-standard": "^4.0.1" | ||
}, | ||
"main": "normalize.css", | ||
"author": "Nicolas Gallagher", | ||
"license": "MIT" | ||
"scripts": { | ||
"test": "stylelint normalize.css" | ||
}, | ||
"repository": "necolas/normalize.css", | ||
"contributors": [ | ||
"Jonathan Neal <jonathantneal@hotmail.com> (http://jonathantneal.com/)", | ||
"Nicolas Gallagher <nicolas@nicolasgallagher.com> (http://nicolasgallagher.com/)" | ||
], | ||
"license": "MIT", | ||
"bugs": "https://github.com/necolas/normalize.css/issues", | ||
"homepage": "https://necolas.github.io/normalize.css#readme", | ||
"stylelint": { | ||
"extends": "stylelint-config-standard" | ||
} | ||
} |
112
README.md
@@ -1,25 +0,35 @@ | ||
# normalize.css v3 | ||
# normalize.css | ||
Normalize.css is a customisable CSS file that makes browsers render all | ||
elements more consistently and in line with modern standards. | ||
<a href="https://github.com/necolas/normalize.css"><img | ||
src="https://necolas.github.io/normalize.css/logo.svg" alt="Normalize Logo" | ||
width="80" height="80" align="right"></a> | ||
The project relies on researching the differences between default browser | ||
styles in order to precisely target only the styles that need or benefit from | ||
normalizing. | ||
> A modern alternative to CSS resets | ||
[View the test file](http://necolas.github.io/normalize.css/latest/test.html) | ||
[![npm][npm-image]][npm-url] [![license][license-image]][license-url] | ||
[![changelog][changelog-image]][changelog-url] | ||
[![gitter][gitter-image]][gitter-url] | ||
## Install | ||
* [npm](http://npmjs.org/): `npm install --save normalize.css` | ||
* [Component(1)](https://github.com/component/component/): `component install necolas/normalize.css` | ||
* [Bower](http://bower.io/): `bower install --save normalize.css` | ||
* [cdnjs](https://cdnjs.com/libraries/normalize) | ||
* [Download](http://necolas.github.io/normalize.css/latest/normalize.css). | ||
**NPM** | ||
No other styles should come before Normalize.css. | ||
```sh | ||
npm install --save normalize.css | ||
``` | ||
It is recommended that you include the `normalize.css` file as untouched | ||
library code. | ||
**Bower** | ||
```sh | ||
bower install --save normalize-css | ||
``` | ||
**CDN** | ||
See https://cdnjs.com/libraries/normalize | ||
**Download** | ||
See https://necolas.github.io/normalize.css/latest/normalize.css | ||
## What does it do? | ||
@@ -33,17 +43,20 @@ | ||
## Browser support | ||
* Google Chrome (latest) | ||
* Mozilla Firefox (latest) | ||
* Mozilla Firefox ESR | ||
* Opera (latest) | ||
* Apple Safari 6+ | ||
* Chrome (last two) | ||
* Edge (last two) | ||
* Firefox (last two) | ||
* Firefox ESR | ||
* Internet Explorer 8+ | ||
* Opera (last two) | ||
* Safari 6+ | ||
[Normalize.css v1 provides legacy browser | ||
support](https://github.com/necolas/normalize.css/tree/v1) (IE 6+, Safari 4+), | ||
but is no longer actively developed. | ||
*[Normalize.css v1 provides legacy browser support] | ||
(https://github.com/necolas/normalize.css/tree/v1) (IE 6+, Safari 4+), | ||
but is no longer actively developed.* | ||
## Extended details | ||
## Extended details and known issues | ||
Additional detail and explanation of the esoteric parts of normalize.css. | ||
@@ -54,4 +67,4 @@ | ||
The `font-family: monospace, monospace` hack fixes the inheritance and scaling | ||
of font-size for preformated text. The duplication of `monospace` is | ||
intentional. [Source](http://en.wikipedia.org/wiki/User:Davidgothberg/Test59). | ||
of font-size for preformatted text. The duplication of `monospace` is | ||
intentional. [Source](https://en.wikipedia.org/wiki/User:Davidgothberg/Test59). | ||
@@ -61,3 +74,3 @@ #### `sub, sup` | ||
Normally, using `sub` or `sup` affects the line-box height of text in all | ||
browsers. [Source](http://gist.github.com/413930). | ||
browsers. [Source](https://gist.github.com/413930). | ||
@@ -68,7 +81,23 @@ #### `svg:not(:root)` | ||
don't support SVG, so we can safely use the `:not()` and `:root` selectors that | ||
modern browsers use in the default UA stylesheets to apply this style. [SVG | ||
Mailing List discussion](http://lists.w3.org/Archives/Public/public-svg-wg/2008JulSep/0339.html) | ||
modern browsers use in the default UA stylesheets to apply this style. [Source] | ||
(https://lists.w3.org/Archives/Public/public-svg-wg/2008JulSep/0339.html). | ||
#### `input[type="search"]` | ||
#### `select` | ||
By default, Chrome on OS X and Safari on OS X allow very limited styling of | ||
`select`, unless a border property is set. The default font weight on `optgroup` | ||
elements cannot safely be changed in Chrome on OSX and Safari on OS X. | ||
#### `[type="checkbox"]` | ||
It is recommended that you do not style checkbox and radio inputs as Firefox's | ||
implementation does not respect box-sizing, padding, or width. | ||
#### `[type="number"]` | ||
Certain font size values applied to number inputs cause the cursor style of the | ||
decrement button to change from `default` to `text`. | ||
#### `[type="search"]` | ||
The search input is not fully stylable by default. In Chrome and Safari on | ||
@@ -80,13 +109,12 @@ OSX/iOS you can't control `font`, `padding`, `border`, or `background`. In | ||
addresses these issues without removing the benefits of search inputs (e.g. | ||
showing past searches). | ||
showing past searches). Safari (but not Chrome) will clip the cancel button on | ||
when it has padding (and `textfield` appearance). | ||
#### `legend` | ||
Adding `border: 0` corrects an IE 8–11 bug where `color` (yes, `color`) is not | ||
inherited by `legend`. | ||
## Contributing | ||
Please read the CONTRIBUTING.md | ||
Please read the [contribution guidelines](CONTRIBUTING.md) in order to make the | ||
contribution process easy and effective for everyone involved. | ||
## Acknowledgements | ||
@@ -96,1 +124,11 @@ | ||
co-created with [Jonathan Neal](https://github.com/jonathantneal). | ||
[changelog-image]: https://img.shields.io/badge/changelog-md-blue.svg?style=flat-square | ||
[changelog-url]: CHANGELOG.md | ||
[license-image]: https://img.shields.io/npm/l/normalize.css.svg?style=flat-square | ||
[license-url]: LICENSE.md | ||
[npm-image]: https://img.shields.io/npm/v/normalize.css.svg?style=flat-square | ||
[npm-url]: https://www.npmjs.com/package/normalize.css | ||
[gitter-image]: https://img.shields.io/badge/chat-gitter-blue.svg?style=flat-square | ||
[gitter-url]: https://gitter.im/necolas/normalize.css |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
16754
0
129
2
338
1