@@ -1745,7 +1745,7 @@ without adverse consequences to compatibility,
1745
1745
so this specification allows flexibility.
1746
1746
1747
1747
1748
- <h2 id="form-styling">Form Control Styling</h2>
1748
+ <h2 id="control-styling" oldids=" form-styling">Control Styling</h2>
1749
1749
1750
1750
<h3 id="appearance-switching" caniuse="css-appearance">Switching appearance</h3>
1751
1751
@@ -1785,13 +1785,13 @@ so this specification allows flexibility.
1785
1785
</div>
1786
1786
1787
1787
While the way most elements in a document look can be fully controlled by CSS,
1788
- form controls are typically rendered by UAs using native UI controls of the host operating system,
1788
+ controls are typically rendered by UAs using native UI controls of the host operating system,
1789
1789
which can neither be replicated nor styled using CSS.
1790
1790
1791
1791
This specification introduces the 'appearance' property
1792
1792
to provide some control over this behavior.
1793
1793
In particular, using ''appearance: none'' allows authors
1794
- to suppress the native style of form controls,
1794
+ to suppress the native style of controls,
1795
1795
so that CSS can be used to restyle them.
1796
1796
1797
1797
<pre class="propdef">
@@ -1827,17 +1827,17 @@ Animation type: discrete
1827
1827
<dt> <dfn>none</dfn>
1828
1828
<dd>
1829
1829
The element is rendered following the usual rules of CSS.
1830
- Replaced elements other than form controls are not affected by this,
1830
+ Replaced elements other than controls are not affected by this,
1831
1831
and remain replaced elements.
1832
- Form controls are <em> not</em> made to look like native controls of the host operating system.
1832
+ Controls are <em> not</em> made to look like native controls of the host operating system.
1833
1833
See [[#appearance-decorative]] and [[#appearance-semantics]] for details.
1834
1834
1835
1835
<dt> <dfn>auto</dfn>
1836
1836
<dd>
1837
- UAs may render form controls using native controls of the host operating system
1837
+ UAs may render controls using native controls of the host operating system
1838
1838
or with a look and feel not otherwise expressible in CSS.
1839
1839
1840
- Elements other than form controls must be rendered as if ''appearance/none'' had been specified.
1840
+ Elements other than controls must be rendered as if ''appearance/none'' had been specified.
1841
1841
1842
1842
<dt> <dfn>button</dfn>
1843
1843
<dd>
@@ -1883,7 +1883,7 @@ Animation type: discrete
1883
1883
some of these values need to be promoted to being full blown values
1884
1884
with effects on arbitrary elements like ''button'',
1885
1885
or that
1886
- some of these values need to have some side effects on some form controls.
1886
+ some of these values need to have some side effects on some controls.
1887
1887
1888
1888
1889
1889
</dl>
@@ -1914,7 +1914,7 @@ Animation type: discrete
1914
1914
and activating (for example by clicking) the element would toggle the state as usual.
1915
1915
</div>
1916
1916
1917
- On form control elements where the computed value is ''appearance/auto'' or one of the <<compat>> values,
1917
+ On controls where the computed value is ''appearance/auto'' or one of the <<compat>> values,
1918
1918
and on any element where the computed value is ''appearance/button'' ,
1919
1919
UAs may disregard some CSS properties
1920
1920
to ensure that the intended appearance is preserved,
@@ -1943,7 +1943,7 @@ Issue: Are there more properties should include in this list?
1943
1943
Should we remove some?
1944
1944
Should whitelist the properties that are ok to ignore instead of
1945
1945
blacklisting those that are not?
1946
- Either way, UAs do ignore some properties when rendering form controls,
1946
+ Either way, UAs do ignore some properties when rendering controls,
1947
1947
so this specification needs to say something about this.
1948
1948
1949
1949
For compatibility with legacy content, UAs must also support <dfn property export>-webkit-appearance</dfn>
@@ -1952,7 +1952,7 @@ as a [=legacy name alias=] of 'appearance'.
1952
1952
<h4 id=appearance-decorative>
1953
1953
Effects of 'appearance' on Decorative Aspects of Elements</h4>
1954
1954
1955
- All decorative visual aspects of a form control which are not caused by a CSS style rule
1955
+ All decorative visual aspects of a control which are not caused by a CSS style rule
1956
1956
must be suppressed when the appearance is changed using 'appearance' ,
1957
1957
even if the UA's internal representation for this element
1958
1958
was composed of multiple elements or pseudo elements combined together.
@@ -1965,14 +1965,14 @@ was composed of multiple elements or pseudo elements combined together.
1965
1965
</div>
1966
1966
1967
1967
UAs should include in their User Agent stylesheet style rules
1968
- to give form controls a recognizable shape when 'appearance' is ''appearance/none'' .
1968
+ to give controls a recognizable shape when 'appearance' is ''appearance/none'' .
1969
1969
1970
1970
Note: Authors may therefore need to override these UA style rules to get the styling
1971
1971
they intended.
1972
1972
1973
1973
<div class=advisement>
1974
1974
Authors may find it convenient to use ''all: unset'' ,
1975
- to get fully unstyled form control elements
1975
+ to get fully unstyled controls
1976
1976
which they can then style as they want without interference from the browser's UA stylesheet.
1977
1977
However, this also suppresses the focus indicators provided by the same UA stylesheet.
1978
1978
In order avoid damaging accessibility,
@@ -1983,7 +1983,7 @@ they intended.
1983
1983
<h4 id=appearance-semantics>
1984
1984
Effects of 'appearance' on Semantic Aspects of Elements</h4>
1985
1985
1986
- UAs must preserve aspects of the form control
1986
+ UAs must preserve aspects of the control
1987
1987
which are necessary to operate the control with its original semantics.
1988
1988
The UA may however give them a different look and feel
1989
1989
as long as it remains possible to operate the control.
@@ -2042,7 +2042,7 @@ that are typical of the element whose appearance it acquires.
2042
2042
</div>
2043
2043
2044
2044
<h3 id=control-specific-rules>
2045
- Form Control Specific Rules</h3>
2045
+ Control Specific Rules</h3>
2046
2046
2047
2047
Issue: Maybe some or all of this section
2048
2048
should be moved to the [[HTML]] spec
0 commit comments