IE8: window.getComputedStyle is undefined
- Dominant language
- JavaScript
- Stars
- 5.9k
- Forks
- 642
- PR merge metrics
- No merged PRs in 30d
Description
In IE8 on Win XP, I get an error on the page.

Traced to this line:
```
win.getComputedStyle(settings.element)[cache.vendor+'Transform'].match(/\((.*)\)/)
```
Apparently the `utils.canTransform` feature detection passes, but the `win.getComputedStyle` function is unavailable.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the reported win.getComputedStyle(settings.element)[cache.vendor+'Transform'] line and inspect the utils.canTransform feature detection it relies on. Reproduce the IE8 failure if possible and trace how the detection allows this path. Done means the reported error is addressed for IE8 without breaking the transform path in supported browsers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100