CSS attributes in IE8 beta1

Source: Internet
Author: User

IE8 (IE8 in the following section only represents IE8 beta1) adds the substring matching attribute selector (substring matching attribute selectors) in css3. The specific rules are similar to those in Regular Expressions:

  • 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 most basic css2.1 selectors:

  1. : Before and: After is supported. Only text is supported. images are not supported, but there are still bugs.
  2. : Focus is supported.
  3. Display: inline-block is supported (can only be used for inline elements ).
  4. Display: Table is supported.
  5. List-style is fully supported, including the value upper-Greek (this value is not supported by other browsers ).
  6. Outline is supported.
  7. Border-collapse, border-spacing, and caption-side are supported.
  8. White-space is fully supported.
  9. Box-sizing is supported, but the Private Attribute-MS-box-sizing is used.

Not supported include but are not limited to: first-line,: First-letter, opacity, and rgba.

Hack originally used to distinguish IE is basically invalid in IE8 (for example, * Property: value, * Property: value, etc ).

Update 08-3.8:

  1. The original list-item whitespace bug of IE still exists in IE8.
  2. The original ie Z-index bug still exists in IE8.
  3. New bug in IE8: When line-heigth is smaller than normal, the excess parts will be dropped.
  4. In IE8, the border's transparent value is still not supported.
  5. In IE8, @ import only supports layer-3 nesting.

Update 08-3.12:

  1. The negative text-indent value in IE8 is cropped.
  2. The bug of fuzzy specificity still exists in IE8.

-------- Gorgeous split line --------

Related reading:

  • IE8-CSS-Discuss
  • IE8 Beta 1-first tests
  • Internet Explorer 8
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.