Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 6, 2012
  1. @necolas

    Update CSS image replacement technique

    necolas authored
    The new technique avoids various problems with any text-indent method.
    The benefits are:
    * No box of any kind is drawn offscreen, so there is no risk of
      related performance problems in old iOS devices.
    * No need to specify a text-alignment and hide overflow since the text
      is crushed to take up no space.
    * No need to hide `br` or make all fallback HTML `display:inline`
      because unlike the text-indent approaches, this method is not
      affected by those scenarios.
    * Fewer styles are needed as a result of these improvements.
    The function of the new CSS is as follows:
    * `font: 0/0 a` is a shorthand property that reduces the font-size and
      line-height to 0. The `a` value acts as a font-family. The CSS
      validator complains that using `0/0` in the shorthand `font` property
      is not valid, but every browser accepts it.
    * `text-shadow: none` makes sure than any inherited text shadow is
      removed, otherwise it will show over the image.
    * `color: transparent` is only really needed in browsers than don't
      completely crush the text to the point of being invisible. Safari 4 is
      such a browser (but extremely rare). Leaving it in for now in case
      there are any mobile browsers that require it. Upon further testing,
      it may be possible to remove this declaration.
    Some parts of the pre-existing image replacement technique have been
    retained. The border and background resets are useful when using IR on
    form submit inputs or buttons, as well as when links use default borders
    or backgrounds
    Close #1005
Commits on Mar 5, 2012
  1. @necolas

    Merge pull request #1010 from richardcornish/master

    necolas authored
    Added `application/xml` for RSS MIME types
  2. @richardcornish

    Added application/xml for RSS MIME types

    richardcornish authored
    Based on research on the [issue
Commits on Feb 28, 2012
  1. @mathiasbynens

    Merge pull request #1003 from alrra/h5bp

    mathiasbynens authored
    Updated link in the "robots.txt" file
  2. @alrra
Commits on Feb 22, 2012
  1. @paulirish

    Merge pull request #994 from Jakobud/master

    paulirish authored
    Changed Cache-Busting help url in the .htaccess
  2. @Jakobud

    Changed cache-busting help url

    Jakobud authored
Commits on Feb 21, 2012
  1. @paulirish

    Merge pull request #992 from mikealmond/master

    paulirish authored
    Removing the <Location> tag from the P3P Header - Fixes issue #975
  2. @mikealmond

    Removing the <Location> tags from the P3P Header

    mikealmond authored
    The Location tag was causing a 500 error.
Commits on Feb 19, 2012
  1. @paulirish

    new modernizr.

    paulirish authored
Commits on Feb 8, 2012
  1. @paulirish
  2. @paulirish
Commits on Feb 6, 2012
  1. @mathiasbynens

    Merge branch 'master' of

    mathiasbynens authored
    * 'master' of
      2.5 version string in modernizr.
      update index for upgraded modernizr.
      update modernizr and yepnope to brand new latest.
  2. @mathiasbynens
  3. @paulirish
  4. @paulirish
  5. @paulirish
Commits on Feb 5, 2012
  1. @mathiasbynens
Commits on Feb 4, 2012
  1. @necolas

    Merge pull request #966 from dhaigh/master

    necolas authored
    Whitespace removal
  2. @dhaigh
Commits on Feb 3, 2012
  1. @necolas

    Avoid using `@defer` on interdependent `<script>`s

    necolas authored
    Whenever a deferred script makes HTML be parsed into the DOM tree
    (e.g. when innerHTML, insertAdjacentHTML(), appendChild(),
    insertBefore(), replaceChild() etc. are used), IE < 10 may start
    looking for more deferred scripts to run, immediately executing
    them before the first deferred script has completed.
    More information: paulirish/lazyweb-requests#42
    Close #961
  2. @necolas

    Update readme

    necolas authored
  3. @necolas

    Remove ant build script. Close #826

    necolas authored
    The ant build script is now in a separate, dedicated repo at:
  4. @necolas

    Merge pull request #960 from alrra/h5bp

    necolas authored
    added a more informative page link in the 'robots.txt' file
  5. @alrra
Commits on Feb 1, 2012
  1. @paulirish
Commits on Jan 31, 2012
  1. @paulirish

    Chromeframe prompt doesnt reccomend IE6 -> IE8. We need mitigate IE8'…

    paulirish authored
    …s role as a boat anchor browser as much as possible
  2. @necolas
  3. fixing the regexes, hopefully for the last time. Unsure where last ni…

    Divya Manian authored
    …ght's commit went. Thanks @kblomqvist
  4. fixing conflicts

    Divya Manian authored
Commits on Jan 30, 2012
  1. Updating build tools to their latest versions

    Divya Manian authored
  2. Merge pull request #949 from adeelejaz/issue/201

    Divya Manian authored
    Fixes #201 (finally!)
  3. @adeelejaz

    Fixes #201 (finally!)

    adeelejaz authored
Something went wrong with that request. Please try again.