When using an advanced selector like img[src*="foo"] on a transparent PNG
that has been fixed for IE6, instead of operating on the URL of the PNG,
it operates on the URL of blank.gif because that is what src points to by
this point.
Making the CSS get fixed before the HTML seems like a bad idea since I'm
sure it's the other way round for good reason. I know that the PNG URL is
still available as pngSrc but IE7._getAttribute() already handles that.
The advanced selector code only uses this function if no operator is
given. I'm not sure why. Is this performance-related? I've changed the
condition from 'if (operator)' to 'if (operator && attr != "src")' which
works for me. I don't expect it would have any ill effects in other cases.
What do you think?
Original issue reported on code.google.com by JerseyChewi@gmail.com on 17 Dec 2009 at 4:54
Original issue reported on code.google.com by
JerseyChewi@gmail.com
on 17 Dec 2009 at 4:54