|
| 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 | + |
1 | 20 | ## 3.3.0 (2016-03-03)
|
2 | 21 |
|
3 | 22 | - Added: `b` and `strong` normalization
|
4 | 23 | - Added: `::-moz-focus-inner` normalization
|
5 | 24 | - Added: `hr` normalization
|
6 | 25 | - 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 |
8 | 28 | - Updated: Moved source and compiled libraries
|
9 | 29 |
|
10 | 30 | ## 3.2.0 (2016-02-03)
|
|
58 | 78 | - Removed: Standards-breaking IE-proprietary style `[unselectable="on"]`
|
59 | 79 | - Removed: Prefix-less properties and the use of Autoprefixer
|
60 | 80 | - 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** |
62 | 83 | - Updated: Licensing reference in package.json
|
63 | 84 | - Updated: Development dependencies
|
64 | 85 | - Updated: README.md and code documentation
|
|
82 | 103 |
|
83 | 104 | - Updated: Moved from normalize.css to sanitize.css
|
84 | 105 |
|
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. |
86 | 114 |
|
87 | 115 | ## 0.0.0 (2011-04-21)
|
88 | 116 |
|
|
0 commit comments