aral,
@aral@mastodon.ar.al avatar

Today I learned that Safari can’t understand compound extensions in the accept attribute of file inputs.

So, for example…

<input
type="file"
accept=".kitten.databases.tar.gz"
>

… fails. So you have to do:

<input
type="file"
accept=".gz"
>

(Which, of course, opens the person up to more chances of selecting the wrong file.)

🤷‍♂️

#Safari #web #dev #limitation

  • All
  • Subscribed
  • Moderated
  • Favorites
  • web
  • DreamBathrooms
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • tacticalgear
  • JUstTest
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • megavids
  • lostlight
  • All magazines