Skip to content

Commit

Permalink
removing KHTML prefix detection. See Modernizr#454 For why -khtml- is…
Browse files Browse the repository at this point in the history
… dead. Bonus: This speeds up Modernizr.

Fixes Modernizr#454
  • Loading branch information
paulirish committed Jan 29, 2012
1 parent 241228d commit 1c8e8ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modernizr.js
Expand Up @@ -50,7 +50,7 @@ window.Modernizr = (function( window, document, undefined ) {
toString = {}.toString,

// List of property values to set for css tests. See ticket #21
prefixes = ' -webkit- -moz- -o- -ms- -khtml- '.split(' '),
prefixes = ' -webkit- -moz- -o- -ms- '.split(' '),

// Following spec is to expose vendor-specific style properties as:
// elem.style.WebkitBorderRadius
Expand All @@ -62,7 +62,7 @@ window.Modernizr = (function( window, document, undefined ) {
// erik.eae.net/archives/2008/03/10/21.48.10/

// More here: github.com/Modernizr/Modernizr/issues/issue/21
omPrefixes = 'Webkit Moz O ms Khtml',
omPrefixes = 'Webkit Moz O ms',

cssomPrefixes = omPrefixes.split(' '),

Expand Down

0 comments on commit 1c8e8ee

Please sign in to comment.