Safari Technology Preview 31 Release Notes
Preview the latest web technology updates including: Web API, JavaScript, Layout & Rendering, CSS Grid, Font Variations, Web Inspector, Media, Web Driver, WebCrypto, and Security.
Overview
Safari Technology Preview Release 31 is now available for download for macOS Sierra. If you already have Safari Technology Preview installed, you can update from the Mac App Store’s Updates tab. This release covers WebKit revisions 216643-217407.
Web API
Added media and type attribute support for
<link rel="preload">(r217247)Added support for
DOMMatrixandDOMMatrixReadOnly(r216959)Fixed
getElementByIdto return the correct element when a matching element is removed duringbeforeloadevent (r216978)Fixed skipping
<slot>children when collecting content forinnerText(r216966)
JavaScript
Fixed a syntax error thrown when declaring a top level for-loop iteration variable the same as a function parameter (r217200)
Layout & Rendering
Added support for
transform-boxto switch sizing box in SVG (r217236)Fixed
clientXandclientYon mouse events to be relative to the layout viewport (r216824)Fixed large animated images getting decoded as a large static image before receiving all of the data (r217262)
Fixed screen flickering caused by asynchronous image decoding for large images when interacting with the page (r216901)
Fixed element position when dragging jQuery Draggable elements with
position:fixedafter pinch zoom (r216803)Fixed a timing issue causing a hardware-accelerated transform animation to misplace an element 50% of the time (r217075)
CSS Grid
Implemented the
place-selfshorthand (r216829)Fixed static position of positioned grid items (r216916)
Ignored collapsed tracks on
content-distributionalignment (r217345)
Font Variations
Added support for
calc()infont-variation-settingsandfont-feature-settings(r217267)Enabled the
woff2-variationsformat identifier for@font-face(r217241)Updated the
font-styleimplementation in the font selection algorithm (r217272)
Web Inspector
Added a new icon for Web Socket resources (r217067)
Changed adding new CSS rules so that the added rules go into a new Inspector Style Sheet resource that can be viewed, edited, and saved (r217258)
Fixed an issue where changes are not applied in Styles sidebar when switching tabs without blurring editor (r217266)
Fixed content views not getting restored on reload if its tree element is filtered out (r217317)
Fixed an error when trying to delete DOM breakpoints from the Debugger tab (r216681)
Fixed deleting a disabled XHR breakpoint (r217306)
Fixed miscellaneous RTL and localization issues (r216692, r217232, r217229)
Prevented loading the active recording until a Timeline view needs to be shown (r217379)
Media
Added support for painting MSE video-element to canvas (r217185)
Fixed captions and subtitles not showing up in picture-in-picture for MSE content (r216951)
Fixed media element reporting hidden when in picture-in-picture mode and tab is backgrounded (r217223)
Web Driver
Fixed characters produced with the shift modifier on a QWERTY keyboard to be delivered as shift-down, char-down, char-up, and shift-up events (r217244)
Fixed
navigator.webdriverto return false if the page is not controlled by automation (r217391)
WebCrypto
Replaced
CryptoOperationDatawithBufferSource(r216992)
Security
Improved error message for
Access-Control-Allow-Originviolations due to a misconfigured server (r217069)
See Also
2017
Safari Technology Preview 46 Release NotesSafari Technology Preview 45 Release NotesSafari Technology Preview 44 Release NotesSafari Technology Preview 43 Release NotesSafari Technology Preview 42 Release NotesSafari Technology Preview 41 Release NotesSafari Technology Preview 40 Release NotesSafari Technology Preview 39 Release NotesSafari Technology Preview 38 Release NotesSafari Technology Preview 37 Release NotesSafari Technology Preview 36 Release NotesSafari Technology Preview 35 Release NotesSafari Technology Preview 34 Release NotesSafari Technology Preview 33 Release NotesSafari Technology Preview 32 Release Notes