Skip to content

Commit 97e64fa

Browse files
committed
[css-ui-4] Close issue about possible need for appearance:button
Closes issue w3c#802
1 parent a33fcbc commit 97e64fa

1 file changed

Lines changed: 17 additions & 4 deletions

File tree

css-ui-4/Overview.bs

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -827,6 +827,7 @@ every time we introduced a new value,
827827
we would change what ''appearance/auto'' computes to on some elements,
828828
which doesn't sounds desirable.
829829

830+
<div class="note">
830831
Note: This specification intentionally refrains from making the appearance
831832
of all possible form controls and sub-controls available as values,
832833
as had previously been attempted by earlier proposals for this property
@@ -842,11 +843,23 @@ Instead, this specification only provides
842843
''appearance/auto'', ''appearance/none''.
843844
UAs cannot therefore use the 'appearance' property
844845
in the UA stylesheet to give each control its native look and feel,
845-
and must use ''appearance:auto'' instead.
846+
and must use ''appearance: auto'' instead.
847+
848+
<div class="advisement">
849+
Authors desiring to make certain elements in their document
850+
look and behave like native form controls
851+
should use the correct element in the markup language of the document
852+
rather than attempt to use this property or its experimental variants.
853+
</div>
854+
855+
Future version of this specification may add a few more values
856+
for commonly desired appearances
857+
if compability with content written for experimental implementations proves problematic.
858+
So far, experience indicates that this is not the case.
859+
Even if this were to happen,
860+
it is not anticipated that the property would grow to cover all possible controls and sub-controls.
861+
</div>
846862

847-
Issue: IE supports -webkit-appearance, and also includes the textfield and button values.
848-
Presumably this was done due to compatibility problems,
849-
so we may need to include it as well.
850863

851864
<dl dfn-type=value dfn-for=appearance>
852865
<dt><dfn>auto</dfn>

0 commit comments

Comments
 (0)