100 Commits
Author SHA1 Message Date
Nicolas Gallagher fc091cce15 8.0.1 2018-11-04 18:29:43 -08:00
Nicolas Gallagher b6cc0ceb21 Remove stylelint
This development dependency was resulting in normalize.css being marked
as containing a potential security vulnerability.
2018-11-04 17:37:28 -08:00
Nicolas Gallagher 7369f56689 Fix typo in CHANGELOG
Fix #725
2018-02-11 07:53:41 -08:00
Nicolas Gallagher 4ab3de5bdd v8.0.0 2018-02-08 15:59:35 -08:00
Nicolas Gallagher 93a6e5fa92 Update CHANGELOG 2018-02-08 15:57:42 -08:00
Nicolas Gallagher f7c98c4c85 Don't remove search input cancel button in Chrome/Safari
Fix #685
2018-02-08 15:50:08 -08:00
Nicolas Gallagher 9f4876b9be Add package-lock.json 2018-02-08 15:43:17 -08:00
Nicolas Gallagher 906395b611 Remove bower 2018-02-08 15:39:34 -08:00
Nicolas Gallagher 004d58b2f2 Update browser support
Drop support for older browsers: IE 9-, Android 4, Safari 7-.

Close #676
Close #690
Close #712
Close #723
Fix #718
2018-02-08 15:38:33 -08:00
Nicolas Gallagher 331e2e400e Point to yarnpkg's list of CDNs
Close #705
2018-02-08 15:29:26 -08:00
Nicolas Gallagher 73b6b0c7e8 7.0.0 2017-05-02 11:14:41 -07:00
Nicolas Gallagher b4a8fdaf83 Revert changes to 'body' and form elements 2017-05-02 11:12:57 -07:00
Nicolas Gallagher 62b4a86c28 Non-functional maintenance 2017-05-02 11:07:41 -07:00
Nicolas Gallagher 8cfa3e765e Remove Bower and Component(1) files
Close #455
2016-01-04 21:27:41 -08:00
Nicolas Gallagher 2f8e4748ac Remove 'hgroup'
Fix #472
Close #474
2016-01-04 21:24:59 -08:00
Nicolas Gallagher 2bdda84272 3.0.3 2015-03-30 17:26:52 -07:00
Nicolas Gallagher c39a4c7163 Force LICENCE to be published to npm
Fix #430
2015-03-30 14:35:20 -07:00
Nicolas Gallagher c78ecbb59e Remove unnecessary vendor prefixes
Firefox ESR is currently at Firefox 31, which doesn't require box-sizing
prefixes.

Fix #400
2015-03-30 14:14:59 -07:00
Nicolas Gallagher ef2b006aad Fix a few CSS comments 2015-03-30 14:14:46 -07:00
Nicolas Gallagher 0c31dada51 Fix project URL in normalize.css file 2015-03-17 11:52:17 -07:00
Nicolas Gallagher 1d11c9bc53 Add cdnjs link to README 2015-03-17 11:48:59 -07:00
Nicolas Gallagher d83132802e 3.0.2 2014-10-04 12:39:33 -07:00
Nicolas Gallagher bb82bc9b87 Add 'menu' to tests 2014-10-04 12:39:18 -07:00
Nicolas Gallagher a473cee8a2 Fix code style 2014-10-04 12:29:57 -07:00
Nicolas Gallagher 5962c89829 Add menu element to HTML5 display definitions
Fix #370
2014-10-04 11:38:31 -07:00
Nicolas Gallagher ff1cdc2a86 Fix package.json 2014-10-04 11:21:56 -07:00
Nicolas Gallagher dd8d75c349 Add extended docs to README
Additional details to clarify the esoteric parts of normalize.css.

Fix #353
2014-07-22 10:58:57 -07:00
Nicolas Gallagher 071af828a2 3.0.1 2014-03-26 21:49:40 -07:00
Nicolas Gallagher de39c2c76e Fix indentation 2014-03-26 21:46:07 -07:00
Nicolas Gallagher bb3a1304a0 More accurate comments
Fix #299
Fix #292
Fix #304
2014-02-17 12:18:41 -08:00
Nicolas Gallagher 058ee3b0ad Add package.json 2014-02-17 00:37:45 -08:00
Nicolas Gallagher 6ec1a10b5d v3.0.0 2014-01-28 10:05:18 -08:00
Nicolas Gallagher 3d8f336d17 Fix textarea test title 2014-01-26 10:18:43 -08:00
Nicolas Gallagher 7f1e59a9df v3.0.0-rc.1 2014-01-25 21:14:26 -08:00
Nicolas Gallagher 488f365fdd Update CHANGELOG 2014-01-25 21:06:09 -08:00
Nicolas Gallagher d00c1c98ae Update browser support 2014-01-25 20:53:05 -08:00
Nicolas Gallagher 5b57298fc3 Explicit tests for each normalization
Use a test-like presentation to make it clearer what the test file is
looking to test. Don't use the file as a dumping ground for every HTML
element. This change makes the tests more focused and useful.

