8000 [css-ui] Add 'menulist-textfield' appearance value · w3c/csswg-drafts@5d93bc2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5d93bc2

Browse files
committed
[css-ui] Add 'menulist-textfield' appearance value
This is an alias to 'none' for better web compat (compared to not supporting the value at all or making it equivalent to 'menulist'). See https://bugzilla.mozilla.org/show_bug.cgi?id=1500423#c62 [css-ui] Add 'caret' appearance value This value is supported cross-browser, but does different things. In EdgeHTML/WebKit/Chromium, it is like 'none' but the border is not painted. In Gecko, it is like 'none'. Chrome Use counter for this value is ~0.266%. https://www.chromestatus.com/metrics/feature/timeline/popularity/1355 Add menulist-text as an alias to none Use <compat-none> and <compat-auto>
1 parent e3aaba7 commit 5d93bc2

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

css-ui-4/Overview.bs

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1795,7 +1795,7 @@ so that CSS can be used to restyle them.
17951795

17961796
<pre class="propdef">
17971797
Name: appearance
1798-
Value: ''appearance/none'' | ''auto'' | ''button'' | ''textfield'' | <<compat>>
1798+
Value: ''appearance/none'' | ''auto'' | ''button'' | ''textfield'' | <<compat-none>> | <<compat-auto>>
17991799
Initial: none
18001800
Applies To: all elements
18011801
Inherited: no
@@ -1856,13 +1856,26 @@ Animation type: discrete
18561856

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

1859-
<dt><dfn type="">&lt;compat></dfn>
1859+
<dt><dfn type="">&lt;compat-none></dfn>
1860+
<dd>
1861+
These values exist for compatibility of content developed
1862+
for earlier non standard versions of this property.
1863+
They all have the same effect as ''appearance/none''.
1864+
Authors should use the ''appearance/none'' value instead.
1865+
1866+
<pre class=prod style="white-space: normal"><<compat-auto>> = <dfn>caret</dfn> | <dfn>menulist-textfield</dfn> | <dfn>menulist-text</dfn></pre>
1867+
1868+
1869+
<dt><dfn type="">&lt;compat-auto></dfn>
18601870
<dd>
18611871
These values exist for compatibility of content developed
18621872
for earlier non standard versions of this property.
18631873
They all have the same effect as ''appearance/auto''.
1874+
<!-- Issue: When 'auto' is widely supported, uncomment this:
1875+
Authors should use the ''appearance/auto'' value instead.
1876+
-->
18641877

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>
1878+
<pre class=prod style="white-space: normal"><<compat-auto>> = <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</dfn></pre>
18661879

18671880
Issue: If any of these value is not needed for web compat,
18681881
they should be dropped from this list;
@@ -1874,7 +1887,6 @@ Animation type: discrete
18741887
or that
18751888
some of these values need to have some side effects on some form controls.
18761889

1877-
18781890
</dl>
18791891

18801892
<div class=example>

0 commit comments

Comments
 (0)
0