Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jan 21, 2013
  1. v1.1.0

  2. Update README acknowledgements

  3. Update CHANGELOG

  4. 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
    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:
Commits on Jan 20, 2013
  1. Update CHANGELOG

  2. 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.
  3. Add `hr` test

Commits on Jan 15, 2013
  1. Update CHANGELOG

  2. @kruczekdawid

    Add `main` element to HTML5 display definitions

    kruczekdawid authored committed
    The HTML Working Draft has added `main` as a new element.
Commits on Dec 2, 2012
  1. 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.
Commits on Nov 26, 2012
  1. Language and comment style

    * Consistent use of tense.
    * Small change to use common comment style.
Commits on Nov 17, 2012
  1. v1.0.2

Commits on Aug 20, 2012
  1. Add trailing slash to 'homepage' in component.json

    GitHub 301 redirects the URL without a trailing slash to the URL with a
    trailing slash.
Commits on Aug 19, 2012
  1. v1.0.1

  2. 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.
  3. Minor change to test file

    Switch from to for placeholder images.
Commits on Aug 16, 2012
  1. Add component.json

    Used by the Bower package manager.

Commits on Aug 14, 2012
  1. v1.0.0

  2. Update CSS comment wording

  3. Rename demo.html to test.html

  4. Rename LICENSE to

Commits on Aug 7, 2012
  1. Add MIT License

Commits on Jul 8, 2012
Commits on Jul 7, 2012
  1. Remove .gitignore

  2. Minor consistency adjustments

    Normalize comments and ordering.
  3. 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: h5bp/mobile-boilerplate#121 the fix needs to be reintroduced.
Commits on Apr 10, 2012
Commits on Mar 11, 2012
  1. Revert addition of input placeholder rules

    This commit reverts the following 5 commits:
    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:
    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.
Commits on Mar 9, 2012
  1. 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.
  2. @jonathantneal

    Addresses placeholder text remaining visible on focus in Chrome

    jonathantneal authored
    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 #86 and this Chrome bug is further documented at  and my own test is at
  3. @jonathantneal

    Add placeholder color normalization

    jonathantneal authored
    As @mathiasbynens points out, webkit has already set the placeholder, and it has set it as darkGray (#A9A9A9)
Something went wrong with that request. Please try again.