Fix gh-276
Fix gh-284
Fix gh-285
2014-01-25 20:44:27 -08:00
Nicolas Gallagher 3fe0df0fe5 Reorganise normalize.css and edit comments
Update comments in line with any changes browsers have introduced.

Minor reordering of rulesets.
2014-01-25 20:37:46 -08:00
Nicolas Gallagher a2ae3b5d7a Revert 6992935807
Doesn't work in Firefox.
2014-01-25 16:50:27 -08:00
Nicolas Gallagher 7e80851c5f Fix i18n for q element
Don't attempt to normalize `q` because it prevents the browser from
automatically adapting the quotes used based on the value of a `lang`
attribute.
2014-01-24 23:09:36 -08:00
Nicolas Gallagher a8edd0c5aa Fix pre text formatting and overflow
Don't visually break `pre` text over multiple lines.

Trigger a scrollbar when the preformatted text is too wide for its
container.
2014-01-24 22:04:39 -08:00
Nicolas Gallagher 37ea6ae187 Fix vertical alignment of progress
Chrome, Firefox, and Opera set `vertical-align: -0.2em`. The browser
implementations aren't great. They scale badly with font size and when
the height of the element is changed. Aligning them to the baseline, as
IE does, helps make their alignment consistent with other similar
elements.
2014-01-24 21:59:28 -08:00
Nicolas Gallagher 45cc401523 Change indentation: 4 -> 2 spaces 2014-01-24 13:23:52 -08:00
Nicolas Gallagher e372fcd83d Fix rendering of test file on mobile 2014-01-24 13:15:41 -08:00
Nicolas Gallagher 20e58223c9 Revert textarea alignment modification
Leave the default baseline alignment in place.

