Update on what happened in WebKit in the week from November 17 to November 24.
This week includes reporting on stable release which include important security fixes; but also work on SVG features, multimedia, an SDK update, and WPEPlatform gaining support for throttling invisible views.
Cross-Port ๐ฑ
Implemented support for the download
attribute on SVG <a> elements.
Multimedia ๐ฅ
GStreamer-based multimedia support for WebKit, including (but not limited to) playback, capture, WebAudio, WebCodecs, and WebRTC.
Solved decryptor hangs on platforms using WesterosSink by preventively
destroying the source element when tearing down the MSE
pipeline.
Graphics ๐ผ๏ธ
Fixed SVG text layout so that it
measures each run of text as a whole with the same shaping code used for
painting, instead of measuring every character on its own, which means kerning
and ligatures are now taken into account. Text boxes, getBBox(),
text-anchor, dx/x/rotate positioning, textLength and textPath were
all too large or misplaced before, and now line up with the painted text.
Reimplemented the SVG text DOM APIs, such as
getComputedTextLength(),
on top of the text layout result instead of measuring the text again character
by character, so their answers now agree with the rendered text. Characters
are numbered in logical order as SVG 2 typographic characters, so the APIs now
work for right-to-left, mixed and vertical text and take letter and word
spacing into account.
WPE WebKit ๐
WPE Platform API ๐งฉ
New, modern platform API that supersedes usage of libwpe and WPE backends.
WPEPlatform now suspends CSS animations and throttles DOM timers for all hidden views.
Releases ๐ฆ๏ธ
WebKitGTK
2.54.3 and
WPE WebKit 2.54.3 have
been released, including a number of important fixes for security issues, and
therefore it is strongly recommended to update. An accompanying security
advisory, WSA-2026-0007
(GTK,
WPE) has been published.
Additionally, these releases include improvements to input handling, better
WebAudio performance, improved subprocess launching, support for GStreamer
1.28, and rendering fixes.
Infrastructure ๐๏ธ
The WebKit Container SDK updated the Swift toolchain to version 6.4.2.
Thatโs all for this week!