Why getComputedStyle returns element visibility as visible
even if you never set visibility to be hidden or visible.
Example:
getComputedStyle($('#block1')[0],null).visibility;
--- "visible"
and at the same time:
$('#block1')[0].style.visibility
--- ""