Test of the CSS 3 UI pseudo class :default
.
Quoting
dbaron we need to support: the default button (the one you
get when pressing enter), the default selected item in SELECT elements and
input type=radio / type=checkbox.
This form shows the controls that should support :default
. The
default controls have a (d)
after them, and should be styled to:
width: 60px; height: 40px; border: 1px dashed red;
Form 1, test controls and input submit buttons:
Form 2, test submit buttons:
Form 3, form without submit button: