用javascript实现兼容IE7的类库 IE7_0_9.zip提供下载

2018-10-15 17:31

阅读:555

IE7loadsandparsesallstylesheetsintoaformthatExplorercanunderstand.YoucanthenusemostCSS2/CSS3selectorswithouthavingtoresorttoCSShacks.

Thelightweightscriptisasingle-lineinclusioninyourHTML/XMLdocument.Noalterationofyouroriginalmarkupisnecessary.NeitherdoyouhavetoalteryourCSS.

IE7providesMicrosoftInternetExplorerwithsupportforW3CstandardCSSandHTML:

supportsthefollowingCSSselectors:
namespaceselector
parent>child
adjacent+sibling
adjacent~sibling
[attr],[attr=value],[attr~=value]etc
.multiple.classes(fixesbug)
:hover,:active,:focus(forallelements)
:first-child,:last-child,only-child,nth-child,nth-last-child
:check,:disabled,:enabled
:root,:empty,:contains(),:not()
:before/:after/content:
:lang()
workswithbothHTMLandXMLdocuments
supportsimportedstylesheets
preservesthecascadeofthestylesheet
doesnotalterthedocumentstructure
doesnotrepeatedlyquerytheDOMtreeusingJavaScript
usespureCSStoenforcestylesheetrules
supportstheW3Cboxmodelinbothstandardsandquirksmode
supportsfixedpositioning(flickerfree)
supportsoverflow:visible
supportsmin/max-width/height
fixesbroken(X)HTMLelements(abbr,object)
standardiesformsbehavior
supportsPNGalphatransparency
lightweightscript(22K)
completelymodular(add/removefixes)
worksforMicrosoftInternetExplorer5+(Windowsonly)

IE7_0_9.zip下载


评论


亲,登录后才可以留言!