5æ 2æ¥ä»ãã§ãããSelectors Level 4 ã® Working Draft ï¼èæ¡ï¼ ãæ´æ°ããã¾ããã Selectors Level 4 èªä½ã¯ 2011å¹´ 9æ 29æ¥ã® Selectors Level 3 ä»æ§ã®å§åã¨ãããã¦æåã® Working Draft ãå ¬éããã¦ãã¾ãããããããä»å㧠2åç®ã®æ´æ°ã¨ãªãã¾ãã Selectors Level 4 W3C Working Draft 2 May 2013 Working Draft å ã®ããSelectors Overviewã ã« Selectors Level 4 ãå«ãããã»ã¬ã¯ã¿ã®ä¸è¦§ãããã¾ãã®ã§ãä¸è¨ã«å¼ç¨ãã¤ã¤ç°¡åã«æ¥æ¬èªã§ã®è§£èª¬ãä»ãå ãã¦ããã¾ããããSelectors Level 4 ã§ã¯ã»ã¬ã¯ã¿ãããä¸å±¤ä¾¿å©ã«ãªã£ã¦ãã¾ãã®ã§ãæ©ãã¨ãããã©ã¦ã¶å´ã§å®è£ ãããã¨ããã§ããã ã¡ãªã¿ã«ã
CSS Color Module Level 4ã§å®ç¾©ããã¦ããrgba()ã®Alphaã®å¤ã®ä»æ§ã追å å¤æ´ã¨ãªãããã§ããããã¾ã§Alphaã®å¤ã®æå®ã¯ã0ãã1ã®å¤ã®æå®ã§ããããããã«å ã0%ãã100%ã®ãã¼ã»ã³ãã¼ã¸ã®æå®ãå¯è½ã¨ãªãããã§ãã <alpha-value> = <number> | <percentage> <alpha-value>ã®ä»æ§ã追å å¤æ´ã¨ãªã£ã¦ããã®ã§ãvalueã<alpha-value>ã¨ãªã£ã¦ããopacityããããã£ã該å½ããã®ã§ã¯ã¨æãã®ã§ãããä»æ§æ¸è¦ãéãã§ã¯ããInitial:1ããComputed Value:The specified value, clamped to the range [0,1]ãã§opacityããããã£ã®ã¨ããã§ãã¼ã»ã³ãã¼ã¸ãã§ã¦ããªãã®ã§ã該å½ããªãããããã¾ããã ãã¼ã»ã³ãã¼ã¸æå®ã§ããããã«ãª
CSS4ãããimage-set()ã追å ããã¾ããããã®é¢æ°ã使ãã¨ç°ãªã解å度ã®ç»åãè¤æ°æå®ãããã¨ãã§ãã¾ããimage-set()ã¯ãCSS Image Values and Replaced Content Module Level 4ã§å®ç¾©ããã¦ãã¾ãã 使ãã©ãã ããè¿å¹´ãRetinaãã£ã¹ãã¬ã¤ãªã©é«device-pixel-ratioã®ã¹ã¯ãªã¼ã³ãæã¤ããã¤ã¹ããªãªã¼ã¹ããã¦ãã¾ããæãããä»å¾ããã®æ³¢ã¯æ¢ããã¨ã¯ãªãã§ãããã ãããã£ãå ´åãWebå¶ä½è ã«ã¨ã£ã¦ãæ±ãã«å°ãã®ããç»åãã§ããç»åã®è§£å度ãä½ãããã°ãã¡ã¤ã«ãµã¤ãºãä¸ããã¾ãããé«devicePixleRatioã®ã¹ã¯ãªã¼ã³ã®ããã¤ã¹ã§è¦ãã¨ç»åãã¼ãããæãã§è¡¨ç¤ºããã¾ãããã¨ãã£ã¦è§£å度ãä¸ããã°ãã¡ã¤ã«ãµã¤ãºã大ãããªããç»åã®ãã¼ãã«æéãããããªã©åç·ãé ãã¢ãã¤ã«ç«¯æ«ãªã©ã§ã¯ããã¼ãã®ã
CSS4ã§ã¯ã:matches()ã¨ããæ¬ä¼¼ã¯ã©ã¹ã追å ããã¾ãã:matches()ã使ããã¨ã«ãã£ã¦ãã°ã«ã¼ããããã»ã¬ã¯ã¿ã®è¨è¿°ãç°¡ç´ åãããã¨ãã§ãã¾ãã :matches()ã¯ãåæ©è½ã¨ãã¦Firefoxã«å°å ¥ããã¦ãã:-moz-any()ã¨ããç¬èªæ¡å¼µã®ã»ã¬ã¯ã¿ãå ã«ãªã£ã¦ãã¾ãããã®å¾ãWebKitã«ã:-webkit-any()ã¨ãã¦å°å ¥ãããChromeãSafariã§ãåæ©è½ã使ããã¨ãã§ãã¾ãã :matches()ã®è©³ç´°ãªèª¬æã¯ãSelectors Level 4ã®4.2. The Matches-Any Pseudo-class: :matches()ã訳ãã¾ããã®ã§ããåèãã ããã ä»æ§æ¸ãã ããããã«ãããããçä¼¼ã¯ã©ã¹:matches()ã¯ãå¼æ°ã¨ãã¦selector listãã¨ãé¢æ°è¡¨è¨ã®çä¼¼ã¯ã©ã¹ã§ãã:matches()çä¼¼ã¯ã©ã¹ã¯ãå¼æ°å ã®è¡¨
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}