4 æ 1 æ¥ã§ããï¼ getCascadedCSSSelectors é¢æ°ã¨ã¯ getCascadedCSSSelectors é¢æ°ã¨ã¯ã HTML5 ã® 4-1. the default views å®ç¾©ããã¦ããã¤ã³ã¿ãã§ã¼ã¹ã§ãè¦ç´ ã«ããã£ã¦ãã CSS ã»ã¬ã¯ã¿ãé åã§åå¾ããããã®é¢æ°ã§ãã window ãªãã¸ã§ã¯ãï¼ã°ãã¼ãã«ãªãã¸ã§ã¯ãï¼ãæã£ã¦ããé¢æ°ãªã®ã§æ®éã«ã以ä¸ã®ããã«å¼ã³åºããã¨ãã§ãã¾ãã var element = document.getElementById('main-content'); var selectors = getCascadedCSSSelectors(element); alert(selectors[0]); // #main-content alert(selectors[1]); // div.section alert(se
{{#tags}}- {{label}}
{{/tags}}