• 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
..
var Loading commit data...
addGetHookIf.js Loading commit data...
curCSS.js Loading commit data...
defaultDisplay.js Loading commit data...
hiddenVisibleSelectors.js Loading commit data...
support.js Loading commit data...
swap.js Loading commit data...