Fix gh-280
2014-01-24 13:03:24 -08:00
Nicolas Gallagher d86aa8500e Fix number input button cursor on OS X Chrome
Fix the cursor style for Chrome's increment/decrement buttons on
`input[type="number"]. For certain `font-size` values of the `input`, it
causes the cursor style of the decrement button to change from `default`
to `text`.

Fix gh-283
2014-01-24 13:02:12 -08:00
Nicolas Gallagher 4b94eb7d4d Remove a:focus outline normalization
My hypothesis is that it's more important for a user to get the focus
style they expect *within* their browser than it is to have consistent focus
styles *between* browsers. In particular, replacing Chrome's default focus
style (esp. just for links) seems presumptuous.

Component designers/developers can make the decision on when to modify
these browser defaults.

Fix gh-216
2014-01-15 21:32:00 -08:00
Nicolas Gallagher ccbb28b123 Fix figure margin normalization
All browsers that support `figure` apply margin of `1em 40px`.

Fix gh-262
2014-01-15 16:52:18 -08:00
Nicolas Gallagher 5b9bf5e1a3 Fix optgroup normalization and add test
Ref gh-102
2014-01-15 16:45:43 -08:00
Nicolas Gallagher 3d3096db74 Normalize optgroup
Address Firefox not inheriting `font` properties for `optgroup`.

Fix gh-102
2014-01-15 16:30:33 -08:00
Nicolas Gallagher 37d1c1ef8b Remove default table cell padding
Normalize.css makes some convenience changes to the default table
rendering. This change removes the 1px of padding around table cells.
2014-01-15 16:16:32 -08:00
Nicolas Gallagher 496702aab6 Set correct display for progress in IE 8/9
Set to `inline-block` to match default value in modern browsers.

Fix #253
Close #254
2014-01-15 14:40:36 -08:00
Nicolas Gallagher 0b5badd591 Fix font and color inheritance for forms
Inherit all `font` properties.

Inherit `color` for form controls. Chrome and Safari on OS X will not
inherit `color` as they heavily restrict the author-defined styles that
will be respected for that element.

Fix gh-157
2014-01-15 14:21:28 -08:00
Nicolas Gallagher dafaf9ee60 v2.1.3 2013-08-26 11:37:18 -07:00
Nicolas Gallagher 4925d9b508 Update CHANGELOG 2013-08-26 11:36:05 -07:00
Nicolas Gallagher 690f8abb19 Fix component.json
The Component(1) spec was updated to require a `repo` property.
2013-08-26 11:34:21 -07:00
Nicolas Gallagher 3e12409c61 Add Component(1) install instructions 2013-08-15 21:52:25 -07:00
Nicolas Gallagher 0050384c0b README: change guidance and demphasise v1
* Recommend that normalize.css is used as library code (i.e., not
  modified).

* Add a note that v1 is no longer actively developed.
2013-08-15 19:46:33 -07:00
Nicolas Gallagher 77982e20d8 Normalize the template element display
The `template` element shipped in Firefox 22 and Chrome 26. Browsers
without HTML template support should at least hide the element.
2013-07-01 23:54:45 -07:00
Nicolas Gallagher 37b483c1e1 Fix IE 10 active link background color
Remove the gray background color from active links in IE 10.

Fix gh-172
2013-07-01 23:42:37 -07:00
Nicolas Gallagher 56af2b1170 v2.1.2 2013-05-11 13:59:52 -07:00
Nicolas Gallagher f74e430833 Add bower.json to release instructions 2013-05-11 13:57:02 -07:00
Nicolas Gallagher 71d6cdc9a8 Revert root color and background normalization
Commit: 907890983e

The change caused problems with `body` background color no longer
bubbling up the the `html` element.

It also prevented you from setting `color` or `background` styles on
`html` before the normalize.css styles.

It might not be possibly to safely address – within normalize.css –
the problem that it was trying to avoid.

Fix gh-188
2013-05-07 23:40:22 -07:00
Nicolas Gallagher 87db019374 Simplify the Component(1) manifest file 2013-05-07 23:36:17 -07:00
Nicolas Gallagher c9ff1dd48d Add Bower manifest file
Ignore files that don't need to be installed.
2013-05-07 23:34:54 -07:00
Nicolas Gallagher 03c8f449d0 Change the Bower website URL 2013-04-21 20:17:09 -07:00
Nicolas Gallagher a611f096b5 Correct date of 2.1.1 release in CHANGELOG 2013-04-07 19:41:16 -07:00
Nicolas Gallagher 920b3ea72b Fix typo in CONTRIBUTING.md 2013-04-07 18:34:38 -07:00
Nicolas Gallagher 691c71b985 v2.1.1 2013-04-07 17:27:53 -07:00
Nicolas Gallagher 34614f4811 Fix example git tag command in docs 2013-04-07 17:26:43 -07:00
Nicolas Gallagher 8afd9f818b Add contribution guidelines
Includes process for maintainers while there is no automation in place.

Close gh-175
2013-04-07 16:55:33 -07:00
Nicolas Gallagher 6ccf86e962 Change gh-page URLs to use .io
GitHub have redirected all `username.github.com` pages to
`username.github.io`.
2013-04-05 12:51:36 -07:00
Nicolas Gallagher 4451c29dec Fix typo 2013-04-03 14:13:17 -04:00
Nicolas Gallagher 907890983e Protect root against system color schemes
System color schemes (in particular, custom themes in Windows and Linux
distros) affect Firefox, IE, and Opera. Normalizing the web site/app's
root background and text color prevents these unwanted settings from
being used. Chrome doesn't apply system-level schemes to websites.

Fix gh-170
2013-04-01 06:53:47 -07:00
Nicolas Gallagher 8a925e0391 Clean up component.json
Bower doesn't currently use several properties that were included.
Keep `styles` for now, for Component(1).
2013-03-29 21:30:45 -07:00
Nicolas Gallagher 40f39d8d9e Add Bower install and more to README
* Mention v1's support for legacy browsers.
* Provide link to project page for easy download.
* Include Bower install command.
2013-03-27 15:55:18 -07:00
Nicolas Gallagher 341199ff56 v2.1.0 2013-01-20 17:35:12 -08:00
Nicolas Gallagher 5c0d44e002 Update README acknowledgements 2013-01-20 17:34:29 -08:00
Nicolas Gallagher 8d5137931f Update CHANGELOG 2013-01-20 17:21:16 -08:00
Nicolas Gallagher fc85cfb9f1 Normalize h1 margin
Chrome, Safari, and Firefox all adjust the margin of `h1` at several
levels of nesting within HTML5 sectioning elements. This change ensures
that the margin, like the font-size, does not vary in these contexts.

Fix gh-160
2013-01-20 10:03:47 -08:00
Nicolas Gallagher 6729f5e8f5 Update CHANGELOG 2013-01-20 09:47:45 -08:00
Nicolas Gallagher fdb11ae5b5 Normalize hr
Firefox uses different `box-sizing` and `height` values to all other
browsers. Firefox doesn't currently support `box-sizing` without the
`-moz-` prefix, so we use both the vendor-prefixed and unprefixed
properties to ensure that it matches the `content-box` value of other
browsers. It also requires the `height` to be set to `0`.

Fix gh-133
2013-01-20 09:46:54 -08:00
Nicolas Gallagher 36fa71d531 Add hr test 2013-01-20 09:45:25 -08:00
Nicolas Gallagher 28f1518666 Remove unnecessary pre styles
`word-wrap: break-word` was only needed for IE 6/7, and `white-space:
pre` is the default for all supported browsers.

Fix gh-159
2013-01-19 13:07:09 -08:00
Nicolas Gallagher 63acb0bf1d Update CHANGELOG 2013-01-14 20:55:41 -08:00
Nicolas Gallagher 5399ff9c0e Fix cursor style for disabled button input
The Android 4.0.* work around - `html input[type="button"]` - requires
the addition of `html` to the selector for disabled inputs, otherwise
disabled button inputs still have the `pointer` cursor.
2012-12-01 17:36:41 -08:00
Nicolas Gallagher 70c34af15b Language and comment style
* Make consistent use of tense in code comments.
* Update the comment style to match a more common convention.
* Remove an unintentional newline.
2012-11-26 09:27:11 -08:00
Nicolas Gallagher 994782f372 v2.0.1 2012-08-20 10:50:37 +01:00
Nicolas Gallagher 494d32bd1d v2.0.0 2012-08-19 20:41:41 +01:00
Nicolas Gallagher 7e014980b9 Drop legacy browser support
No longer supports IE 6/7, Firefox < 4, and Safari < 5.

* Make use of `inherit` to simplify some of the rules.

* Remove a lot of padding and margin normalization, particularly for
  typographic elements, because modern browsers share common base
  styles.

* Add `quotes` normalization. While all target browsers support
  `quotes`, they don't share a common set of quote styles. Opera and IE
  use "curly" quotes whereas other browsers do not. Browsers don't
  appear to set different quotes depending on the language (via the
  `lang` attribute) of the content.

* Remove all list normalizations and they aren't needed anymore.

* Remove a handful of form normalizations that targetted IE 6/7 or
  Firefox 3.
2012-08-19 20:41:11 +01:00
Nicolas Gallagher 9d729698e6 v1.0.1 2012-08-19 20:38:00 +01:00
Nicolas Gallagher 0cdbf7c713 Adjust small font size normalization
Make the font size for `small` not quite so small. The default value of
`smaller` doesn't scale the base font size down by the same proportion
whatever the base size. IE 6/7/8 end up rendering small text larger than
most modern browsers. Opera can render it slightly smaller than Chrome
and Firefox when the base font size is relatively large.

The previous size of `75%` was a bit too small.
2012-08-19 19:45:58 +01:00
Nicolas Gallagher 138536c843 Minor change to test file
Switch from placekitten.com to lorempixel.com for placeholder images.
2012-08-19 19:19:13 +01:00
Nicolas Gallagher 701c73be55 Add component.json
Used by the Bower package manager.
2012-08-16 22:22:48 +01:00
Nicolas Gallagher 9f5837a95a Add CHANGELOG 2012-08-16 22:04:16 +01:00
Nicolas Gallagher 207a39780c v1.0.0 2012-08-14 23:43:47 +01:00
Nicolas Gallagher f52da7461f Update CSS comment wording 2012-08-14 23:35:20 +01:00
Nicolas Gallagher 4ed3786354 Rename demo.html to test.html 2012-08-14 23:32:24 +01:00
Nicolas Gallagher ddf924369d Rename LICENSE to LICENSE.md 2012-08-14 23:30:47 +01:00
Nicolas Gallagher 31f72b55be Add MIT License 2012-08-07 22:27:32 +01:00