Skip to content

Conversation

@jugglinmike
Copy link
Contributor

[css-ui] Define control #3990

<a>controls</a> are typically rendered by UAs using native UI controls of the host operating system,
which can neither be replicated nor styled using CSS.

The term <dfn>control</dfn> denotes the following [[HTML]] elements:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it good to be quite this specific? What if things change? Are there disagreements even on some in terms of support? Could you say instead "Examples of controls in HTML are: ....."

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This definition, like the spec itself, is meant to be canonical. Ideally, if things change, they'd start by changing here. Even if we find ourselves updating the definition reactively, it seems to me that completeness is a goal of the standard. From that perspective, suggesting a partial list is less helpful than defining a complete set.

Copy link
Contributor

@bkardell bkardell May 30, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is <summary>/<details> not a control then?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question! I'll defer to the editor on that.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm thinking that maintaining this in a css spec is the wrong place. Tracking how the HTML spec changes will never be perfectly synchronized. Ideally, we'd just refer to a term defined in the HTML spec, and they'd update it when they add new elements. However, there doesn't seem to be one already.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally, we'd just refer to a term defined in the HTML spec

Doesn't the existing term widget satisfy this criteria? BTW, it already includes <details>.

@zcorpan
Copy link
Contributor

zcorpan commented Aug 15, 2019

I have changed this PR and whatwg/html#4857 as per discussion in that PR. Please review.

@zcorpan zcorpan changed the title [css-ui] Define control #3990 [css-ui] Define "native appearance" and rename control to widget Aug 27, 2019
@frivoal frivoal removed the Agenda+ label Dec 17, 2019
@frivoal
Copy link
Collaborator

frivoal commented Dec 17, 2019

Not sure why the IPR checker is stuck, all contributors to this PR are good to go, so I'll merge anyway.

@frivoal frivoal merged commit c075412 into w3c:master Dec 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants