• bjorney@lemmy.ca
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    5 months ago

    Chrome implements features that aren’t standards track into their browser, and lazy/oblivious devs use these features to build their products - only to realize wayyy too late it won’t work in Safari/Firefox because it uses APIs that are chrome only

    • bleistift2@feddit.de
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      3
      ·
      5 months ago

      Firefox still has no month or week inputs. These things have been standardized 10 years ago and implemented in Chrome as of version 20.

      • Eager Eagle@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        5 months ago

        Probably the reason it was never implemented is that it’s barely an inconvenience. The input just fallback into a text field.

        • bjorney@lemmy.ca
          link
          fedilink
          English
          arrow-up
          1
          ·
          5 months ago

          Probably because the week input is just a date picker that applies Math.floor() on the result, and month inputs are better suited for a <select>

      • Skull giver@popplesburger.hilciferous.nl
        link
        fedilink
        English
        arrow-up
        4
        ·
        5 months ago

        According to MDN, Firefox does support week inputs… on Android. Firefox isn’t really relevant, though. Safari is, and Safari doesn’t have a week input either.

        I don’t know many use cases for these input types, but it’s interesting to know about them for the future.