一个老外写的Js库,包括若干js文件,使ie6可以支持一些css2乃至css3的内容,因此他给这个js库起名为“IE7”。
老外声明:使IE支持W3C标准的CSS及HTML。
支持下列选择器:
原文:http://dean.edwards.name/ie7/overview/
下载:http://dean.edwards.name/download/
老外声明:使IE支持W3C标准的CSS及HTML。
支持下列选择器:
- namespace
- parent > child(子选择器)
- adjacent + sibling(相邻兄弟选择器)
- adjacent ~ sibling(普通兄弟选择器,css3)
- [attr], [attr="value"], [attr~="value"] etc(属性选择器)
- .multiple.classes (fixes bug)
- :hover, :active, :focus (对所有元素)
- :first-child, :last-child, :only-child, :nth-child, :nth-last-child(后几个是CSS3中的伪类)
- :check, :disabled, :enabled
- :root, :empty, :contains(), :not()
- :before/:after/content:(CSS2中的伪元素)
- :lang(CSS2中的伪类)
- 支持 HTML and XML
- 支持导入(@import)样式表
- 保持了样式表的“层叠”
- 不用改变文档结构
- 不会用 js 反复查询 DOM树
- 使用纯粹的 CSS 执行样式规则
- 在 standards 和 quirks 两种模式中,都支持W3C box model
- 支持 fixed(固定)定位 (flicker free)
- 支持 overflow:visible
- 支持 min/max-width/height
- fixes broken (X)HTML elements (abbr, object)
- 标准化的窗体行为
- 支持 PNG 图片的 alpha 透明
- 轻量级的 script (22K)
- completely modular (add/remove fixes)
- works for Microsoft Internet Explorer 5+ (Windows only)