diff --git a/css-pseudo-4/Overview.bs b/css-pseudo-4/Overview.bs index 09d530cbef4..1d5321a2f00 100644 --- a/css-pseudo-4/Overview.bs +++ b/css-pseudo-4/Overview.bs @@ -891,6 +891,22 @@ Placeholder Input: the ''::placeholder'' pseudo-element It's not clear how this should work, but it may be worth doing. See Issue 2417. +

+File Selector Button: the ''::file-selector-button'' pseudo-element

+ + The ::file-selector-button pseudo-element targets the ''<button>'' + inside an ''<input>'' element with type=file, if the UA + renders such a button. + + There is no restriction on which properties apply to the + ''::file-selector-button'' pseudo-element. + +
+ For example, the following example should show a green border around the + file selector button: + +
::file-selector-button { border: 3px solid green }
+

Overlapping Pseudo-element Interactions