This content originally appeared on WebKit and was authored by WebKit
Safari Technology Preview Release 226 is now available for download for macOS Tahoe and macOS Sequoia. If you already have Safari Technology Preview installed, you can update it in System Settings under General → Software Update.
This release includes WebKit changes between: 297661@main…298483@main.
CSS
New Features
- Added support for
@scope(:host)
. (297670@main) (153443869) - Added support for CSS tree-counting functions. (297768@main) (155624960)
- Added support for
cross-origin()
andreferrer-policy()
CSS URL modifiers. (297969@main) (155625162)
Resolved Issues
- Fixed an issue where
@namespace
rules that failed insertion could still affect the namespace node. (297893@main) (156651404)
Canvas
Deprecations
- Removed non-standard legacy
drawImageFromRect
. (297846@main) (141681635)
JavaScript
New Features
- Added support for
Math.sumPrecise
. (297839@main) (155642395) - Added WebIDL support for [Enumerated] extended attribute and related attributes. (298172@main) (156249490)
Resolved Issues
- Fixed
Intl.Local#language
to return"und"
if the language subtag is"und"
. (297585@main) (156248659) - Fixed
Intl
to support non-continental timezones to align with the specification. (297749@main) (156424446) - Fixed exception check errors by adding a missing exception check for
Array#flat
. (298221@main) (157525399)
Media
Resolved Issues
- Fixed WebVTT
line-height
to benormal
by default, not1
. (297860@main) (156633220)
Rendering
Resolved Issues
- Fixed the cross axis direction in flexbox to properly consider text directionality when the cross axis aligns with the inline axis to handle
direction
property andflex-wrap: wrap-reverse
interactions. (297876@main) (156540996)
Deprecations
- Removed UA styles for
h1
inarticle
,aside
,nav
, andsection
. (297671@main) (151455566)
SVG
Resolved Issues
- Fixed handling semicolons at end of a
keySplines
value. (297793@main) (156511711) - Fixed unnecessary rounding of
viewportLocation
in'foreignObject'
layout. (297986@main) (156740732)
Storage
Resolved Issues
- Fixed
requestStorageAccess()
should always grant access when called from a same-site iframe. (297818@main) (156545395) - Fixed Storage Access API to not be usable in insecure contexts. (298179@main) (157337423)
- Fixed
requestStorageAccess()
to reject with aNotAllowedError
. (298183@main) (157446015)
Web API
New Features
- Added support for
document.caretPositionFromPoint()
. (298336@main) (144101675) - Added preview support for the Navigation API. (298483@main) (145595760)
Resolved Issues
- Fixed the ability to delete a cookie through Cookie Store API that was set through
document.cookie
. (298397@main) (142339417) - Fixed
location.protocol
setter to be restricted to HTTP(S) schemes. (298349@main) (157607342) - Fixed
CookieStore
methods to strip tabs and spaces from the names and values passed in. (298470@main) (157907393)
Web Extensions
Resolved Issues
- Fixed
sender.origin
parameter to matchwindow.location.origin
. (297959@main) (155884667)
Web Inspector
Resolved Issues
- Fixed an issue that prevented scrolling of the Media details sidebar from the Elements tab. (298396@main) (157768497)
This content originally appeared on WebKit and was authored by WebKit