Alex Robinson wrote:

> IE=8
> -----------------------------------------------------------------------
> 
> The only hack / target combination which does not jibe, is the fact 
> the *+html hack also gets applied by IE8 when targeted as IE=8.
> 
> To repeat *+html targets IE8[0]. Since this only previously targeted 
> IE7, this selector in conjunction with a new selector that IE8 
> understands but IE7 does not, gives us a current easy way to target 
> IE8. Obviously this is not recommended and hopefully this parsing 
> error will be fixed before a final release
> 
> 
> .... and relax
> [0] I haven't seen it mentioned elsewhere, but I'm sure somebody has 
> already discovered it - probably even on this very list which I 
> skimmed merrily over


I guess you have not seen my activity elsewhere.

http://groups.google.com/group/alt.html/browse_thread/thread/47e63edf618e75c3


What the IE team did that night made me very suspicious (see my reply 6 down). 
The page in question is.

http://css-class.com/test/css/selectors/ie7hacktargetingopera.htm


So I did some reverse testing of IE8.

http://css-class.com/cssscript/images.css


By the 13 of February I had the results (IE8 applied *+html and div+*+div) so 
that gave me advance warning to prepare my test.

http://css-class.com/test/


That frantic rush to support that better browser named IE/Mac wasn't for no 
good reason. :-)

The other testing of IE8 involved if it supported any new selectors which it 
doesn't. So I see know way to hack for IE8 without also targeting IE7 (or visa 
versa), unless someone uses my approach in targeting IE8.


/*\*//*/
@import url("test-ie8.css");
@import("test-ie.css"); /* For IE/Mac */
@import test-ie; /* For IE/Win */


Anyway no hacks should be needed for IE8 and you are correct, IE8 will drop 
support for *+html and div+*+div in a later beta since they breaks support for 
sibling selectors and first-child.

http://lists.w3.org/Archives/Public/www-style/2008Mar/0049.html


Alan

http://css-class.com/


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to