We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
main
3.13.9
通过dom.style 获得不存在的样式属性,返回空字符串,应该返回undefined.和浏览器返回不一致。在判断浏览器是否支持标准属性的时候失败,最后设置样式失败。
var vendor = function () { if (!inBrowser) { return false; } var transformNames = { webkit: 'webkitTransform', Moz: 'MozTransform', O: 'OTransform', ms: 'msTransform', standard: 'transform', }; for (var key in transformNames) { if (elementStyle[transformNames[key]] !== undefined) { return key; } }
return false; }();
// vernder = webkit
webkit
standard
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Affected version
main
Flutter versions
3.13.9
No same issues found.
Steps to Reproduce
通过dom.style 获得不存在的样式属性,返回空字符串,应该返回undefined.和浏览器返回不一致。在判断浏览器是否支持标准属性的时候失败,最后设置样式失败。
Code example
var vendor = function () {
if (!inBrowser) {
return false;
}
var transformNames = {
webkit: 'webkitTransform',
Moz: 'MozTransform',
O: 'OTransform',
ms: 'msTransform',
standard: 'transform',
};
for (var key in transformNames) {
if (elementStyle[transformNames[key]] !== undefined) {
return key;
}
}
return false;
}();
// vernder = webkit
Expected results
webkit
Actual results
standard
The text was updated successfully, but these errors were encountered: