aFarkas/html5shiv — comment on commit 93f37df622661aff1cf83821cab47fd46c8d43eb
File:  line 0
By jdalton:

The old detection was better than the current "fix". I already pointed
to a mobile device that has a Chrome 8 like browser (or at least V8
and isn't auto updated like the desktop flavor). So the newer weaker
inference is a bust. The solution is to revert and add
*fake.style.background=''*

On Feb 15, 2012, at 2:56 AM, Alexander Farkas
wrote:

> @jdalton
> I knew, that someone would come and point this out. The code before
> tested, wether element.hidden results in a display: none style and
> adds a bunch of "HTML5 styles" if not. So the old code was already
> lame.
>
> The new code only tests, wether the property exists, which should be
> reflected by the style. If it is not reflected, it is a browser bug.
> If you have a browser with such a bug, let me know. But Chrome 8
> doesn't really count.
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/aFarkas/html5shiv/commit/93f37df622661aff1cf83821cab47fd46c8d43eb#commitcomment-968224