Modern web browser engines are complex beasts, and so is modern web content. The WebKit team delivered massive speedups on the Speedometer 3.0 benchmark. Here's technical deep dive into just a few of the dozens of individual optimizations.

webkit.org/blog/15249/optimizi

@scottjenson @alvaromontoro we didn’t avoid standards bodies. This has been proposed as a PR to HTML and discussed extensively there and in three related issue. github.com/whatwg/html/pull/95

Just wrapped on #TheClockFilm, written by @jelena, and directed by me - starring #CCHPounder and #WallaceShawn - can’t wait to share it with you!

Safari 17.4 beta 1 came out today!

- CSS `content` alternative text syntax
- `@scope`
- `align-content` on block containers & table cells
- `white-space-collapse` and `text-wrap-mode`
- `::grammar-error` and `::spelling-error`
- form control vertical writing modes
- `<hr>` inside `<select>`
- `<input type="checkbox" switch>`
- `Promise.withResolvers`
- `TimeZoneOffset` for `Intl.DateTimeFormat`
- `ArrayBuffer.prototype.transfer`
- updated `IntlMathematicalValue`

(part 1 of 3)

I can't remember the last time a new HTML element came along. Yesterday, <search> shipped in Safari 17.0 (the first browser with support).

You can start using it to build websites TODAY, even when most of your users still don't have support. We explain why & how at the beginning of this article: webkit.org/blog/14445/webkit-f
```
<search>
<form action="/search">
<p><input type="search" name="q"> <input type="submit" value="Search!"></p>
</form>
</search>

In the world of images & video, Safari 17.0 includes:
- the `image-set()` arguments `resolution` and `type`.
- JPEG XL
- HEIC
- AV1 on devices with hardware support
- Managed Media Source API (better MSE)
- an overlay for `<video>` that shows media player stats (for developers)

Show thread

@Cameo As decades are to men, milennia are to elves. Maybe in 1000 years, beardelf will be the hot new look in Lothlorien?

@Cameo Fashion in men’s facial hair changes a lot, and sometimes going along with prevailing fashion is important, or at least a good option to have. In the decades I’ve been alive, the fashion has been moustache or sideburns (70s) clean shaven or maybe moustache (80s), chin whiskers only (90s), clean shaven again (00s), fiddly hipster moustache or chin strap (10s) and full beard (20s). And yeah there has always been room for variation but there can be value to going with the flow.

@Cameo @josh Not just you. I think on average men enjoy their own beards more than their partners enjoy their beards. (Exceptions exist of course.)

@Cameo not qualified to vote at the moment but I would vote no because of option value.

@louisrcouture @Cameo Can you give an example of the kind of thing you have in mind? If you mean HTML <textarea> elements being resizable, they are by default in WebKit and I think we had that feature first.

@lisamelton Congrats on your transition and thanks for sharing with the broader world!

@rgadellaa @jensimmons Sure file, but if possible check if the spec says what should happen in case of a transition and an animation both applying to the same element. It’s possible that we have a bug, or that Chrome and Firefox have a bug, or that the spec leaves it undefined, which would be a spec bug.

You can now download the visionOS SDK: developer.apple.com/news/?id=8

Learn how to test your website in the visionOS simulator by watching “Rediscover Safari developer features” from WWDC23:
developer.apple.com/videos/pla

If you have a pet, please get pet insurance if you don't have lots of disposable cash in case of an emergency. I pay $63 a month for Truth (5 y/o), and $155 a month for strange (12 y/o). Truth had a medical emergency last night, and Trupanion covered 17k without fuss. Absolutely worth it. Happy to answer any questions. refer.trupanion.com/cameow-2

Lots of people would like to see Safari's web developer tools grow and improve. Want to join the WebKit Developer Experience team and be their hero? Experience in both web development and C/C++/ObjC preferred.

Apply online or DM me with questions. jobs.apple.com/en-us/details/2

Show more
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.