File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ Markup Shorthands: css yes, markdown yes
252252 </tr>
253253 <tr>
254254 <td> `<input type=color> `</td>
255- <td></td>
255+ <td> ''::color-swatch'' </td>
256256 </tr>
257257 <tr>
258258 <td> `<select> `</td>
@@ -497,6 +497,16 @@ Markup Shorthands: css yes, markdown yes
497497 ```
498498 </div>
499499
500+ ## Color Swatch: the ''::color-swatch'' pseudo-element ## {#color-swatch-pseudo}
501+
502+ The <dfn>::color-swatch</dfn> pseudo-element represents the portion of the control that displays the chosen color value.
503+
504+ <div class="example" id="color-swatch-example">
505+ For example, the following example should make the input and its color swatch rounded:
506+
507+ <pre class="lang-css"> input[type=color] , ::color-swatch { border-radius: 9999px; }</pre>
508+ </div>
509+
500510## Compatibility With Vendor Pseudo-Element Extensions ## {#vendor-pseudo-element-compatibility}
501511
502512 When possible, the user agent should use aliasing to implement any non-standard pseudo-elements.
You can’t perform that action at this time.
0 commit comments