W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2018

Re: [csswg-drafts] [css-selectors] Selectors for “text-ish” and “button-ish” inputs

From: Ragdoll via GitHub <sysbot+gh@w3.org>
Date: Mon, 12 Feb 2018 22:03:39 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-365078199-1518473018-sysbot+gh@w3.org>
>If it's up to the browser to decide, that's about as good for me as no solution.

That’s a bit hyperbolic. The browser vendors already make lots of decisions. Even today, we have to neutralize left padding and margin on lists, and the world hasn’t ended. And vendors are now working together better than ever to bring their implementations in line with one another.

>Also you should be careful with browsers that don't support some of these input types, since they will always render it as a text type input.

In these cases, we have a classic progressive enhancement scenario. The browsers ought to ignore the type it doesn’t support and default to `:text`, just as they already do today.

GitHub Notification of comment by revoltpuppy
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2296#issuecomment-365078199 using your GitHub account
Received on Monday, 12 February 2018 22:03:44 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:24 UTC