You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
754 lines
14 KiB
754 lines
14 KiB
{ |
|
"title":"::placeholder CSS pseudo-element", |
|
"description":"The ::placeholder pseudo-element represents placeholder text in an input field: text that represents the input and provides a hint to the user on how to fill out the form. For example, a date-input field might have the placeholder text `YYYY-MM-DD` to clarify that numeric dates are to be entered in year-month-day order.", |
|
"spec":"https://w3c.github.io/csswg-drafts/css-pseudo-4/#placeholder-pseudo", |
|
"status":"wd", |
|
"links":[ |
|
{ |
|
"url":"https://css-tricks.com/snippets/css/style-placeholder-text/", |
|
"title":"CSS-Tricks article with all prefixes" |
|
}, |
|
{ |
|
"url":"https://wiki.csswg.org/ideas/placeholder-styling", |
|
"title":"CSSWG discussion" |
|
}, |
|
{ |
|
"url":"https://developer.mozilla.org/en-US/docs/Web/CSS/::-moz-placeholder", |
|
"title":"MDN Web Docs - CSS ::-moz-placeholder" |
|
}, |
|
{ |
|
"url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1069012", |
|
"title":"Mozilla Bug 1069012 - unprefix :placeholder-shown pseudo-class and ::placeholder pseudo-element" |
|
}, |
|
{ |
|
"url":"https://developer.mozilla.org/en-US/docs/Web/CSS/::placeholder", |
|
"title":"MDN web docs - ::placeholder" |
|
} |
|
], |
|
"bugs":[ |
|
|
|
], |
|
"categories":[ |
|
"CSS" |
|
], |
|
"stats":{ |
|
"ie":{ |
|
"5.5":"n", |
|
"6":"n", |
|
"7":"n", |
|
"8":"n", |
|
"9":"n", |
|
"10":"n", |
|
"11":"n" |
|
}, |
|
"edge":{ |
|
"12":"a x", |
|
"13":"a x", |
|
"14":"a x", |
|
"15":"a x", |
|
"16":"a x", |
|
"17":"a x", |
|
"18":"a x", |
|
"79":"y", |
|
"80":"y", |
|
"81":"y", |
|
"83":"y", |
|
"84":"y", |
|
"85":"y", |
|
"86":"y", |
|
"87":"y", |
|
"88":"y", |
|
"89":"y", |
|
"90":"y", |
|
"91":"y", |
|
"92":"y", |
|
"93":"y", |
|
"94":"y", |
|
"95":"y", |
|
"96":"y", |
|
"97":"y", |
|
"98":"y", |
|
"99":"y", |
|
"100":"y", |
|
"101":"y", |
|
"102":"y", |
|
"103":"y", |
|
"104":"y", |
|
"105":"y", |
|
"106":"y", |
|
"107":"y", |
|
"108":"y", |
|
"109":"y", |
|
"110":"y", |
|
"111":"y", |
|
"112":"y", |
|
"113":"y", |
|
"114":"y", |
|
"115":"y", |
|
"116":"y", |
|
"117":"y", |
|
"118":"y", |
|
"119":"y", |
|
"120":"y", |
|
"121":"y", |
|
"122":"y", |
|
"123":"y", |
|
"124":"y", |
|
"125":"y", |
|
"126":"y", |
|
"127":"y", |
|
"128":"y", |
|
"129":"y", |
|
"130":"y", |
|
"131":"y", |
|
"132":"y", |
|
"133":"y", |
|
"134":"y", |
|
"135":"y", |
|
"136":"y", |
|
"137":"y", |
|
"138":"y", |
|
"139":"y", |
|
"140":"y", |
|
"141":"y", |
|
"142":"y", |
|
"143":"y", |
|
"144":"y", |
|
"145":"y", |
|
"146":"y", |
|
"147":"y" |
|
}, |
|
"firefox":{ |
|
"2":"n #1", |
|
"3":"n #1", |
|
"3.5":"n #1", |
|
"3.6":"n #1", |
|
"4":"n #1", |
|
"5":"n #1", |
|
"6":"n #1", |
|
"7":"n #1", |
|
"8":"n #1", |
|
"9":"n #1", |
|
"10":"n #1", |
|
"11":"n #1", |
|
"12":"n #1", |
|
"13":"n #1", |
|
"14":"n #1", |
|
"15":"n #1", |
|
"16":"n #1", |
|
"17":"n #1", |
|
"18":"n #1", |
|
"19":"y x", |
|
"20":"y x", |
|
"21":"y x", |
|
"22":"y x", |
|
"23":"y x", |
|
"24":"y x", |
|
"25":"y x", |
|
"26":"y x", |
|
"27":"y x", |
|
"28":"y x", |
|
"29":"y x", |
|
"30":"y x", |
|
"31":"y x", |
|
"32":"y x", |
|
"33":"y x", |
|
"34":"y x", |
|
"35":"y x", |
|
"36":"y x", |
|
"37":"y x", |
|
"38":"y x", |
|
"39":"y x", |
|
"40":"y x", |
|
"41":"y x", |
|
"42":"y x", |
|
"43":"y x", |
|
"44":"y x", |
|
"45":"y x", |
|
"46":"y x", |
|
"47":"y x", |
|
"48":"y x", |
|
"49":"y x", |
|
"50":"y x", |
|
"51":"y", |
|
"52":"y", |
|
"53":"y", |
|
"54":"y", |
|
"55":"y", |
|
"56":"y", |
|
"57":"y", |
|
"58":"y", |
|
"59":"y", |
|
"60":"y", |
|
"61":"y", |
|
"62":"y", |
|
"63":"y", |
|
"64":"y", |
|
"65":"y", |
|
"66":"y", |
|
"67":"y", |
|
"68":"y", |
|
"69":"y", |
|
"70":"y", |
|
"71":"y", |
|
"72":"y", |
|
"73":"y", |
|
"74":"y", |
|
"75":"y", |
|
"76":"y", |
|
"77":"y", |
|
"78":"y", |
|
"79":"y", |
|
"80":"y", |
|
"81":"y", |
|
"82":"y", |
|
"83":"y", |
|
"84":"y", |
|
"85":"y", |
|
"86":"y", |
|
"87":"y", |
|
"88":"y", |
|
"89":"y", |
|
"90":"y", |
|
"91":"y", |
|
"92":"y", |
|
"93":"y", |
|
"94":"y", |
|
"95":"y", |
|
"96":"y", |
|
"97":"y", |
|
"98":"y", |
|
"99":"y", |
|
"100":"y", |
|
"101":"y", |
|
"102":"y", |
|
"103":"y", |
|
"104":"y", |
|
"105":"y", |
|
"106":"y", |
|
"107":"y", |
|
"108":"y", |
|
"109":"y", |
|
"110":"y", |
|
"111":"y", |
|
"112":"y", |
|
"113":"y", |
|
"114":"y", |
|
"115":"y", |
|
"116":"y", |
|
"117":"y", |
|
"118":"y", |
|
"119":"y", |
|
"120":"y", |
|
"121":"y", |
|
"122":"y", |
|
"123":"y", |
|
"124":"y", |
|
"125":"y", |
|
"126":"y", |
|
"127":"y", |
|
"128":"y", |
|
"129":"y", |
|
"130":"y", |
|
"131":"y", |
|
"132":"y", |
|
"133":"y", |
|
"134":"y", |
|
"135":"y", |
|
"136":"y", |
|
"137":"y", |
|
"138":"y", |
|
"139":"y", |
|
"140":"y", |
|
"141":"y", |
|
"142":"y", |
|
"143":"y", |
|
"144":"y", |
|
"145":"y", |
|
"146":"y", |
|
"147":"y", |
|
"148":"y", |
|
"149":"y", |
|
"150":"y", |
|
"151":"y", |
|
"152":"y", |
|
"153":"y" |
|
}, |
|
"chrome":{ |
|
"4":"a x", |
|
"5":"a x", |
|
"6":"a x", |
|
"7":"a x", |
|
"8":"a x", |
|
"9":"a x", |
|
"10":"a x", |
|
"11":"a x", |
|
"12":"a x", |
|
"13":"a x", |
|
"14":"a x", |
|
"15":"a x", |
|
"16":"a x", |
|
"17":"a x", |
|
"18":"a x", |
|
"19":"a x", |
|
"20":"a x", |
|
"21":"a x", |
|
"22":"a x", |
|
"23":"a x", |
|
"24":"a x", |
|
"25":"a x", |
|
"26":"a x", |
|
"27":"a x", |
|
"28":"a x", |
|
"29":"a x", |
|
"30":"a x", |
|
"31":"a x", |
|
"32":"a x", |
|
"33":"a x", |
|
"34":"a x", |
|
"35":"a x", |
|
"36":"a x", |
|
"37":"a x", |
|
"38":"a x", |
|
"39":"a x", |
|
"40":"a x", |
|
"41":"a x", |
|
"42":"a x", |
|
"43":"a x", |
|
"44":"a x", |
|
"45":"a x", |
|
"46":"a x", |
|
"47":"a x", |
|
"48":"a x", |
|
"49":"a x", |
|
"50":"a x", |
|
"51":"a x", |
|
"52":"a x", |
|
"53":"a x", |
|
"54":"a x", |
|
"55":"a x", |
|
"56":"a x", |
|
"57":"y", |
|
"58":"y", |
|
"59":"y", |
|
"60":"y", |
|
"61":"y", |
|
"62":"y", |
|
"63":"y", |
|
"64":"y", |
|
"65":"y", |
|
"66":"y", |
|
"67":"y", |
|
"68":"y", |
|
"69":"y", |
|
"70":"y", |
|
"71":"y", |
|
"72":"y", |
|
"73":"y", |
|
"74":"y", |
|
"75":"y", |
|
"76":"y", |
|
"77":"y", |
|
"78":"y", |
|
"79":"y", |
|
"80":"y", |
|
"81":"y", |
|
"83":"y", |
|
"84":"y", |
|
"85":"y", |
|
"86":"y", |
|
"87":"y", |
|
"88":"y", |
|
"89":"y", |
|
"90":"y", |
|
"91":"y", |
|
"92":"y", |
|
"93":"y", |
|
"94":"y", |
|
"95":"y", |
|
"96":"y", |
|
"97":"y", |
|
"98":"y", |
|
"99":"y", |
|
"100":"y", |
|
"101":"y", |
|
"102":"y", |
|
"103":"y", |
|
"104":"y", |
|
"105":"y", |
|
"106":"y", |
|
"107":"y", |
|
"108":"y", |
|
"109":"y", |
|
"110":"y", |
|
"111":"y", |
|
"112":"y", |
|
"113":"y", |
|
"114":"y", |
|
"115":"y", |
|
"116":"y", |
|
"117":"y", |
|
"118":"y", |
|
"119":"y", |
|
"120":"y", |
|
"121":"y", |
|
"122":"y", |
|
"123":"y", |
|
"124":"y", |
|
"125":"y", |
|
"126":"y", |
|
"127":"y", |
|
"128":"y", |
|
"129":"y", |
|
"130":"y", |
|
"131":"y", |
|
"132":"y", |
|
"133":"y", |
|
"134":"y", |
|
"135":"y", |
|
"136":"y", |
|
"137":"y", |
|
"138":"y", |
|
"139":"y", |
|
"140":"y", |
|
"141":"y", |
|
"142":"y", |
|
"143":"y", |
|
"144":"y", |
|
"145":"y", |
|
"146":"y", |
|
"147":"y", |
|
"148":"y", |
|
"149":"y", |
|
"150":"y", |
|
"151":"y" |
|
}, |
|
"safari":{ |
|
"3.1":"n", |
|
"3.2":"n", |
|
"4":"n", |
|
"5":"a x", |
|
"5.1":"a x", |
|
"6":"a x", |
|
"6.1":"a x", |
|
"7":"a x", |
|
"7.1":"a x", |
|
"8":"a x", |
|
"9":"a x", |
|
"9.1":"a x", |
|
"10":"a x", |
|
"10.1":"y", |
|
"11":"y", |
|
"11.1":"y", |
|
"12":"y", |
|
"12.1":"y", |
|
"13":"y", |
|
"13.1":"y", |
|
"14":"y", |
|
"14.1":"y", |
|
"15":"y", |
|
"15.1":"y", |
|
"15.2-15.3":"y", |
|
"15.4":"y", |
|
"15.5":"y", |
|
"15.6":"y", |
|
"16.0":"y", |
|
"16.1":"y", |
|
"16.2":"y", |
|
"16.3":"y", |
|
"16.4":"y", |
|
"16.5":"y", |
|
"16.6":"y", |
|
"17.0":"y", |
|
"17.1":"y", |
|
"17.2":"y", |
|
"17.3":"y", |
|
"17.4":"y", |
|
"17.5":"y", |
|
"17.6":"y", |
|
"18.0":"y", |
|
"18.1":"y", |
|
"18.2":"y", |
|
"18.3":"y", |
|
"18.4":"y", |
|
"18.5-18.7":"y", |
|
"26.0":"y", |
|
"26.1":"y", |
|
"26.2":"y", |
|
"26.3":"y", |
|
"26.4":"y", |
|
"26.5":"y", |
|
"TP":"y" |
|
}, |
|
"opera":{ |
|
"9":"n", |
|
"9.5-9.6":"n", |
|
"10.0-10.1":"n", |
|
"10.5":"n", |
|
"10.6":"n", |
|
"11":"n", |
|
"11.1":"n", |
|
"11.5":"n", |
|
"11.6":"n", |
|
"12":"n", |
|
"12.1":"n", |
|
"15":"a x", |
|
"16":"a x", |
|
"17":"a x", |
|
"18":"a x", |
|
"19":"a x", |
|
"20":"a x", |
|
"21":"a x", |
|
"22":"a x", |
|
"23":"a x", |
|
"24":"a x", |
|
"25":"a x", |
|
"26":"a x", |
|
"27":"a x", |
|
"28":"a x", |
|
"29":"a x", |
|
"30":"a x", |
|
"31":"a x", |
|
"32":"a x", |
|
"33":"a x", |
|
"34":"a x", |
|
"35":"a x", |
|
"36":"a x", |
|
"37":"a x", |
|
"38":"a x", |
|
"39":"a x", |
|
"40":"a x", |
|
"41":"a x", |
|
"42":"a x", |
|
"43":"a x", |
|
"44":"y", |
|
"45":"y", |
|
"46":"y", |
|
"47":"y", |
|
"48":"y", |
|
"49":"y", |
|
"50":"y", |
|
"51":"y", |
|
"52":"y", |
|
"53":"y", |
|
"54":"y", |
|
"55":"y", |
|
"56":"y", |
|
"57":"y", |
|
"58":"y", |
|
"60":"y", |
|
"62":"y", |
|
"63":"y", |
|
"64":"y", |
|
"65":"y", |
|
"66":"y", |
|
"67":"y", |
|
"68":"y", |
|
"69":"y", |
|
"70":"y", |
|
"71":"y", |
|
"72":"y", |
|
"73":"y", |
|
"74":"y", |
|
"75":"y", |
|
"76":"y", |
|
"77":"y", |
|
"78":"y", |
|
"79":"y", |
|
"80":"y", |
|
"81":"y", |
|
"82":"y", |
|
"83":"y", |
|
"84":"y", |
|
"85":"y", |
|
"86":"y", |
|
"87":"y", |
|
"88":"y", |
|
"89":"y", |
|
"90":"y", |
|
"91":"y", |
|
"92":"y", |
|
"93":"y", |
|
"94":"y", |
|
"95":"y", |
|
"96":"y", |
|
"97":"y", |
|
"98":"y", |
|
"99":"y", |
|
"100":"y", |
|
"101":"y", |
|
"102":"y", |
|
"103":"y", |
|
"104":"y", |
|
"105":"y", |
|
"106":"y", |
|
"107":"y", |
|
"108":"y", |
|
"109":"y", |
|
"110":"y", |
|
"111":"y", |
|
"112":"y", |
|
"113":"y", |
|
"114":"y", |
|
"115":"y", |
|
"116":"y", |
|
"117":"y", |
|
"118":"y", |
|
"119":"y", |
|
"120":"y", |
|
"121":"y", |
|
"122":"y", |
|
"123":"y", |
|
"124":"y", |
|
"125":"y", |
|
"126":"y", |
|
"127":"y", |
|
"131":"y" |
|
}, |
|
"ios_saf":{ |
|
"3.2":"n", |
|
"4.0-4.1":"n", |
|
"4.2-4.3":"a x", |
|
"5.0-5.1":"a x", |
|
"6.0-6.1":"a x", |
|
"7.0-7.1":"a x", |
|
"8":"a x", |
|
"8.1-8.4":"a x", |
|
"9.0-9.2":"a x", |
|
"9.3":"a x", |
|
"10.0-10.2":"a x", |
|
"10.3":"y", |
|
"11.0-11.2":"y", |
|
"11.3-11.4":"y", |
|
"12.0-12.1":"y", |
|
"12.2-12.5":"y", |
|
"13.0-13.1":"y", |
|
"13.2":"y", |
|
"13.3":"y", |
|
"13.4-13.7":"y", |
|
"14.0-14.4":"y", |
|
"14.5-14.8":"y", |
|
"15.0-15.1":"y", |
|
"15.2-15.3":"y", |
|
"15.4":"y", |
|
"15.5":"y", |
|
"15.6-15.8":"y", |
|
"16.0":"y", |
|
"16.1":"y", |
|
"16.2":"y", |
|
"16.3":"y", |
|
"16.4":"y", |
|
"16.5":"y", |
|
"16.6-16.7":"y", |
|
"17.0":"y", |
|
"17.1":"y", |
|
"17.2":"y", |
|
"17.3":"y", |
|
"17.4":"y", |
|
"17.5":"y", |
|
"17.6-17.7":"y", |
|
"18.0":"y", |
|
"18.1":"y", |
|
"18.2":"y", |
|
"18.3":"y", |
|
"18.4":"y", |
|
"18.5-18.7":"y", |
|
"26.0":"y", |
|
"26.1":"y", |
|
"26.2":"y", |
|
"26.3":"y", |
|
"26.4":"y", |
|
"26.5":"y" |
|
}, |
|
"op_mini":{ |
|
"all":"n" |
|
}, |
|
"android":{ |
|
"2.1":"a x", |
|
"2.2":"a x", |
|
"2.3":"a x", |
|
"3":"a x", |
|
"4":"a x", |
|
"4.1":"a x", |
|
"4.2-4.3":"a x", |
|
"4.4":"a x", |
|
"4.4.3-4.4.4":"a x", |
|
"147":"y" |
|
}, |
|
"bb":{ |
|
"7":"a x", |
|
"10":"a x" |
|
}, |
|
"op_mob":{ |
|
"10":"n", |
|
"11":"n", |
|
"11.1":"n", |
|
"11.5":"n", |
|
"12":"n", |
|
"12.1":"n", |
|
"80":"y" |
|
}, |
|
"and_chr":{ |
|
"147":"y" |
|
}, |
|
"and_ff":{ |
|
"150":"y" |
|
}, |
|
"ie_mob":{ |
|
"10":"a x", |
|
"11":"a x" |
|
}, |
|
"and_uc":{ |
|
"15.5":"y" |
|
}, |
|
"samsung":{ |
|
"4":"a x", |
|
"5.0-5.4":"a x", |
|
"6.2-6.4":"a x", |
|
"7.2-7.4":"y", |
|
"8.2":"y", |
|
"9.2":"y", |
|
"10.1":"y", |
|
"11.1-11.2":"y", |
|
"12.0":"y", |
|
"13.0":"y", |
|
"14.0":"y", |
|
"15.0":"y", |
|
"16.0":"y", |
|
"17.0":"y", |
|
"18.0":"y", |
|
"19.0":"y", |
|
"20":"y", |
|
"21":"y", |
|
"22":"y", |
|
"23":"y", |
|
"24":"y", |
|
"25":"y", |
|
"26":"y", |
|
"27":"y", |
|
"28":"y", |
|
"29":"y" |
|
}, |
|
"and_qq":{ |
|
"14.9":"y" |
|
}, |
|
"baidu":{ |
|
"13.52":"y" |
|
}, |
|
"kaios":{ |
|
"2.5":"y x", |
|
"3.0-3.1":"y" |
|
} |
|
}, |
|
"notes":"Partial support refers to using alternate names:\r\n`::-webkit-input-placeholder` for Chrome/Safari/Opera ([Chrome issue #623345](https://bugs.chromium.org/p/chromium/issues/detail?id=623345)) \r\n`::-ms-input-placeholder` for Edge (also supports webkit prefix)", |
|
"notes_by_num":{ |
|
"1":"Firefox 18 and below supported the `:-moz-placeholder` pseudo-class rather than the `::-moz-placeholder` pseudo-element." |
|
}, |
|
"usage_perc_y":95.47, |
|
"usage_perc_a":0.48, |
|
"ucprefix":false, |
|
"parent":"", |
|
"keywords":"::placeholder,placeholder", |
|
"chrome_id":"6715780926275584", |
|
"shown":true |
|
}
|
|
|