jimniels,
@jimniels@mastodon.social avatar

Periodic personal pet peeve reminder: don't write content in all caps in the HTML. It makes copy/pasting a hassle. Use CSS.

text-transform: uppercase in CSS
.toLowerCase() in JS

https://blog.jim-nielsen.com/2020/letter-case-on-the-web/

cbirdsong,
@cbirdsong@mastodon.social avatar

@jimniels @baldur an annoying detail in Chromium browsers that contributes to this: if you copy/past properly cased text that is text-transformed then it copies the all caps version, which makes it very easy to do this accidentally if you’re moving text between a web-based document and a CMS.

ramsey,
@ramsey@phpc.social avatar

@cbirdsong @jimniels @baldur I’ve noticed this behavior in WebKit browsers, too. 😔

jimniels,
@jimniels@mastodon.social avatar

@ramsey @cbirdsong @baldur I swear this used to not be the case, which is why I wrote that post….

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