jensimmons, (edited )
@jensimmons@front-end.social avatar

Safari 17.5 is out today! With
text-wrap: balance and text-wrap: stable
light-dark()
@​starting-style
@​import <url> supports(<feature>);
• AV1 for WebCodecs
• WebGL EXT_conservative_depth and NV_shader_noperspective_interpolation
and more!

https://webkit.org/blog/15383/webkit-features-in-safari-17-5/

tomayac,
@tomayac@toot.cafe avatar

@jensimmons For "WebKit for Safari 17.5 adds support for AV1 to WebCodecs when an AV1 hardware decoder is available.", could you clarify what this means device-/operating-system-wise?

BryceWrayTX,
@BryceWrayTX@fosstodon.org avatar

@jensimmons Great stuff! Any advice to which you can point us re using light-dark() with a setup that allows an auto option (i.e., lets the user keep his/her chosen setting)? That’s typically done with some JS (e.g., https://webcodespace.com/how-to-create-a-three-state-toggle-switch-using-html-css-and-javascript/), but would be nice if it’s somehow available through just light-dark() as well.

hi_mayank,
@hi_mayank@hachyderm.io avatar

@BryceWrayTX you just need html { color-scheme: light dark; } (or corresponding meta tag)

https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme

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