-
IE10 does not support arrow functions, so use them with caution when writing JavaScript.
-
In IE10, there are strict syntax requirements for JavaScript. If there is no additional code after a normal parameter, adding a comma will cause 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. It took me a while to realize that I had previously set
zoom: 1.1;
for a container. It was quite frustrating. -
In IE10, the
img
tag has a default white border. To remove it, you can setborder: none;
in the default styles.
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, you can use
rgba
,#
, and other formats for colors. However, in IE10, you can only use the#000000
format, with the#
symbol and six-digit color code. You cannot use shorthand notation, otherwise it won't work. -
IE10 is not compatible with new ES6 syntax.