Safari Technology Preview 257 is now available for macOS Golden Gate and macOS Tahoe, and its release notes are dominated by fixes that affect how web pages calculate and paint their layouts. WebKit has addressed problems across flexbox, grid, tables, typography, scoped CSS and animations. For development teams, this is less a feature release than an opportunity to retest interfaces that previously behaved differently in WebKit.
The preview covers WebKit changes from 324654@main through 326096@main. Existing Safari Technology Preview users can install the update through System Settings under General → Software Update. Teams should treat it as a testing target: the fixes can help diagnose browser-specific defects, but the release notes do not establish when they will reach a regular Safari release.
Layout calculations receive the most attention
The most consequential changes concern dimensions that were stale, inconsistent or slightly inaccurate. WebKit fixed a flex container whose intrinsic width grew every time it was computed when using a percentage gap. It also corrected stale max-content widths in a wrapping column flex container and a column-flow grid with auto-fill rows after their heights changed.
Those fixes matter for interfaces that resize in response to content, orientation or container dimensions. A component may look correct on its first render yet drift after subsequent calculations, making the bug difficult to reproduce with a static screenshot. Developers should test repeated resizing and content updates rather than checking only the initial layout.
WebKit also corrected a flex item with max-width that could shrink below that limit while its siblings remained too wide. Other changes resolve sizing for a flex item with an aspect ratio in a column flexbox and set the max-content width of a multi-line column flex container to its widest item instead of the sum of its lines.
Several fixes target accumulated rounding errors. Flex items using auto margins, distributed alignment or justification could finish up to 1/64 of a pixel short of a container’s end edge. Items could also overflow because each one rounded its share of free space separately. These differences are tiny, but they can become visible when a design depends on an exact edge, divider or tightly aligned row.
Component authors get important CSS corrections
Two fixes stand out for reusable components. The insertRule() method now works when inserting @scope rules, while named style container queries on :host now apply to slotted elements. Teams maintaining style systems or encapsulated components should add these cases to their WebKit test suite, especially where styles are generated programmatically or content is projected into a component.
The release also brings ::first-letter and ::first-line closer to the CSS Pseudo-Elements specification. Only permitted properties are allowed, both pseudo-elements are animatable, and getComputedStyle() is fixed for them on non-block elements. This combination affects both visual styling and scripts that inspect computed styles.
Additional corrections cover fixed table layouts with percentage-width cells, tables with min-width plus borders or padding, and min-width and max-width on MathML elements. WebKit also fixed a fixed-width block whose inline content could report stale min-content and max-content sizes. Content-heavy products, data tables and mathematical content therefore deserve targeted regression checks.
Typography and responsive edge cases improve
A closed <details> element using a display: grid ::details-content could retain fallback-font widths after a web font loaded. That is now fixed. The scenario is worth testing wherever disclosure widgets are initialized before fonts finish loading, because the visible result can depend on loading order.
Several text-box-trim corrections address vertical writing modes, propagation through block borders and padding, and overline positioning. WebKit also fixed baseline alignment for an inline-block containing a block with overflow: hidden, vertical alignment at the end of nested inline boxes, and soft wrapping between adjacent nowrap inline elements when overflow-wrap: anywhere is used.
An ancestor’s overflow clip will also respect corner-shape changes rather than clipping square corners as though they were rounded. Teams using decorative containers should verify the interaction between clipping and corner geometry.
Animation fixes should be tested in motion
The animation changes address defects that static testing can miss. WebKit fixed content overlapping an accelerated filter animation, such as blur, from being painted below the animated element. It also corrected backdrop-filter blur animation when threaded animations are enabled.
A view transition is now skipped when its new element becomes hidden through content-visibility: hidden, avoiding a transition that continues with a stale ::view-transition-new(). Changing an animation’s timeline to a ViewTimeline now schedules a rendering update, preventing the animation from failing to update.
What teams should do next
- Install the preview on a supported Mac and reproduce any existing WebKit-specific layout or animation defects.
- Retest flex and grid components after height changes, repeated intrinsic-size calculations and dynamic content updates.
- Exercise scoped styles, slotted content, web fonts and animation timelines through the same interactions users perform.
- Add focused regression cases for confirmed fixes instead of relying only on full-page screenshots.
For business owners, the immediate value is a chance to reduce layout inconsistencies before they become support issues. For developers, the detailed fixes provide a practical checklist: prioritize components with dynamic sizing, precise alignment or scripted styling, and verify both the corrected behavior and any workaround that may no longer be necessary.
Sources
This article was written with AI assistance from the sources cited above and checked by automated quality rules.
Build With Teridox
Need a fast, secure website or digital product? Teridox, founded by Arya Intaran, designs and builds websites and web apps for businesses. Get in touch to discuss your project.
