-
Arrow functions are not supported in IE10, so use them with caution when writing JavaScript.
-
IE10 has strict syntax requirements for JavaScript. If there is no additional code after a normal parameter, adding a comma will result in an error. However, removing the comma will resolve the issue, and it will not affect Chrome.
-
Avoid using the zoom property if possible. I used zoom to adjust the size in Chrome, but when I ran it in IE10, the entire page was misaligned. After searching for a while, I remembered that I had previously set
zoom: 1.1;
for a container. It was quite troublesome. -
In IE10, the
img
tag has a default white border. To remove it, setborder: none;
in the default style.
img {
border: none;
}
-
IE10 is compatible with most HTML5 new tags, except for
main
. -
The box-shadow property is actually supported in IE10, but there is a syntax issue to be aware of. In regular browsers, colors can be specified using
rgba
,#
, and other formats. However, in IE10, only the#000000
format and the six-digit color notation with#
are allowed. The shorthand notation is not supported and will not take effect. -
IE10 is not compatible with new ES6 syntax.