The element can now be customized with CSS
121–130 of 194 posts
Re: The <select> element can now be customized with CSS
#122Developers, don't fall for this! This web API scope creep makes it __harder__ to create and maintain truly independent web browsers.. you have to implement more and more and eventually we arrive at the current state of matters - all non-chromium engines are lagging behind. Developers will happily use this, then users will notice websites "look better" in chrome and firefox will become even less relevant. Don't.. you…
> and firefox will become even less relevant No; Firefox can easily afford financially to add this feature. Firefox is already irrelevant; no developer will shed a tear about just blocking Firefox if they refuse to implement. Boycotting won't work either, because boycotts almost never work.
Re: The <select> element can now be customized with CSS
#123Can someone explain why this took them literal decades to do?
Re: The <select> element can now be customized with CSS
#124Re: The <select> element can now be customized with CSS
#125Earlier quoted context omitted.
Because frontend is frontend, Javascript frameworks dominated the conversation even for silly things like basic web forms for the past 15 years. Basic HTML/CSS is now catching up to the fact that not everyone wants to run a Javascript monstrosity for custom styling on very basic tasks.
The prevalence of JS and JS backed components is due to the reluctance of browser vendors to introduce new HTML elements that everyone has been lobbying for in the same time period. By and large browser vendors for the longest time, even today still in many respects, repeatedly ignore pleas for more elements that cover common use cases. Even when they do arrive, they can be half baked - like dialog or details / summa…
Re: The <select> element can now be customized with CSS
#126Some controls are better left unstyled. Look what happened to scrollbars: either they are too thin to grab, have bad color contrast, so it is hard to see what part to actually grab, and, finally, some smartypants have managed even to remove scrollbars altogether from their website. Sure, default select is not the prettiest control, but it gets it job done.
(If you want to annoy your users, that's your prerogative)
Re: The <select> element can now be customized with CSS
#127Earlier quoted context omitted.
Definitely not. Why would they let web devs render outside of the browser window? That's a recipe for disaster.
There needs to be some middle ground. I'd trade off just being able to set just the background color and font and keep these native-like features
Re: The <select> element can now be customized with CSS
#128Earlier quoted context omitted.
I doubt it'll still be able to do those things. From the article: >Using base-select loses a number of features and behaviors: > The doesn't render outside the browser pane. > It doesn't trigger built-in mobile operating system components. I have mixed feelings about it. Mobile users, get ready for poorly optimized select elements. On the other hand it reduces the need for javascript for styling forms, which is good
> The doesn't render outside the browser pane. ... It doesn't trigger built-in mobile operating system components. To me, this is intrinsically what makes a a . Styling is great, but without these features, this doesn't really bring anything new to the table
Re: The <select> element can now be customized with CSS
#129Earlier quoted context omitted.
I haven't found this to be the case in my experience.
Maybe it's just iframes that are the issue but they were a devil and a half to get working in chrome (or blink ig) without relying on third party cookies.
Re: The <select> element can now be customized with CSS
#130Earlier quoted context omitted.
with automatic ISO8601 timezone offsets would be awesome too!
ISO-8601 is not the correct format for serializing local time unless it's in the past. In my experience, a local datetime picker is going to be used almost exclusively for a future date and time. What you want instead of a timezone offset is a zone ID. That way date and tzdata can handle it properly on the backend.