News for hackers. Stuff that matters.
Re:HTML Tips (2020) by 1986 on Wednesday May 05, 2021 @07:34PM (#27057279)
And also cross browser support for the spec in general - eg desktop Safari doesn't implement that date picker, or any special treatment of input type="date" at all.
Re:HTML Tips (2020) by mdaniel on Wednesday May 05, 2021 @08:00PM (#27057478)
I don't have a modern Safari in front of me to check, but Can I Use alleges they're about on par with Firefox as of 14.1: https://caniuse.com/?search=Input%20date

Does that mean only fully up-to-date macOS gets it, or do Safari versions move independent of the OS?

Re:HTML Tips (2020) by extra88 on Wednesday May 05, 2021 @11:08PM (#27058744)
Current Safari is available on at least two previous versions.

In rare cases, Safari features require a capability only available on the latest macOS.

Re:HTML Tips (2020) by felipeccastro on Wednesday May 05, 2021 @07:45PM (#27057374)
Apparently it will be supported in the next version! https://webkit.org/blog/11648/new-webkit-features-in-safari-...
Re:HTML Tips (2020) by lstamour on Wednesday May 05, 2021 @11:10PM (#27058755)
In fact, Safari 14.1 is current as of last week (well, this week...) https://support.apple.com/en-us/HT212340

And iOS 14.5 (well, 14.5.1) is also current: https://support.apple.com/en-ca/HT211808#1451

But we'll have to wait a few weeks to months before all Safari users upgrade and see the latest improvements.

Re:HTML Tips (2020) by felipeccastro on Thursday May 06, 2021 @10:46AM (#27064029)
Yes, but still I think it's great news as it looks like we can realistically make forms using native inputs only and validation, complex inputs (like date pickers) all can be setup with little to no javascript. This enables much simpler architectures, like traditional server side rendered apps, that still have a great UX.