diff --git a/src/ie.js b/src/ie.js index e1f0e6b30..d6ffbd5ed 100644 --- a/src/ie.js +++ b/src/ie.js @@ -9,9 +9,9 @@ getComputedStyle(undefined) } catch(e) { var nativeGetComputedStyle = getComputedStyle; - window.getComputedStyle = function(element){ + window.getComputedStyle = function(element, pseudoElement){ try { - return nativeGetComputedStyle(element) + return nativeGetComputedStyle(element, pseudoElement) } catch(e) { return null } diff --git a/test/ie.html b/test/ie.html new file mode 100644 index 000000000..ec229d730 --- /dev/null +++ b/test/ie.html @@ -0,0 +1,63 @@ + + +
+ + + ++ Running… see browser console for results +
+ + + + + diff --git a/test/index.html b/test/index.html index c930fd3d5..87176a14c 100644 --- a/test/index.html +++ b/test/index.html @@ -48,6 +48,7 @@