Fix show etc. in Konqueror - without even adding a new line

Fix show etc. in Konqueror - without even adding a new line


All,
currently in Konqueror the show and fadeIn methods do not work at all
for elements hidden via CSS. This is because curCSS('display') returns
an empty string in Konqueror for such elements, all this happens in
line 853 in core.js and this isn't taken into account:
ret = getComputedStyle.getPropertyValue( name );
While assuming an empty string means "none" in that case, I fixed it
by changing the line to this:
ret = getComputedStyle.getPropertyValue( name ), ret = name ==
'display' && !ret ? 'none' : ret;
I wonder if we could add this to the core? Although we don't
officially support Konqueror that would mean a much better experience
for these users (as widgets and stuff using show won't work at all
currently).
--Klaus