Commit Graph

181 Commits

Author SHA1 Message Date
Nicolas Gallagher
e44e170c50 Mention that v1 is no longer maintained 2013-08-29 18:53:00 -07:00
Hans Christian Reinl
f17e57aba7 Update component.json to fit new specification
Please see 690f8abb to see the full description in v2.
2013-08-29 18:50:49 -07:00
Nicolas Gallagher
223bec90d5 v1.1.2 2013-05-11 14:00:28 -07:00
Nicolas Gallagher
a27353cd9f Add bower.json to release instructions 2013-05-11 13:53:05 -07:00
Nicolas Gallagher
52e76de509 Revert root color and background normalization
Commit: 121c08273b

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-11 11:36:10 -07:00
Nicolas Gallagher
c2422928c4 Simplify the Component(1) manifest file 2013-05-11 11:32:35 -07:00
Nicolas Gallagher
f5543a2646 Add Bower manifest file 2013-05-11 11:32:18 -07:00
Nicolas Gallagher
7749af6f3d Fix typo in CONTRIBUTING.md 2013-04-07 18:33:46 -07:00
Nicolas Gallagher
858bb9017c Fix property ordering 2013-04-07 17:39:46 -07:00
Nicolas Gallagher
4f2276d68d Fix example git tag command in docs 2013-04-07 17:25:59 -07:00
Nicolas Gallagher
1e768e746a v1.1.1 2013-04-07 17:23:36 -07:00
Nicolas Gallagher
437072a982 Add contribution guidelines
Includes process for maintainers while there is no automation in place.
2013-04-07 17:21:01 -07:00
Nicolas Gallagher
8086921dfa Change gh-page URLs to use .io
GitHub have redirected all `username.github.com` pages to
`username.github.io`.
2013-04-05 12:53:32 -07:00
Nicolas Gallagher
d31707e2b7 Fix typo 2013-04-03 14:14:01 -04:00
Nicolas Gallagher
121c08273b 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 07:07:02 -07:00
Nicolas Gallagher
a91b3af1a4 Clean up component.json
Bower doesn't currently use several properties that were included.
Keep `styles` for now, for Component(1).
2013-04-01 07:02:29 -07:00
Nicolas Gallagher
97e7867161 v1.1.0 2013-01-20 17:38:28 -08:00
Nicolas Gallagher
0c847f3283 Update README acknowledgements 2013-01-20 17:36:50 -08:00
Nicolas Gallagher
5dbbae183a Update CHANGELOG 2013-01-20 17:25:40 -08:00
Nicolas Gallagher
acf40793b3 Normalize form element text-transform
By default, browsers set `text-transform:none` on most form controls in
order to prevent `text-transform` being inherited from ancestor nodes.

However, the `button` and `select` elements are exceptions.

* Firefox and Opera do not apply `text-transform:none` to `select`.

* Chrome, Safari, and IE 6+ do not apply `text-transform:none` to
  `button.

It's not suitable to set `text-transform:inherit` because all other form
elements intentionally avoid it. Safari and IE 6/7 will not honour that
style for `select`, and Chrome will only do so when the `select` element
is clicked.

Further details:
http://tjvantoll.com/2012/07/10/default-browser-handling-of-the-css-text-transform-property/
2013-01-20 17:23:25 -08:00
Nicolas Gallagher
54f470cfc6 Update CHANGELOG 2013-01-20 09:49:15 -08:00
Nicolas Gallagher
a51697a1dd 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`.

Known issue: this does not normalize IE 6/7 as `hr` cannot be reliably
styled in those browsers.
2013-01-20 09:44:25 -08:00
Nicolas Gallagher
b1ac8a4e25 Add hr test 2013-01-20 09:44:13 -08:00
Nicolas Gallagher
c0a9664c12 Update CHANGELOG 2013-01-14 20:56:46 -08:00
Dawid Kruczek
048ea8bf0d Add main element to HTML5 display definitions
The HTML Working Draft has added `main` as a new element.
2013-01-14 20:52:06 -08:00
Nicolas Gallagher
07c0beb3d0 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:34:14 -08:00
Nicolas Gallagher
d6c54bba6f Language and comment style
* Consistent use of tense.
* Small change to use common comment style.
2012-11-26 09:38:09 -08:00
Nicolas Gallagher
43af50617c v1.0.2 2012-11-17 10:33:15 -08:00
Nicolas Gallagher
1364ab62f8 Update component.json for 'component' support 2012-11-17 10:32:34 -08:00
Nicolas Gallagher
9323d0d9aa Correct font-size normalization for h6 2012-11-17 10:24:50 -08:00
Nicolas Gallagher
ee61f84f3e Add trailing slash to 'homepage' in component.json
GitHub 301 redirects the URL without a trailing slash to the URL with a
trailing slash.
2012-08-20 10:59:02 +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
Nicolas Gallagher
b7579700ea Minor copy and comment adjustments 2012-07-08 23:43:00 +01:00
Nicolas Gallagher
6de1f055d6 Remove .gitignore 2012-07-07 11:29:23 +01:00
Nicolas Gallagher
93beaa2e94 Minor consistency adjustments
Normalize comments and ordering.
2012-07-07 10:49:39 +01:00
Nicolas Gallagher
79b3d21b69 Reintroduce fix for WebKit audio/video control bug
This fix was first introduced to deal with Chrome < 13 destroying the
appearance of native `audio` and `video` button controls when
`-webkit-appearance` is set on `input[type="button"]`. See #20

Android 4.0.* seems to use a version of WebKit that contains this bug.
See: https://github.com/h5bp/mobile-boilerplate/issues/121

...so the fix needs to be reintroduced.
2012-07-07 09:58:40 +01:00
Nicolas Gallagher
03575299fc Update README with link to 'contribute' wiki 2012-04-10 23:59:06 +01:00
Nicolas Gallagher
99b187d1a2 Revert addition of input placeholder rules
This commit reverts the following 5 commits:

49392e9df2
f9572a461a
79e2c16ba5
2691e7ab14
567af2e7d6

The `:moz-placeholder` rule doesn't have the desired effect because any
subsequent rule with higher specificity will result in the Firefox bug
resurfacing. There is no way to ensure that Firefox doesn't change the
color of the placeholder text. Example: https://tinker.io/e34a2

The `:focus::webkit-input-placeholder` normalization is being removed
because the current Chrome / Safari on Lion OSX behaviour is allowed in
the spec, Firefox is set to implement the same behaviour, and other
browsers may follow suit for usability reasons.

Some browser differences like these - low importance and in flux - can
be allowed to evolve and settle before assessing whether or not they
need or merit normalization.
2012-03-11 12:55:55 +00:00
Nicolas Gallagher
567af2e7d6 Fix indentation and update timestamp
Correct the indentation for the WebKit placeholder focus rule and move
the placeholder rules to the bottom of the forms normalization.

Update the timestamp.
2012-03-09 22:11:47 +00:00
Jonathan Neal
2691e7ab14 Addresses placeholder text remaining visible on focus in Chrome
The placeholder attribute in Chrome does not work to spec. This makes the text transparent on focus to work like Firefox, Safari, and the spec. Credit goes to @chadbaudoin for bringing this up in his pull request https://github.com/necolas/normalize.css/pull/86 and this Chrome bug is further documented at http://code.google.com/p/chromium/issues/detail?id=106714  and my own test is at https://tinker.io/be2f2/1
2012-03-09 13:30:17 -08:00
Nicolas Gallagher
79e2c16ba5 Correct code format and update timestamp 2012-03-09 19:41:02 +00:00