Skip to content

Commit bf3d695

Browse files
4.0.0 (#103)
1 parent f6b74d0 commit bf3d695

19 files changed

+1114
-2497
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
node_modules
2-
npm-debug.log
1+
/node_modules
2+
/npm-debug.log

.npmignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/task
2+
/.editorconfig
3+
/.travis.yml
4+
/bower.json

.stylelintrc

Lines changed: 0 additions & 78 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
sudo: false
21
language: node_js
32
node_js:
43
- stable
5-
- "0.12"

CHANGELOG.md

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,30 @@
1+
## 4.0.0 (2016-06-20)
2+
3+
- Added: All improvements from normalize.css v4.1.1
4+
- Added: Documentation for each opinionated feature
5+
- Added: Universal `background-repeat: no-repeat`
6+
- Removed: Reset of universal `margin` and `padding`
7+
- Removed: Inheritance of `font-size` on elements
8+
(form control elements still have it)
9+
- Removed: Pre-compiled files that used variables
10+
- Updated: `abbr[title]` styled using `border-bottom` over `text-decoration`
11+
- Updated: Tests and linting
12+
13+
### Why are variables removed in v4?
14+
15+
Variables were there for developers to override styles in sanitize.css without
16+
editing the original file or overriding the rule. However, you *should* override
17+
the rule so that your change is explicit, and so that your source maps
18+
accurately indicate your changes coming from your files.
19+
120
## 3.3.0 (2016-03-03)
221

322
- Added: `b` and `strong` normalization
423
- Added: `::-moz-focus-inner` normalization
524
- Added: `hr` normalization
625
- Added: `svg` fill as the current color
7-
- Updated: Organized rules into normalization, universal inheritance, opinionated defaults, and configurable defaults
26+
- Updated: Organized rules into normalization, universal inheritance,
27+
opinionated defaults, and configurable defaults
828
- Updated: Moved source and compiled libraries
929

1030
## 3.2.0 (2016-02-03)
@@ -58,7 +78,8 @@
5878
- Removed: Standards-breaking IE-proprietary style `[unselectable="on"]`
5979
- Removed: Prefix-less properties and the use of Autoprefixer
6080
- Updated: Form styling
61-
- Updated: Support for the latest **Chrome**, **Edge**, **Firefox**, and **Safari**
81+
- Updated: Support for the latest **Chrome**, **Edge**, **Firefox**,
82+
and **Safari**
6283
- Updated: Licensing reference in package.json
6384
- Updated: Development dependencies
6485
- Updated: README.md and code documentation
@@ -82,7 +103,14 @@
82103

83104
- Updated: Moved from normalize.css to sanitize.css
84105

85-
> Normalize.css had and still has opinionated, developer-centric styles. For example, `sub` and `sup` elements are styled to not impact the line height of text, and `table`, `th`, and `td` omit all spacing. As Nicolas pushed Normalize.css into maturity, future preferences like these no longer had a place in the project. Almost a year later, Sanitize was officially branded. Where Normalize.css conservatively follows user agent consensus and results in more pre-styled elements, Sanitize.css liberally follows developer consensus and results in more unstyled elements.
106+
> Normalize.css had and still has opinionated, developer-centric styles. For
107+
example, `sub` and `sup` elements are styled to not impact the line height of
108+
text, and `table`, `th`, and `td` omit all spacing. As Nicolas pushed
109+
Normalize.css into maturity, future preferences like these no longer had a
110+
place in the project. Almost a year later, Sanitize was officially branded.
111+
Where Normalize.css conservatively follows user agent consensus and results
112+
in more pre-styled elements, Sanitize.css liberally follows developer
113+
consensus and results in more unstyled elements.
86114

87115
## 0.0.0 (2011-04-21)
88116

0 commit comments

Comments
 (0)