Internet Explorerã¯ãé »ç¹ã«æŽæ°ãããªããã©ãŠã¶ãšããŠç¥ãããŠããŸãã ãªããããèµ·ãã£ãŠããã®ãããããæ£ãããééã£ãŠããã®ããé·ãéè°è«ããããšãã§ããŸãã ããããééããªãä»ã®ããšãèšãããšãã§ããŸã-Internet Explorerã«è¡šç€ºãããæ©èœã¯ãéçºè
ã®æ倧éã®æ³šæã«å€ããŸãã ããã¯ãIEèªäœãšãã®æ©èœãäž»æµã§ãããååãšããŠããªãªãŒã¹æã«ã¯ä»ã®ã»ãšãã©ã®ãã©ãŠã¶ãŒã«å®è£
ãããŠããããã«çºçããŸãã
äŸå€ã¯ããã€ãã£ãJSONãµããŒãã
HTML5 DOMã¹ãã¬ãŒãžã®ãµããŒããããã»ã¹ãžã®ã¿ãã®åé¢ã
HTML 5ãããã¯ãŒã¯ã€ãã³ããªã©ãä»ã®å€ãã®ãã©ãŠã¶ãŒã®åã«Internet Explorer 8ã§å°å
¥ãããããã€ãã®ãã®ã§ãã
ãã®ç¹ã§ãä»ã§ãæã人æ°ã®ãããã©ãŠã¶ãŒã®9çªç®ã®ããŒãžã§ã³ïŒãã ããããããæãæ©èœçã§äŸ¿å©ã§ã¯ãªãïŒãæäŸããæ°ããæ©èœãç¥ã£ãŠãèŠããŠããããšãéèŠã ãšæããŸãã
ãªããªãŒã...
Internet Explorer 9ã«é¢ãã
ç¹å¥ãªã»ã¯ã·ã§ã³ãHabréã«
ç»å Žããããšã«å€ãã®äººãæ°ã¥ãããšæããŸãã
ãããã¯ããããããã©ãŠã¶ã®é©æ°ãæ®åãããããšãç®çãšããRuNetã®æåã®ãã®ãããªåãã§ãã Habrã®ã»ã¯ã·ã§ã³ã§ã¯ããã·ã¢èªã®IE9ããŒã ããã®ãã¹ãã«ç²ŸéããHabrãé¢ããããšãªãããã«ãã¹ãã§ããŸãã ãŸãã䟿å©ãªãªã³ã¯ãšããã·ã³ã«ãã©ãŠã¶ãã€ã³ã¹ããŒã«ããæ©èœãæäŸããŸãã è©ŠããŠã¿ãŠãã ããã
ã¯ããã«
ã¯ããã«ã§ã¯ãªããInternet Explorer 9ã®çŸç¶ãšäœæã®é²æã«ã€ããŠã話ããããšæããŸãã ãã©ãŠã¶ã®ãã¹ãããŒãžã§ã³ã®æåã®èšåãšãã¢ã³ã¹ãã¬ãŒã·ã§ã³ã¯ã2009幎ã®PDCäŒè°ã§éå¬ãããŸããã ãã©ãŠã¶ãã°ã©ãã£ãã¯ã¹ãé«éåããGPUã¢ã¯ã»ã©ã¬ãŒã·ã§ã³ã«ããããã¹ãåŠçãšãã©ã³ãã¹ã ãŒãžã³ã°ã«æ°ããDirect 2D APIã䜿çšããæ¹æ³ã瀺ããŸããã
ãã®åŸããã°ããããŠãIE9éçºããŒã ãHTML5ããã³SVGå§å¡äŒã«åå ãããããã®æè¡ã®ãµããŒããçºè¡šãããšããæ
å ±ãçŸããŸããã å€ãã®äººãé·ãéSVGãåŸ
ã£ãŠããŸãããããã®ãã¥ãŒã¹ã¯å¬ããã£ããšæããŸãã
次ã®ãã©ãŠã¶çŸè±¡ã¯ã2010幎ã®MIXäŒè°ã§è¡ãããŸããã ããã§ã¯ãæ°ããæ©äŒã瀺ãããã ãã§ãªããæåã¯ãã¹ãã¢ã»ã³ããªãèªåã§è©Šãæ©äŒãäžããããŸããã
http://ie.microsoft.com/testdrive/ã«ãããã¹ãããŒãžã§ã³ã¯ãçŸåš2çªç®ã®ããŒãžã§ã³ã§å©çšå¯èœã§ãã ããã«ãéçºè
ã¯å€ãã®äœæ¥ãè¡ããInternet Explorer 9ãããããæ°æ©èœã瀺ãããã«å€ãã®èŠèŠçãªãã¢ã³ã¹ãã¬ãŒã·ã§ã³ãäœæããŸãããéçºè
ã¯6ã8é±éããšã«å
¬éãã¹ãçšã®IE9ã®æ°ããããŒãžã§ã³ããªãªãŒã¹ããããšãçŽæããŸãã
IE9ã®æåã®ãã¹ãããŒãžã§ã³ã«ã¯å€ãã®æ°ãããã®ãå«ãŸããŠããŸããããããããæãéèŠãªã®ã¯ãSVGãšJavaScriptã«åºã¥ããGPUã§é«éåãããã°ã©ãã£ãã¯ã¹ãšã¢ãã¡ãŒã·ã§ã³ã§ããã ChakraãšåŒã°ããæ°ããJavaScriptãšã³ãžã³ã¯ãSunSpiderãã¹ãã«ãããFirefoxã®äž»èŠãªç«¶åä»ç€Ÿã®å€§å¹
ãªå éãšè¿œãè¶ãã«æºè¶³ããŠããŸãã æšæºãµããŒãã®ææšãšããŠã®ACID3ãã¹ãã§ã¯ãIE8ã®20ãã€ã³ãã§ã¯ãªã55ãã€ã³ããäžãããå§ããŸããã ããã«ãInternet Explorerã¯ã€ãã«100ïŒ
CSS3ã»ã¬ã¯ã¿ãŒã®ãµããŒããç²åŸããŸããã
IE9ã®2çªç®ã®ãã¹ããã«ãã¯ãããã«å€ãã®é©æ°ããããããŸããã ãã®èšäºã§ã¯ãããããšä»ã®ãã¹ãŠã«ã€ããŠèª¬æããŸãã 6æã®3çªç®ã®ãã«ãã§èŠãããäž»ãªãã®ã¯ãGPUã䜿çšããŠé«éåãããHTML5ãããªã®ãµããŒãã§ãã
CSSæšæºã®ãµããŒã
Internet ExplorerããŒã ã¯ããã©ããã¹ããŒã¿ã¹ãçµäºãããŸã§ãªãŒãã³ã¹ã¿ã³ããŒããæ¥ãã§å®è£
ããªãããšãé·ãéç¥ãããŠããŸãã ããã«ã¯å€ãã®çç±ããããŸãããç§ãå€æã§ããããã«ãäž»ãªããšã¯IEããªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã®äžéšã§ãããããã«å ããããå€æŽã¯é·æçã§ããã¹ãã ãšããããšã§ãã ãã©ãŠã¶ããŒãžã§ã³ã®éçºãé
ããšããæ§è³ªã¯ãããã«èµ·å ããŠããŸãã ãããã誰ããããã奜ãããã§ã¯ãããŸããã éçºè
ã¯ãAPIã®å€æŽã«ããã³ãŒããçµæçã«å€æŽããªããã°ãªããªãå Žåã§ããåžžã«é©æ°ã®æåç·ã«ããããšãæãã§ããŸãã ãã€ã¯ããœããã¯ãæããã«ããã®ãããªã¢ã¯ã·ã§ã³ãè¡ãäœè£ããªãããã©ãŠã¶ãŒã®æ
éãªé©æ°ã®ããªã·ãŒãé å®ããŠããŸãã
ãã®ç¹ã«é¢ããŠãCSS3ã®ãµããŒãã«é¢ããŠã¯ã
次ã®è¡šãåç
§ããŠãIE9ã§å¯èœãªå®è£
ã«ã€ããŠèª¬æããéã«ã©ã®CSS3ã¢ãžã¥ãŒã«ãè°è«ã§ããããç解ããå¿
èŠããããŸãã
Candidate Recommendationã®ã¹ããŒã¿ã¹ãæã€æšæºãå€ããªãããšã確èªã§ããŸãã ããããMicrosoftããã©ãŠã¶ã«å®è£
ããã®ã¯ãŸãã«ãããã§ãããšç¢ºä¿¡ã§ããŸãã ãããŠããã®æšæž¬ã®ããã€ãã®ç¢ºèªããããŸãã
CSS3 BackgroundsïŒBordersã¢ãžã¥ãŒã«
Internet Explorer 9ã¯ããŠãŒã¶ãŒãšå€ãã®ãã¶ã€ããŒã®äž¡æ¹ã«æãããŠãããäžžã¿ã垯ã³ãã³ãŒããŒ-å¢çååŸã®åŸ
æã®ãµããŒãããããããŸãã 次ã®ããããã£ããµããŒããããŠããŸãã
- å¢çååŸ
- ããŒããŒäžéšå·ŠååŸ
- å¢çç·äžå³ååŸ
- ããŒããŒãããå·ŠååŸ
- ããŒããŒå³äžã®ååŸ
ããã«ãéçºè
ã¯ãã³ãŒããŒã®å®è£
ããã©ãŠã¶ãŒéã§æãæ£ç¢ºã§æ£ããããšãèªãã«æã£ãŠããŸãã
ãã㯠ãç°ãªããã©ãŠã¶ãŒã§
ãã®ãã¹ãã«åæ Œããããšã§ç¢ºèªã§ããŸãã ããšãã°ã4ã€ã®ãã©ãŠã¶ãŒã®ã©ã®ããŒãžã§ã³ãããé©åã§æ£ãããšæããŸããïŒ
ãããã®ã¢ãžã¥ãŒã«ããããã£ã«å ããŠãéçºè
ã¯IE9ã®å°æ¥ã®ãã¹ãããã³æçµããŒãžã§ã³ã§ä»ã®ããããã£ãå®è£
ããäºå®ã§ãã
CSS3ã«ã©ãŒã¢ãžã¥ãŒã«
IE9ã®2çªç®ã®ãã¹ãããŒãžã§ã³ã§ã®ãã®ã¢ãžã¥ãŒã«ã®ãµããŒãã¯ãRGBAãšopacityããããã£ã®å®è£
ã«ãããŸãã ã¢ããªã±ãŒã·ã§ã³ïŒ
èæ¯è²ïŒrgbaïŒ255,0,0,0.5ïŒ;ãããŠ
äžéæ床 ïŒ40ïŒ
;
ãã®ã¢ãžã¥ãŒã«ã®ä»ã®ããããã£ã¯ãéçºäžã«è¿œå ãããŸãã
CSS3 Media Queriesã¢ãžã¥ãŒã«
ãã®ãã¹ãããŒãžã§ããã®ã¢ãžã¥ãŒã«ã®ããããã£ã®æäœã«æ
£ããããšãã§ã
ãŸã ã ã€ãŸãããã®ã¢ãžã¥ãŒã«ã§ã¯ãçŸåšã®ãµã€ãºããã®ä»ã®è¡šç€ºèšå®ã«å¿ããŠãç°ãªãCSSã³ãŒãã䜿çšãããã©ãŠã¶ãŒã®æ©èœã«ã€ããŠèª¬æããŸãã ãã®ããããã®äŸã§ã¯ã衚瀺ããããŠã£ã³ããŠã®ãµã€ãºãå°ãããããšãå°ããªãŠã£ã³ããŠã§ã¯ç°ãªã£ãŠèŠããç»åãå«ãå€èŠ³ãå€åãããããã®ãããã¥ã¢ã®å€èŠ³ãé©çšãããŸãã
ã³ãŒãäŸïŒ
@mediaïŒæ倧å¹
ïŒ899pxïŒ{
#demodescription {
ãã£ã¹ãã¬ã€ïŒãªã;
}
}ãŸã
@mediaïŒæå°å¹
ïŒ450pxïŒããã³ïŒæ倧å¹
ïŒ950pxïŒ{
.placeTitleLongã.bigPhotoã.description {
ãã£ã¹ãã¬ã€ïŒãªã;
}
}IE9ã®ãã®æ©èœãå¥ã®èšäºã§è§£æããŠã¿ãŸãã
CSS3åå空éã¢ãžã¥ãŒã«
Internet Explorer 9ã¯ãã®ã¢ãžã¥ãŒã«ãã»ãŒå®å
šã«ãµããŒãããŠãããããCSSã®åå空éãå®çŸ©ã§ããŸãã ã¢ãžã¥ãŒã«ã®è©³çŽ°ã«ã€ããŠã¯ã
ä»æ§ãã芧ãã ããã
CSS3ã»ã¬ã¯ã¿ãŒ
IE9ã¯ã
ä»æ§ã«ããCSS3ã»ã¬ã¯ã¿ãŒããµããŒããã
httpïŒ//tools.css3.info/selectors-test/test.htmlã®ãã¹ãã«100ïŒ
åæ ŒããŸãã
Internet Explorer 8ã¯ãã¹ãã«åæ Œããã43åã®ã»ã¬ã¯ã¿ã®ãã¡22åãåæ Œãã1åã¯ãã°ããã20åã¯ãµããŒããããŠããŸããïŒ578åã®ãã¹ãã®ãã¡349ååæ ŒïŒããšããçµæã«ãªããŸããã
ããã«ãIE9ã«ã¯ãCSS3ä»æ§ã§å®çŸ©ãããŠããªãããã€ãã®ã»ã¬ã¯ã¿ãŒãå«ãŸããŠããŸãã ãã®æ¬äŒŒã¯ã©ã¹
ïŒäžç¢ºå®ïŒæé»çãªç¶æ
ã®ã³ã³ãããŒã«ãéžæã§ããŸãïŒããã³æ¬äŒŒèŠçŽ
::éžæïŒãŠãŒã¶ãŒãããŒã¯ããããŒã¯ã¢ãããéžæã§ããŸãïŒããã¿ãª
ããŒã¿ïŒURI㯠CSSã®ã¢ãžã¥ãŒã«ã§
ã¯ãããŸããããCSSã§ç©æ¥µçã«äœ¿çšãããŠããŸãã ããŒã¿ïŒURIã¯ãã€ã¡ãŒãžã®Internet Explorer 8ã§ãµããŒããããŠããŸãã çŸåšãIE9 DataïŒURIã¯
srcå±æ§ã®
scriptèŠçŽ ã«äœ¿çšã§ããŸãã
DOMæšæºã®ãµããŒã
Internet Explorer 9ã¯ãDOMã¬ãã«2ã®ãµããŒããæ¡åŒµããéžæããDOMã¬ãã«3æ©èœã®ãµããŒããè¿œå ããŸãã
DOMã³ã¢ïŒL2ããã³L3ïŒããã³DOMãã¥ãŒïŒL2ïŒ
DOMã¬ãã«2ã³ã¢æ©èœã®ãµããŒããè¿œå ãããŸããã
- DocumentType
- åŠçåœä»€
- createDocument
DOMåå空éãšé¢é£ããããã£ã®ãµããŒããè¿œå ããŸãã
- namespaceURI
- localName
- ãã¬ãã£ãã¯ã¹
éçºè
ã¯ã
DOMã¬ãã«3ã³ã¢ã®å€ãã®ããããã£ã®ãµããŒããš
DOMã¬ãã«2ãã¥ãŒã®å®å
šãµããŒããå ±åããŠããŸãã
DOMã¬ãã«2ããã³DOMã¬ãã«3ã€ãã³ã
IE9ããŒã ã¯ãæšæºã¡ãœãããéžæããŠattachEventããªããã¢ãŠãã§ããæšæºã€ãã³ãåŠçã¢ãã«ãå®è£
ããŸããã
- addEventListener ã removeEventListener ã createEvent ã dispatchEvent
- ã€ãã³ããªããžã§ã¯ããUIEventãMouseEvent
- DOMAttrModified
- DOMã¬ãã«3ã€ãã³ãDOMContentLoadedãCustomEventãKeyboardEventãDragEvent
- ã€ãã³ãcompositionstart ã compositionupdate ã compositionend
DOMã¬ãã«2 HTML
IE9ã§ã¯ãåŸ
æã®
getElementsByClassNameã®ãµããŒãã«å ããŠã
characterSetãªã©ã®HTML5ã®ä»ã®ããããã£ãå°å
¥ãããŸããã éçºè
ã¯ãããŒãã«ã®ãªããžã§ã¯ãã¢ãã«ã倧å¹
ã«æ¹åããããã©ãŒã ãæäœã§ãããšäž»åŒµããŠããŸãã
DOMã¬ãã«2ã®ç¯å²ãšHTML5ã®éžæ
IE9ã¯ãããŒãžã®éžæããããã©ã°ã¡ã³ãã«ã¢ã¯ã»ã¹ããããã®
DOM L2ãã©ããŒãµã«ããã³ç¯å²ããã³
HTML5éžææšæºã®äž¡æ¹ã®APIãå®å
šã«ãµããŒãããŸãã ããšãã°ã
setSelectionRangeã¡ãœããã ãŸãã¯HTML5ããïŒ
getSelectionãselectionStartãselectionEnd ã
DOMã¬ãã«2ã¹ã¿ã€ã«
IE9ã¯ã以åã®ããã«æ©èœãä»ããŠã§ã¯ãªããæšæºã«åŸã£ãŠ
ä»æ§ãµããŒããå®è£
ããŸãã éçºè
ã¯ããããã®æ©èœã®
ãã¹ãããŒãžãæºåããŸããã
DOM L2ãã©ããŒãµã«
IE9ã¯ã
DOM L2ãã©ããŒãµã«ããã³ç¯å²ä»æ§ã®æ¬¡ã®ããããã£ã®ãµããŒããè¿œå ããŸãïŒ
NodeIteratorãTreeWalkerãwhatToShowãããã³
NodeFilterã ãããã®ã¡ãœããã«ãããDOMèŠçŽ ããã£ã«ã¿ãªã³ã°ããã³ãã€ãã¹ã§ããŸãã
HTML5
IE9ã§å°å
¥ãããHTML5æšæºã®äžéšã®æ©èœã«ã€ããŠã¯ãæ¢ã«äžèšã§èª¬æããŸããã ããã«ãIE8ã1幎以äžåã«ã
DOMã¹ãã¬ãŒãž ã
ã¯ãã¹ããã¥ã¡ã³ãã¡ãã»ãŒãžã³ã° ã
Ajaxããã²ãŒã·ã§ã³ ïŒwindow.locationãHashããããã£ïŒãªã©ã®HTML5æ©èœãããã€ãå°å
¥ããããšãèšåãã䟡å€ããããŸãã
éçºè
ã¯ãIE9ã§ã®HTMLã³ãŒãã®è§£æã¯ãHTML5ãã©ããä»æ§èæ¡ã®æšå¥šäºé
ã«éåžžã«è¿ããšäž»åŒµããŠããŸãã
äžè¬åãããèŠçŽ
以åãInternet Explorerã¯HTMLã§æªç¥ã®ã¿ã°ãç¡é¢ä¿ãªèŠçŽ ãšèŠãªããCSSå®çŸ©ãã¹ãããããŠèæ
®ããŸããã§ããã ããã«ããã次ã®äŸãå°ãããŸããã
<style type = "text / css">
mydiv {
è²ïŒé;
ãã©ã³ãã®å€ªãïŒå€ªåã
}
</ style>
...
<p>ãã®æã§ã¯<mydiv>ãžã§ããªãã¯èŠçŽ </ mydiv>ã䜿çšããŠããŸãã</ p>éçºè
ãæåŸ
ããŠãããããIE8ã§ã¯è¡šç€ºãããŸããã§ããã
Internet Explorer 9ã§ã¯ãéçºè
ããã®ãããªæ±çšèŠçŽ ã®ãµããŒããè¿œå ããäœæè
ãæå³ãããšããã«ã¬ã³ããªã³ã°ãè¡ãããããã«ãªããŸããã
éè€ããèŠçŽ
以åã¯ãInternet Explorerã¯HTML5ã§èŠå®ãããŠããã¿ã°ã®éè€ããµããŒãããŠããŸããã§ããã
<b>ãã®<i>ã</ b>ã¹ã¯ãªããã«äžãã圱é¿</ i>ã«æ³šæããå¿
èŠããããŸããJavaScriptã§åŠçããå Žåãçµæã¯äœæè
ãæå³ãããã®ãšã¯ç°ãªãå ŽåããããŸãã Internet Explorer 9ã¯ãHTML5ãã©ããä»æ§ã«åŸã£ãŠããã®ãããªã·ããªãªã®ãµããŒããå°å
¥ããŸããã
解æã¹ã¿ã€ã«ãšã¹ã¯ãªãããããã¯ã®å€æŽ
Internet Explorerã®ä»¥åã®ããŒãžã§ã³ã¯ãã¹ã¿ã€ã«ãšã¹ã¯ãªãããããã¯ãDOMããªãŒã®äžéšãšããŠèªèããŠããŸããã§ããã IE9ã§ã¯ããã®ãããªãããã¯ãDOMã®äžéšãšããŠæäœããæ©äŒãåŸãããŸãã ããã«ãããåã蟌ã¿ã³ãŒãã«ããªãŒå
ã®ãã¬ãŒã³ããã¹ããšããŠã¢ã¯ã»ã¹ã§ããŸãã
XHTML解æ
IE9ã¯ãMIME
ã¢ããªã±ãŒã·ã§ã³/ xhtml + xmlãå«ãããã¥ã¡ã³ããXHTMLãšããŠè§£æããŸãã
SVGã®è§£æ...çµè«ã®ä»£ããã«
SVGãICCãããã¡ã€ã«ãããã³GPUã¢ã¯ã»ã©ã¬ãŒã·ã§ã³ã®ãµããŒãã«ã€ããŠã¯ãèšäºã®åŸåã§èª¬æããŸãã ãã®äžã§ãIE9éçºè
åãã®ããŒã«ã®æŽæ°ãšãIE9ã®ãã¹ãããŒãžã§ã³ã®å€èŠ³ãèŠèŠããçç±ã«ã€ããŠã説æããŸãã