Add important priority to all styles set by the :make_visible option

This commit is contained in:
Thomas Walpole 2018-08-28 10:29:09 -07:00
parent 6472e2eccd
commit 68583899df
1 changed files with 1 additions and 1 deletions

View File

@ -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