Skip to content

Commit

Permalink
Avoids 404s for multiple bgs test
Browse files Browse the repository at this point in the history
  • Loading branch information
KuraFire committed Apr 30, 2010
1 parent 7f450dc commit e6334f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modernizr.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ window.Modernizr = (function(window,doc,undefined){
// and then querying the style.background property value for the number of
// occurrences of "url(" is a reliable method for detecting ACTUAL support for this!

set_css( background + ':url(m.png),url(a.png),#f99 url(m.png)' );
set_css( background + ':url(//:),url(//:),red url(//:)' );

// If the UA supports multiple backgrounds, there should be three occurrences
// of the string "url(" in the return value for elem_style.background
Expand Down

0 comments on commit e6334f6

Please sign in to comment.