• Oleg Gaidarenko's avatar
    CSS: Do not throw on frame elements in FF · e488d985
    Oleg Gaidarenko authored
    IE9-10 throws on elements created in popups (see #14150), FF meanwhile throws
    on frame elements through "defaultView.getComputedStyle" (see #15098)
    
    Use "defaultView" if in the popup which would fix IE issue,
    use "window.getComputedStyle" which would fix FF issue.
    
    And everybody wins, except performance, but who cares right?
    
    Fixes #15098
    Closes gh-1583
    e488d985
Name
Last commit
Last update
build Loading commit data...
src Loading commit data...
test Loading commit data...
.bowerrc Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.jscsrc Loading commit data...
.jshintignore Loading commit data...
.jshintrc Loading commit data...
.mailmap Loading commit data...
.npmignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
Gruntfile.js Loading commit data...
MIT-LICENSE.txt Loading commit data...
README.md Loading commit data...
bower.json Loading commit data...
package.json Loading commit data...