I have extension in which I set height for extension iframe and it works nice in Chrome.
But I have a problem in Safari 9.1.2. Safari is ignoring set height and expand iframe to full browser height.
<iframe id="tools" src="safari-extension://.../tools.html" style="height: 400px !important;">
#document
<html>
...
</html>
</iframe>
I set height for iframe by JavaScript:
tools.style.setProperty("height", request.height + "px", "important");
or
tools.style.height(request.height + "px");
and it doesn't work. What am I doing wrong?