File tree 1 file changed +11
-1
lines changed
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
252
252
</tr>
253
253
<tr>
254
254
<td> `<input type=color> `</td>
255
- <td></td>
255
+ <td> ''::color-swatch'' </td>
256
256
</tr>
257
257
<tr>
258
258
<td> `<select> `</td>
@@ -497,6 +497,16 @@ Markup Shorthands: css yes, markdown yes
497
497
```
498
498
</div>
499
499
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
+
500
510
## Compatibility With Vendor Pseudo-Element Extensions ## {#vendor-pseudo-element-compatibility}
501
511
502
512
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