Re: [csswg-drafts] [css-ui] appearance: base to enable interoperable styling of controls/components (#5998)

> > I do so as well. Though note, in CSS, names are generally dash-separated, so it should be `base-style`.
> 
> But this is the name of an HTML attribute, which typically don’t have dashes. Perhaps you’re talking about the pseudo class for feature detection?

I did talk about the pseudo-class, yes. I didn't realize before the resolution was to add an HTML attribute and make it detectable in CSS. But given that, the HTML attribute may still be called `basestyle`. Generally, I believe the attribute name and the name in CSS should be aligned with each other.

> Maybe `unstyled` could work as the name of this attribute, implying that authors would have to style these controls themselves?

Form elements with that attribute will still have some basic styling, right? So "unstyled" may not be fully true. Though as we are searching for something that fits for both HTML and CSS, it might make sense to use a single word to avoid the issue of the names being different due to the different word separation rules in both languages. So "unstyled" sounds ok.

Sebastian

-- 
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5998#issuecomment-1868382347 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 23 December 2023 22:38:47 UTC