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

pull/1/head
Caleb James DeLisle 7 years ago
parent fabdbc3b61
commit cb8888ea1a

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

Loading…
Cancel
Save