Skip to content

Commit 72f715a

Browse files
authored
[css-ui] appearance: menulist-button is different from auto
Fixes #3551 Tests: web-platform-tests/wpt#14996
1 parent 942a46a commit 72f715a

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

css-ui-4/Overview.bs

+13-2
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ spec:css-backgrounds-3; type:property; text:border-width
8686
spec:css-overflow-4; type:property; text:text-overflow
8787
spec:selectors-4; type:selector; text::enabled
8888
spec:selectors-4; type:selector; text::disabled
89+
spec:css-color-4; type:property; text:color
8990
</pre>
9091

9192
<style>
@@ -1795,7 +1796,7 @@ so that CSS can be used to restyle them.
17951796

17961797
<pre class="propdef">
17971798
Name: appearance
1798-
Value: ''appearance/none'' | ''auto'' | ''button'' | ''textfield'' | <<compat>>
1799+
Value: ''appearance/none'' | ''auto'' | ''button'' | ''textfield'' | ''menulist-button'' | <<compat>>
17991800
Initial: none
18001801
Applies To: all elements
18011802
Inherited: no
@@ -1856,13 +1857,23 @@ Animation type: discrete
18561857

18571858
For all other elements, this value has the same effect as ''appearance/auto''.
18581859

1860+
<dt><dfn>menulist-button</dfn>
1861+
<dd>
1862+
For <a spec="html">drop-down box</a> <{select}> elements,
1863+
the element is rendered as a drop-down box, including a "drop-down button",
1864+
but not necessarily using a native control of the host operating system.
1865+
For such elements, CSS properties such as 'color', 'background-color', and 'border'
1866+
(that can be disregarded for ''appearance/auto'') should not be disregarded.
1867+
1868+
For all other elements, this value has the same effect as ''appearance/auto''.
1869+
18591870
<dt><dfn type="">&lt;compat></dfn>
18601871
<dd>
18611872
These values exist for compatibility of content developed
18621873
for earlier non standard versions of this property.
18631874
They all have the same effect as ''appearance/auto''.
18641875

1865-
<pre class=prod style="white-space: normal"><<compat>> = <dfn>searchfield</dfn> | <dfn>textarea</dfn> | <dfn>push-button</dfn> | <dfn>button-bevel</dfn> | <dfn>slider-horizontal</dfn> | <dfn>checkbox</dfn> | <dfn>radio</dfn> | <dfn>square-button</dfn> | <dfn>menulist</dfn> | <dfn>menulist-button</dfn> | <dfn>listbox</dfn> | <dfn>meter</dfn> | <dfn>progress-bar</pre></dfn>
1876+
<pre class=prod style="white-space: normal"><<compat>> = <dfn>searchfield</dfn> | <dfn>textarea</dfn> | <dfn>push-button</dfn> | <dfn>button-bevel</dfn> | <dfn>slider-horizontal</dfn> | <dfn>checkbox</dfn> | <dfn>radio</dfn> | <dfn>square-button</dfn> | <dfn>menulist</dfn> | <dfn>listbox</dfn> | <dfn>meter</dfn> | <dfn>progress-bar</pre></dfn>
18661877
18671878
Issue: If any of these value is not needed for web compat,
18681879
they should be dropped from this list;

0 commit comments

Comments
 (0)