Add important priority to all styles set by the :make_visible option
This commit is contained in:
parent
6472e2eccd
commit
68583899df
|
@ -312,7 +312,7 @@ module Capybara
|
|||
var css = arguments[0];
|
||||
for (var prop in css){
|
||||
if (css.hasOwnProperty(prop)) {
|
||||
this.style[prop] = css[prop]
|
||||
this.style.setProperty(prop, css[prop], "important");
|
||||
}
|
||||
}
|
||||
JS
|
||||
|
|
Loading…
Reference in New Issue