Test with IE 8 and X-UA-Compatible

Testing content="IE=8".

head/*/+body/**/ .test2 - target IE8

html/*/* /**/ body .test6 - filter IE8

*+html/*/* /**/ body .test7 - target IE7 and filter IE8

Listing all test in this series:

  1. IE8 Targeting or filtering hacks
  2. IE8 Targeting or filtering hacks using the XML prolog
  3. IE8 tests with X-UA-Compatible and Conditional Comments

Listing tests by others with X-UA-Compatible:

From the IE blog Using The Emulate IE7 Button and The Default Layout Mode which are not accurate.

CSS Class test