JSFiddle - React, Tailwind, and code Playground
JavaScript
var hasMozSelectBug = function () {
var testPosition = function(doTransform) {
var select = document.createElement('select'),
option = document.createElement('option'),
ret;
select.appendChild(option);
if (doTransform) select.style.MozTransform = "translate(0, 1px)";
document.body.appendChild(select);
ret = option.offsetTop;
//document.body.removeChild(select);
return ret;
}
return testPosition(false) !== testPosition(true);
}
alert(hasMozSelectBug());