Safari 18 beta में शामिल WebKit की नई सुविधाएँ
(webkit.org)WebXR सपोर्ट जोड़ा गया
- visionOS 2 beta के Safari 18 में WebXR सपोर्ट उपलब्ध है। इससे Apple Vision Pro उपयोगकर्ताओं के लिए immersive अनुभव देना संभव है।
immersive-vrsession सपोर्ट- WebGL के माध्यम से hardware-accelerated graphics का उपयोग
- natural input का उपयोग करने वाले
transient-pointermode का सपोर्ट - hand tracking फीचर जोड़ा गया, और user privacy की सुरक्षा के लिए permission request आवश्यक
CSS
- View Transitions:
- View Transitions API सपोर्ट जोड़ा गया
- elements के state transition animation संभव
document.startViewTransition()method से transition शुरू किया जा सकता है- state capture के बाद CSS से animation को बदला जा सकता है
- Style Queries:
- CSS custom property test करते समय style queries का सपोर्ट
- specific conditions के अनुसार styles लागू किए जा सकते हैं
- Relative Color Syntax:
- मौजूदा रंगों से नए रंग dynamically define किए जा सकते हैं
currentcolorऔर system color keywords को reference किया जा सकता है
- Display animation:
displayproperty के transition animation का सपोर्ट - visionOS में interaction region:
clip-pathका उपयोग करके links के touchable area को बदला जा सकता है - Backdrop filter: element के पीछे के content पर graphic effects लागू किए जा सकते हैं। अब इसे
-webkit-prefix के बिना इस्तेमाल किया जा सकता है - Flexbox का safe keyword:
safekeyword का उपयोग करके flex items के overflow को handle किया जा सकता है - Content visibility:
content-visibilityproperty से performance optimization
वेब ऐप्स (Web Apps for Mac)
- web apps में links खोलने का सपोर्ट
- Safari web extensions और content blockers के जरिए personalization संभव
Safari Extensions
- Mobile Device Management: extensions की enabled status, private browsing status, और website access को manage किया जा सकता है
Spatial Media
- Photos and panoramas:
- spatial photos और panoramas को web पर fullscreen में देखा जा सकता है
- Fullscreen API के जरिए immersive अनुभव उपलब्ध
HTML
-
Writing suggestions:
- inline predictive text का सपोर्ट
writingsuggestionsattribute के जरिए predictive text के उपयोग को control किया जा सकता है
-
Switch input:
<input type=checkbox switch>में haptic feedback का सपोर्ट
-
Date and time input:
- date और time input fields की accessibility में सुधार
-
ARIA attributes:
aria-braillelabelऔरaria-brailleroledescriptionका सपोर्ट
Media
- Video Viewer:
- बिना रुकावट वीडियो देखने के लिए Viewer फीचर जोड़ा गया
- tab switch होने पर अपने-आप Picture-in-Picture mode में बदल जाता है
WebRTC
- सपोर्ट जोड़ा गया:
- HEVC RFC 7789 RTP payload format सपोर्ट
- dedicated workers में MediaStreamTrack processing का सपोर्ट
Passkeys
mediation=conditionalके साथ passkeys upgrade किए जा सकते हैं- related domains के बीच passkeys उपयोग का सपोर्ट
- WebAuthn
prfextension सपोर्ट
HTTPS
- mixed content settings में सभी images, videos, और audio को अपने-आप HTTPS में upgrade किया जाता है
JavaScript
- Unicode 15.1.0 characters का सपोर्ट
vflag औरRegExp.prototype[Symbol.matchAll]का सपोर्ट
Web API
URL.parse()method का सपोर्टshadowRootDelegatesFocus,shadowRootClonable,shadowRootSerializableproperties का सपोर्टPopStateEventकीhasUAVisualTransitionproperty का सपोर्ट- module scripts के लिए subresource integrity का सपोर्ट
bytes()method का सपोर्ट- text fragments detection का सपोर्ट
Canvas
willReadFrequentlycontext property का सपोर्ट- 2D canvas में
currentcolorसपोर्ट का विस्तार
WebGL
EXT_texture_mirror_clamp_to_edgeसहित 6 WebGL extensions का सपोर्ट
Web Inspector
- CSS source editor में fuzzy search autocomplete का सपोर्ट
WKWebView
- नया API: Writing Tools API और adaptive image glyph insertion API का सपोर्ट
Apple Pay
- सपोर्ट जोड़ा गया: Apple Pay cash transfer सपोर्ट
Deprecations
OffscreenCanvasRenderingContext2Dकीcommit()method- कई
-webkitprefix properties और pseudo-classes - JPEG2000 image format
AppCacheसपोर्ट पूरी तरह समाप्तSVGAnimateColorElementinterface- कुछ non-standard Web API
अभी कोई टिप्पणी नहीं है.