Skip to content

Commit 28ebf64

Browse files
committed
[css-ui] Make appearance: textfield on <input type=search> work
1 parent 5ae0ca2 commit 28ebf64

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

css-ui-4/Overview.bs

+10-2
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'' | <<compat>>
1798+
Value: ''appearance/none'' | ''auto'' | ''button'' | ''textfield'' | <<compat>>
17991799
Initial: none
18001800
Applies To: all elements
18011801
Inherited: no
@@ -1851,13 +1851,21 @@ Animation type: discrete
18511851
on which this value <em>must</em> be treated as auto for web compat requirements?
18521852
The phrasing above alows it, and that's probably enough.
18531853

1854+
<dt><dfn>textfield</dfn>
1855+
<dd>
1856+
For <{input}> elements where the <{input/type}> attribute is in the Search state,
1857+
the element is rendered as a "normal" text entry widget,
1858+
similar to an <{input}> element where the <{input/type}> attribute is in the Text state.
1859+
1860+
For all other elements, this value has the same effect as ''appearance/auto''.
1861+
18541862
<dt><dfn type="">&lt;compat></dfn>
18551863
<dd>
18561864
These values exist for compatibility of content developed
18571865
for earlier non standard versions of this property.
18581866
They all have the same effect as ''appearance/auto''.
18591867

1860-
<pre class=prod style="white-space: normal"><<compat>> = <dfn>textfield</dfn> | <dfn>searchfield</dfn> | <dfn>textarea</dfn> | <dfn>push-button</dfn> | <dfn>slider-horizontal</dfn> | <dfn>checkbox</dfn> | <dfn>radio</dfn> | <dfn>square-button</dfn> | <dfn>menu-list</dfn> | <dfn>listbox</dfn> | <dfn>meter</dfn> | <dfn>progress-bar</pre></dfn>
1868+
<pre class=prod style="white-space: normal"><<compat>> = <dfn>searchfield</dfn> | <dfn>textarea</dfn> | <dfn>push-button</dfn> | <dfn>slider-horizontal</dfn> | <dfn>checkbox</dfn> | <dfn>radio</dfn> | <dfn>square-button</dfn> | <dfn>menu-list</dfn> | <dfn>listbox</dfn> | <dfn>meter</dfn> | <dfn>progress-bar</pre></dfn>
18611869
18621870
Issue: If any of these value is not needed for web compat,
18631871
they should be dropped from this list;

0 commit comments

Comments
 (0)