IE8 Crash on getStyle background-position
问题 I've found a strange bug in Internet Explorer 8. Maybe someone can help me move around it. When I try to grab the background position of an element, using background-position-x all versions of Internet Explorer work as excepted except for IE8 that crashes . When I run el.getStyle('background-position') all browsers give me the correct values except from IE (6, 7 and 8) that return undefined . I therefore use el.getStyle('background-position-x') for all IE versions. IE8, however, crashes on