Skip to content

[css-ui] Restrict appearance: button more #3966

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 14 additions & 8 deletions css-ui-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ spec:css-overflow-4; type:property; text:text-overflow
spec:selectors-4; type:selector; text::enabled
spec:selectors-4; type:selector; text::disabled
spec:css-color-4; type:property; text:color
spec:html; type:element; text:a
</pre>

<style>
Expand Down Expand Up @@ -1841,19 +1842,24 @@ Animation type: discrete

<dt><dfn>button</dfn>
<dd>
The element is rendered with the look and feel of a push button,
similar to the ''appearance: auto'' rendering of the [[HTML]] <{button}> element.
For <{a}> elements,
<{button}> elements,
<{input}> elements whose <{input/type}> attribute is in
the <a lt="Button state (type=button)">Button</a> state,
the <a lt="Reset Button state (type=reset)">Reset</a> state,
or the <a lt="Submit Button state (type=submit)">Submit Button</a> state,
and <a>drop-down box</a> <{select}> elements:
the element is rendered with the look and feel of a push button.

UAs must treat this value as ''appearance/auto'' on <{input}> elements,
<{textarea}> elements, <a spec="html">list box</a> <{select}> elements, <{meter}> elements, and <{progress}> elements.

Note: Using ''appearance/button'' on a <a spec="html">drop-down box</a> <{select}> element works.
For all other elements, this value has the same effect as ''appearance/auto''.

<dt><dfn>textfield</dfn>
<dd>
For <{input}> elements where the <{input/type}> attribute is in the Search state,
For <{input}> elements where the <{input/type}> attribute is in
the <a lt="Text (type=text) state and Search state (type=search)">Search</a> state,
the element is rendered as a "normal" text entry widget,
similar to an <{input}> element where the <{input/type}> attribute is in the Text state.
similar to an <{input}> element where the <{input/type}> attribute is in
the <a lt="Text (type=text) state and Search state (type=search)">Text</a> state.

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

Expand Down