Yes, so it turns out that making a small asthetic change after testing on every browser does actually break it :|

This commit is contained in:
Caleb James DeLisle 2018-07-12 16:51:48 +02:00
parent fabdbc3b61
commit cb8888ea1a

View File

@ -843,8 +843,8 @@ define([
el.style.setProperty('background', 'var(--color)');
document.body.appendChild(el);
var styles = getComputedStyle(el);
document.body.removeChild(el);
var doesSupport = (styles.backgroundColor === color);
document.body.removeChild(el);
return doesSupport;
};