SongBg: Add don backgrounds

This commit is contained in:
LoveEevee
2018-12-02 18:25:42 +03:00
parent c00fc0c615
commit f25aee9643
7 changed files with 195 additions and 33 deletions

View File

@@ -31,10 +31,19 @@ function browserSupport(){
}
return false
},
"CSS Calc": function(){
"CSS calc": function(){
var el = document.createElement("a")
el.style.width = "calc(1px)"
return el.style.length !== 0
},
"let statement": function(){
eval("let a")
return true
},
"CSS custom property": function(){
var el = document.createElement("a")
el.style.setProperty("--a", 1)
return el.style.length !== 0
}
}
var failedTests = []