IE8 (IE8 in the following section only represents IE8 beta1) addedCSSAttribute selector for substring matching in 3 (Substring matching attribute selectors), The specific rules are similar to those in the regular expression:
- E [att ^ = 'Val'] // The substring starts with 'Val'
- E [att $ = 'Val'] // The substring ends with 'Val'
- E [att * = 'Val'] // The substring contains 'Val'
IE8 supports the vast majority of basicCSS2.1 selector, which does not support but is not limited to [: first-line] and [: first-letter].
ForCSSIn December 2.1Generated contentTo add text content by using pseudo elements: before and: after.Not completely.
For opacity and RGBA supported in almost other browsers, IE8 still does not.
HACK originally used to distinguish IE is basically invalid in IE8 (for example, * property: value, * property: value, etc ).
Update 08-3.8:
- The original list-item whitespace bug of IE still exists in IE8.
- The original IE z-index bug still exists in IE8.
- New bug in IE8: When line-heigth is smaller than normal, the excess parts will be dropped.
- Display: table is still not supported in IE8.
- In IE8, the border's transparent value is still not supported.
- In IE8, @ import only supports Layer-3 nesting.