Skip to content

Instantly share code, notes, and snippets.

@jeremy-code
Created October 14, 2026 07:07
Show Gist options
  • Select an option

  • Save jeremy-code/e1233619e5c07dd4e436fae26f613e1c to your computer and use it in GitHub Desktop.

Select an option

Save jeremy-code/e1233619e5c07dd4e436fae26f613e1c to your computer and use it in GitHub Desktop.
Web APIs/CSS/JavaScript features supported by Chrome and Firefox, but not Safari

Web APIs/CSS/JavaScript features supported by Chrome and Firefox, but not Safari

Ever been curious what features are supported by the main browsers except Safari? As of October 2026, the count is 429 Web API features, 95 CSS features, and 8 JavaScript features (Of course, this includes features that are preview-only by Firefox, so this list isn't really meaningful for determining feature availability for actual users). Code is provided at index.ts using data from @mdn/browser-compat-data.

Web APIs

Feature Chrome Firefox
AuthenticatorAttestationResponse.getPublicKey.algorithm_eddsa 85 119
AuthenticatorAttestationResponse.getPublicKey.algorithm_rs256 85 119
BarProp.visible.returns_popup 98 96
CSSMathMax.CSSMathMax 66 preview
CSSMathMin.CSSMathMin 66 preview
CSSMathProduct.CSSMathProduct 66 preview
CSSMathSum.CSSMathSum 66 preview
CanvasRenderingContext2D.fontKerning 99 104
CanvasRenderingContext2D.fontStretch 99 117
CanvasRenderingContext2D.fontVariantCaps 99 117
CanvasRenderingContext2D.isContextLost 99 125
CanvasRenderingContext2D.lang 136 151
CanvasRenderingContext2D.textRendering 99 116
ClipboardItem.type_web 104 preview
CookieStore.delete.partitioned_option 114 140
CookieStore.set.partitioned_option 114 140
CookieStoreManager 87 140
CookieStoreManager.getSubscriptions 87 140
CookieStoreManager.subscribe 87 140
CookieStoreManager.unsubscribe 87 140
CredentialsContainer.create.publicKey_option.extensions.credProps 89 119
CredentialsContainer.create.publicKey_option.extensions.credProtect 76 139
CredentialsContainer.create.publicKey_option.extensions.minPinLength 98 120
CredentialsContainer.create.publicKey_option.residentKey 89 114
CredentialsContainer.get.publicKey_option.extensions.largeBlob 113 139
CredentialsContainer.get.publicKey_option.extensions.prf 116 139,135
CustomElementRegistry.builtin_element_support 67 63
CustomElementRegistry.define.connectedMoveCallback_lifecycle_callback 133 144
CustomElementRegistry.define.disabledFeatures_static_property 77 92
CustomElementRegistry.define.html_name_validity 143 149
CustomElementRegistry.whenDefined.html_name_validity 143 149
DOMException.serializable_object 77 101
DeprecationReportBody.anticipatedRemoval 69 149
DeprecationReportBody.columnNumber 69 149
DeprecationReportBody.id 69 149
DeprecationReportBody.lineNumber 69 149
DeprecationReportBody.message 69 149
DeprecationReportBody.sourceFile 69 149
DeviceMotionEvent.DeviceMotionEvent 59 29
DeviceMotionEventAcceleration 31 6
DeviceMotionEventAcceleration.x 31 6
DeviceMotionEventAcceleration.y 31 6
DeviceMotionEventAcceleration.z 31 6
DeviceMotionEventRotationRate 31 6
DeviceMotionEventRotationRate.alpha 31 6
DeviceMotionEventRotationRate.beta 31 6
DeviceMotionEventRotationRate.gamma 31 6
DeviceOrientationEvent.DeviceOrientationEvent 59 17
Document.createAttribute.html_name_validity 143 149
Document.createAttributeNS.html_name_validity 143 149
Document.createElement.html_name_validity 143 149
Document.createElementNS.html_name_validity 143 149
Document.execCommand.paste 42 148
Document.moveBefore 133 144
Document.parseHTML_static 146 148
Document.requestStorageAccess.strict_same_origin_policy 141 140
DocumentFragment.moveBefore 133 144
DocumentPictureInPicture 116 151
DocumentPictureInPicture.enter_event 116 151
DocumentPictureInPicture.requestWindow 116 151
DocumentPictureInPicture.requestWindow.option_disallowReturnToOpener 124 151
DocumentPictureInPicture.requestWindow.option_preferInitialWindowPlacement 130 151
DocumentPictureInPicture.window 116 151
DocumentPictureInPictureEvent 116 151
DocumentPictureInPictureEvent.DocumentPictureInPictureEvent 116 151
DocumentPictureInPictureEvent.window 116 151
Element.moveBefore 133 144
Element.pointerrawupdate_event 77 148,140
Element.setAttribute.html_name_validity 143 149
Element.setAttributeNodeNS.html_name_validity 143 149
Element.setHTML 146 148
Element.setHTMLUnsafe.options_sanitizer_parameter 146 preview
Element.toggleAttribute.html_name_validity 143 149
Element.touchcancel_event 22 52
Element.touchend_event 22 52
Element.touchmove_event 22 52
Element.touchstart_event 22 52
ElementInternals.ariaColIndexText 128 119
ElementInternals.ariaDescription 83 119
ElementInternals.ariaRowIndexText 128 119
EventTarget.addEventListener.options_parameter.options_passive_parameter_default_true_wheel 73 84
External 1 2
External.AddSearchProvider 1 2
External.IsSearchProviderInstalled 9 2
FetchEvent.respondWith.networkerror_on_same-origin_cors 66 59
FontFace.variationSettings 140 62
FontFaceSetLoadEvent 35 41
FontFaceSetLoadEvent.FontFaceSetLoadEvent 57 41
FontFaceSetLoadEvent.fontfaces 35 41
GPUDevice.createRenderPipeline.dual-source-blending 144,130 155
GPUDevice.createRenderPipelineAsync.dual-source-blending 144,130 155
GPUSupportedFeatures.feature_dual-source-blending 144,130 155
GamepadButton.touched 73 55
HTMLCanvasElement.contextlost_event 99 125
HTMLCanvasElement.contextrestored_event 99 125
HTMLCanvasElement.getContext.2d_context.options_alpha_parameter 32 30
HTMLCanvasElement.toBlob.type_parameter_webp 50 96
HTMLCanvasElement.toDataURL.type_parameter_webp 17 96
HTMLElement.autocapitalize 66,43 111
HTMLElement.inert.ignores_find_in_page 124 120
HTMLMediaElement.captureStream 62 149,149,15
IDBRequest.error.DOMException 48 58
IDBTransaction.error.DOMException 48 58
KeyboardEvent.getModifierState.key_parameter_accel 48 32
KeyboardEvent.getModifierState.key_parameter_fn 48 15
KeyboardEvent.getModifierState.key_parameter_numlock 48 15
KeyboardEvent.getModifierState.key_parameter_os 48 15
KeyboardEvent.getModifierState.key_parameter_scrolllock 48 15
MIDIAccess 43 108
MIDIAccess.inputs 43 108
MIDIAccess.outputs 43 108
MIDIAccess.sysexEnabled 43 108
MIDIConnectionEvent 43 108
MIDIConnectionEvent.MIDIConnectionEvent 43 108
MIDIConnectionEvent.port 43 108
MIDIInput 43 108
MIDIInput.midimessage_event 43 108
MIDIInputMap 43 108
MIDIInputMap.@@iterator 43 108
MIDIInputMap.entries 43 108
MIDIInputMap.forEach 43 108
MIDIInputMap.get 43 108
MIDIInputMap.has 43 108
MIDIInputMap.keys 43 108
MIDIInputMap.size 43 108
MIDIInputMap.values 43 108
MIDIMessageEvent 43 108
MIDIMessageEvent.MIDIMessageEvent 43 108
MIDIMessageEvent.data 43 108
MIDIOutput 43 108
MIDIOutput.send 43 108
MIDIOutputMap 43 108
MIDIOutputMap.@@iterator 43 108
MIDIOutputMap.entries 43 108
MIDIOutputMap.forEach 43 108
MIDIOutputMap.get 43 108
MIDIOutputMap.has 43 108
MIDIOutputMap.keys 43 108
MIDIOutputMap.size 43 108
MIDIOutputMap.values 43 108
MIDIPort 43 108
MIDIPort.close 43 108
MIDIPort.connection 43 108
MIDIPort.id 43 108
MIDIPort.manufacturer 43 108
MIDIPort.name 43 108
MIDIPort.open 43 108
MIDIPort.state 43 108
MIDIPort.statechange_event 43 108
MIDIPort.type 43 108
MIDIPort.version 43 108
MediaCapabilities.decodingInfo.configuration_parameter.keySystemConfiguration 80 129
MediaDevices.getSupportedConstraints.return_object_property_autoGainControl 67 55
MediaDevices.getSupportedConstraints.return_object_property_channelCount 53 56
MediaDevices.getSupportedConstraints.return_object_property_noiseSuppression 67 55
MediaDevices.getSupportedConstraints.return_object_property_resizeMode 72 144
MediaDevices.getUserMedia.constraints_resizeMode_parameter 72 144
MediaKeys.getStatusForPolicy 73 128
MediaStreamTrack.applyConstraints.autoGainControl_constraint 67 55,46
MediaStreamTrack.applyConstraints.latency_constraint 59 50
MediaStreamTrack.applyConstraints.noiseSuppression_constraint 67 55,46
MediaStreamTrack.applyConstraints.resizeMode_constraint 72 144
MouseEvent.relatedTarget.drag_events 60 59
NavigateEvent.intercept.precommitHandler_option 141 147
Navigator.login 120 138
Navigator.registerProtocolHandler 13 2
Navigator.registerProtocolHandler.scheme_parameter_bitcoin 28 2
Navigator.registerProtocolHandler.scheme_parameter_geo 30 2
Navigator.registerProtocolHandler.scheme_parameter_im 30 2
Navigator.registerProtocolHandler.scheme_parameter_irc 15 2
Navigator.registerProtocolHandler.scheme_parameter_ircs 30 2
Navigator.registerProtocolHandler.scheme_parameter_magnet 30 2
Navigator.registerProtocolHandler.scheme_parameter_mailto 13 2
Navigator.registerProtocolHandler.scheme_parameter_matrix 92 90
Navigator.registerProtocolHandler.scheme_parameter_mms 13 2
Navigator.registerProtocolHandler.scheme_parameter_news 13 2
Navigator.registerProtocolHandler.scheme_parameter_nntp 13 2
Navigator.registerProtocolHandler.scheme_parameter_openpgp4fpr 42 2
Navigator.registerProtocolHandler.scheme_parameter_sip 30 2
Navigator.registerProtocolHandler.scheme_parameter_sms 13 2
Navigator.registerProtocolHandler.scheme_parameter_smsto 26 2
Navigator.registerProtocolHandler.scheme_parameter_ssh 41 2
Navigator.registerProtocolHandler.scheme_parameter_tel 13 2
Navigator.registerProtocolHandler.scheme_parameter_urn 13 2
Navigator.registerProtocolHandler.scheme_parameter_webcal 13 2
Navigator.registerProtocolHandler.scheme_parameter_wtai 31 2
Navigator.registerProtocolHandler.scheme_parameter_xmpp 30 2
Navigator.registerProtocolHandler.secure_context_required 80 62
Navigator.requestMIDIAccess 43 108
Navigator.requestMIDIAccess.secure_context_required 43 108
Navigator.serial 89 151
NavigatorLogin 120 138
NavigatorLogin.setStatus 120 138
Notification.actions 53 152
Notification.icon 33 26
Notification.maxActions_static 48 152,138
Notification.secure_context_required 62 67
Notification.tag 20 26
Notification.worker_support 42 41
NotificationEvent.action 48 152
NotificationEvent.notification 42 44
OVR_multiview2.framebufferTextureMultiviewOVR 93 71
OffscreenCanvas.contextlost_event 99 125
OffscreenCanvas.contextrestored_event 99 125
OffscreenCanvas.convertToBlob.option_type_parameter_webp 69 105
OffscreenCanvasRenderingContext2D.filter 69 116
OffscreenCanvasRenderingContext2D.fontKerning 99 105
OffscreenCanvasRenderingContext2D.fontStretch 99 117
OffscreenCanvasRenderingContext2D.fontVariantCaps 99 117
OffscreenCanvasRenderingContext2D.isContextLost 99 125
OffscreenCanvasRenderingContext2D.lang 136 151
OffscreenCanvasRenderingContext2D.textRendering 99 116
PerformancePaintTiming.paintTime 145 140
PerformancePaintTiming.presentationTime 145 140
PerformanceResourceTiming.contentType 148 129
PerformanceResourceTiming.responseStatus 109 129
Permissions.permission_local-network 145 153
Permissions.permission_loopback-network 145 153
Permissions.permission_midi 43 110
Permissions.permission_persistent-storage 71 53
PointerEvent.persistentDeviceId 128 141
PushManager.hasPermission 42 44
PushManager.register 42 44
PushManager.registrations 42 44
PushManager.unregister 42 44
RTCDataChannel.sctp_sdp_21 58 63
RTCEncodedAudioFrame.RTCEncodedAudioFrame.options_metadata_receiveTime_parameter 127 152
RTCEncodedAudioFrame.getMetadata.return_object_property_receiveTime 127 152
RTCEncodedVideoFrame.RTCEncodedVideoFrame.options_metadata_receiveTime_parameter 127 152
RTCEncodedVideoFrame.getMetadata.return_object_property_receiveTime 127 152
RTCIceTransport.role 75 150
RTCPeerConnection.RTCPeerConnection.configuration_alwaysNegotiateDataChannels_parameter 148 156
RTCPeerConnection.RTCPeerConnection.configuration_iceServers_parameter.url_parameter 45 22
RTCPeerConnection.addstream_event 24 22
RTCPeerConnection.getReceivers.stopped_transceivers_removed 88 118
RTCPeerConnection.getSenders.stopped_transceivers_removed 88 118
RTCPeerConnection.getTransceivers.stopped_transceivers_removed 88 118
RTCRtpReceiver.getContributingSources.rtpTimestamp 76 72
RTCRtpSender.setParameters.parameters_encodings_parameter.codec 119 142
RTCRtpTransceiver.currentDirection.stopped_value 103 118
RTCRtpTransceiver.direction.value_stopped 103 118
RTCStatsReport.type_candidate-pair.lastPacketReceivedTimestamp 109 56
RTCStatsReport.type_candidate-pair.lastPacketSentTimestamp 109 56
RTCStatsReport.type_codec.transportId 89 98
RTCStatsReport.type_data-channel.dataChannelIdentifier 85 79
RTCStatsReport.type_inbound-rtp.frameHeight 86 101
RTCStatsReport.type_inbound-rtp.frameWidth 86 101
RTCStatsReport.type_inbound-rtp.framesPerSecond 86 101
RTCStatsReport.type_inbound-rtp.framesReceived 86 101
RTCStatsReport.type_inbound-rtp.jitterBufferMinimumDelay 105 142
RTCStatsReport.type_inbound-rtp.jitterBufferTargetDelay 105 142
RTCStatsReport.type_inbound-rtp.keyFramesDecoded 79 142
RTCStatsReport.type_inbound-rtp.nackCount 80 55
RTCStatsReport.type_inbound-rtp.qpSum 79 106
RTCStatsReport.type_inbound-rtp.remoteId 91 68
RTCStatsReport.type_inbound-rtp.totalDecodeTime 79 106
RTCStatsReport.type_inbound-rtp.totalInterFrameDelay 79 106
RTCStatsReport.type_inbound-rtp.totalProcessingDelay 103 106
RTCStatsReport.type_inbound-rtp.totalSquaredInterFrameDelay 79 106
RTCStatsReport.type_local-candidate.address 91 65,27
RTCStatsReport.type_media-source.frames 90 116
RTCStatsReport.type_media-source.framesPerSecond 80 116
RTCStatsReport.type_media-source.height 80 116
RTCStatsReport.type_media-source.width 80 116
RTCStatsReport.type_outbound-rtp.frameHeight 84 101
RTCStatsReport.type_outbound-rtp.frameWidth 84 101
RTCStatsReport.type_outbound-rtp.framesPerSecond 84 115
RTCStatsReport.type_outbound-rtp.framesSent 84 101
RTCStatsReport.type_outbound-rtp.mid 105 135
RTCStatsReport.type_outbound-rtp.qpSum 80 66
RTCStatsReport.type_outbound-rtp.rid 105 135
RTCStatsReport.type_outbound-rtp.totalEncodeTime 80 102
RTCStatsReport.type_remote-candidate.address 91 65,27
RTCStatsReport.type_remote-inbound-rtp.fractionLost 91 106
RTCStatsReport.type_remote-inbound-rtp.jitter 80 72
RTCStatsReport.type_remote-inbound-rtp.packetsLost 80 72
RTCStatsReport.type_remote-inbound-rtp.roundTripTimeMeasurements 91 106
RTCStatsReport.type_remote-inbound-rtp.totalRoundTripTime 91 106
RTCStatsReport.type_remote-outbound-rtp.bytesSent 91 72
RTCStatsReport.type_remote-outbound-rtp.id 91 72
RTCStatsReport.type_remote-outbound-rtp.localId 91 68
RTCStatsReport.type_remote-outbound-rtp.packetsSent 91 72
RTCStatsReport.type_remote-outbound-rtp.remoteTimestamp 91 79
RTCStatsReport.type_remote-outbound-rtp.timestamp 91 72
RTCStatsReport.type_remote-outbound-rtp.type 91 72
RTCStatsReport.type_transport.dtlsRole 103 153
RTCStatsReport.type_transport.iceLocalUsernameFragment 103 153
RTCStatsReport.type_transport.iceRole 103 153
RTCStatsReport.type_transport.iceState 103 153
RTCStatsReport.type_transport.packetsReceived 86 154
RTCStatsReport.type_transport.packetsSent 86 154
RTCStatsReport.type_transport.selectedCandidatePairChanges 80 155
ReadableStreamBYOBReader.read.options_min_parameter 140 134
ReadableStreamBYOBReader.releaseLock.reject_pending_read_request 105 102
ReportingObserver.ReportingObserver.options_parameter.types_property.integrity-violation 138 149
ReportingObserver.worker_support 84 149
Request.Request.response_body_readablestream 43 65
ResizeObserverEntry.devicePixelContentBoxSize 84 108,93
SVGAElement.download 142 20
SVGAElement.referrerPolicy 144 61
SVGAnimatedString.baseVal.enforces_trusted_types 141 preview
SVGImageElement.decoding 65 63
Sanitizer 146 148
Sanitizer.Sanitizer 146 148
Sanitizer.allowAttribute 146 148
Sanitizer.allowElement 146 148
Sanitizer.get 146 148
Sanitizer.removeAttribute 146 148
Sanitizer.removeElement 146 148
Sanitizer.removeUnsafe 146 148
Sanitizer.replaceElementWithChildren 146 148
Sanitizer.setComments 146 148
Sanitizer.setDataAttributes 146 148
Scheduler 94 142
Scheduler.postTask 94 142
Scheduler.yield 129 142
SecurityPolicyViolationEvent.worker_support 56 63
Selection.collapse.accepts_nodes_in_shadow_trees 137 142
Selection.extend.accepts_nodes_in_shadow_trees 137 142
Selection.setBaseAndExtent.accepts_nodes_in_shadow_trees 137 142
Serial 89 151
Serial.getPorts 89 151
Serial.requestPort 89 151
SerialPort 89 151
SerialPort.close 89 151
SerialPort.connect_event 89 151
SerialPort.connected 130 151
SerialPort.disconnect_event 89 151
SerialPort.forget 103 151
SerialPort.getInfo 89 151
SerialPort.getSignals 89 151
SerialPort.open 89 151
SerialPort.readable 89 151
SerialPort.setSignals 89 151
SerialPort.writable 89 151
ServiceWorkerGlobalScope.cookiechange_event 87 140
ServiceWorkerRegistration.cookies 87 140
ServiceWorkerRegistration.showNotification.options_actions_parameter 48 152
ShadowRoot.setHTML 146 148
ShadowRoot.setHTMLUnsafe.options_sanitizer_parameter 146 preview
SharedWorker.SharedWorker.options_name_parameter 70 55
SpeechGrammarList.SpeechGrammarList 139,33 preview
SpeechRecognition.available_static 139 preview
SpeechRecognition.available_static.options_parameter 139 preview
SpeechRecognition.available_static.options_parameter.options_langs_parameter 139 preview
SpeechRecognition.available_static.options_parameter.options_processLocally_parameter 139 preview
SpeechRecognition.grammars 33 preview
SpeechRecognition.install_static 139 preview
SpeechRecognition.install_static.options_parameter 139 preview
SpeechRecognition.install_static.options_parameter.options_langs_parameter 139 preview
SpeechRecognition.install_static.options_parameter.options_processLocally_parameter 139 preview
SpeechRecognition.phrases 142 preview
SpeechRecognition.processLocally 139 preview
SpeechRecognition.unspokenPunctuation 151 preview
SpeechRecognitionPhrase 142 preview
SpeechRecognitionPhrase.SpeechRecognitionPhrase 142 preview
SpeechRecognitionPhrase.boost 142 preview
SpeechRecognitionPhrase.phrase 142 preview
SubtleCrypto.decapsulateBits 155 preview
SubtleCrypto.decapsulateKey 155 preview
SubtleCrypto.encapsulateBits 155 preview
SubtleCrypto.encapsulateKey 155 preview
SubtleCrypto.importKey.ECDH.compressed_elliptic_curve_points ≤80 146
SubtleCrypto.importKey.ECDSA.compressed_elliptic_curve_points ≤80 146
TaskController 94 142
TaskController.TaskController 94 142
TaskController.setPriority 94 142
TaskPriorityChangeEvent 94 142
TaskPriorityChangeEvent.TaskPriorityChangeEvent 94 142
TaskPriorityChangeEvent.previousPriority 94 142
TaskSignal 94 142
TaskSignal.any_static 116 142
TaskSignal.priority 94 142
TaskSignal.prioritychange_event 94 142
TouchEvent 22 52,18
TouchEvent.altKey 22 52,18
TouchEvent.changedTouches 22 52,18
TouchEvent.ctrlKey 22 52,18
TouchEvent.metaKey 22 52,18
TouchEvent.shiftKey 22 52,18
TouchEvent.targetTouches 22 52,18
TouchEvent.touches 22 52,18
TransformStream.transferable 87 103
VideoFrame.copyTo.format_property 127 130
VisualViewport.scrollend_event 126,114 150
WebGL2RenderingContext.bufferData.srcData_param_accepts_SharedArrayBuffer 60 79
WebGL2RenderingContext.bufferSubData.srcData_param_accepts_SharedArrayBuffer 60 79
WebGL2RenderingContext.clearBufferfv.values_param_accepts_SharedArrayBuffer 60 79
WebGL2RenderingContext.clearBufferiv.values_param_accepts_SharedArrayBuffer 60 79
WebGL2RenderingContext.clearBufferuiv.values_param_accepts_SharedArrayBuffer 60 79
WebGL2RenderingContext.compressedTexImage2D.pixels_param_accepts_SharedArrayBuffer 60 79
WebGL2RenderingContext.compressedTexImage3D.pixels_param_accepts_SharedArrayBuffer 60 79
WebGL2RenderingContext.compressedTexSubImage2D.srcData_param_accepts_SharedArrayBuffer 60 79
WebGL2RenderingContext.getBufferSubData.dstData_param_accepts_SharedArrayBuffer 60 79
WebGL2RenderingContext.readPixels.pixels_param_accepts_SharedArrayBuffer 60 79
WebGL2RenderingContext.texImage3D.srcData_param_accepts_SharedArrayBuffer 60 79
WebGL2RenderingContext.texSubImage3D.srcData_param_accepts_SharedArrayBuffer 60 79
WebGL2RenderingContext.uniformMatrix2fv.value_param_accepts_SharedArrayBuffer 60 79
WebGL2RenderingContext.uniformMatrix2x3fv.data_param_accepts_SharedArrayBuffer 60 79
WebGL2RenderingContext.uniformMatrix2x4fv.data_param_accepts_SharedArrayBuffer 60 79
WebGL2RenderingContext.uniformMatrix3fv.value_param_accepts_SharedArrayBuffer 60 79
WebGL2RenderingContext.uniformMatrix3x2fv.data_param_accepts_SharedArrayBuffer 60 79
WebGL2RenderingContext.uniformMatrix3x4fv.data_param_accepts_SharedArrayBuffer 60 79
WebGL2RenderingContext.uniformMatrix4fv.value_param_accepts_SharedArrayBuffer 60 79
WebGL2RenderingContext.uniformMatrix4x2fv.data_param_accepts_SharedArrayBuffer 60 79
WebGL2RenderingContext.uniformMatrix4x3fv.data_param_accepts_SharedArrayBuffer 60 79
WebGL2RenderingContext.unpackColorSpace 104 132
WebGL2RenderingContext.vertexAttrib1fv.value_param_accepts_SharedArrayBuffer 60 79
WebGL2RenderingContext.vertexAttrib2fv.value_param_accepts_SharedArrayBuffer 60 79
WebGL2RenderingContext.vertexAttrib3fv.value_param_accepts_SharedArrayBuffer 60 79
WebGL2RenderingContext.vertexAttrib4fv.value_param_accepts_SharedArrayBuffer 60 79
WebGL2RenderingContext.vertexAttribI4iv.value_param_accepts_SharedArrayBuffer 60 79
WebGL2RenderingContext.vertexAttribI4uiv.value_param_accepts_SharedArrayBuffer 60 79
WebGLRenderingContext.compressedTexImage2D.pixels_param_accepts_SharedArrayBuffer 60 79
WebGLRenderingContext.unpackColorSpace 104 132
WebGLRenderingContext.vertexAttrib1fv.value_param_accepts_SharedArrayBuffer 60 79
WebGLRenderingContext.vertexAttrib2fv.value_param_accepts_SharedArrayBuffer 60 79
WebGLRenderingContext.vertexAttrib3fv.value_param_accepts_SharedArrayBuffer 60 79
WebGLRenderingContext.vertexAttrib4fv.value_param_accepts_SharedArrayBuffer 60 79
WebTransportDatagramDuplexStream.writable 97 114
Window.deviceorientationabsolute_event 50 110
Window.documentPictureInPicture 116 151
Window.external 1 2,1
Window.open.features_parameter_popup 98 96
Window.scrollX.subpixel_precision 40 55
Window.scrollY.subpixel_precision 40 55
WorkerGlobalScope.languagechange_event 4 74
WorkerNavigator.serial 89 151
WritableStream.transferable 87 103
scheduler 94 142

CSS

Feature Chrome Firefox
at-rules.container.style_queries_for_custom_properties.range_syntax 142 151
at-rules.counter-style.speak-as 91 33
at-rules.font-face.OpenType_COLRv1 98 107
at-rules.font-face.font-variation-settings 140 62
at-rules.media.display-mode.picture-in-picture 123 151
at-rules.media.media_query_values 66 59
at-rules.media.prefers-color-scheme.respects-inherited-scheme 129,111 105
at-rules.page.page-orientation 85 122
at-rules.page.size.landscape 15 95
at-rules.page.size.portrait 15 95
properties.baseline-source 111 115
properties.baseline-source.auto 111 115
properties.baseline-source.first 111 115
properties.baseline-source.last 111 115
properties.break-inside.paged_context.avoid-page 51 92
properties.d 52 97
properties.d.none 52 97
properties.display.contents.contents_unusual 65 59
properties.display.list-item.legend-support 71 64
properties.display.none.option_is_hidden 1 1
properties.display.ruby 121 38
properties.display.ruby-text 121 38
properties.filter.svg_elements 89 35
properties.flex-grow.less_than_zero_animate 49 32
properties.font-language-override 143 34,4
properties.font-language-override.normal 143 4
properties.forced-color-adjust 89 113
properties.forced-color-adjust.auto 89 113
properties.forced-color-adjust.none 89 113
properties.hyphens.language_afrikaans 112 8
properties.hyphens.language_bulgarian 87 8
properties.hyphens.language_estonian 87 8
properties.hyphens.language_galician 112 9
properties.hyphens.language_german_swiss_orthography 87 8
properties.hyphens.language_german_traditional_orthography 87 8
properties.hyphens.language_latin 87 8
properties.hyphens.language_lithuanian 112 8
properties.hyphens.language_norwegian_nn 87 8
properties.hyphens.language_slovak 112 130
properties.hyphens.language_slovenian 87 8
properties.hyphens.language_welsh 87 8
properties.list-style.symbols 155 35
properties.list-style-type.symbols 155 35
properties.mask.border-box 120 53
properties.mask.content-box 120 53
properties.mask.fill-box 120 53
properties.mask.no-clip 120 53
properties.mask.padding-box 120 53
properties.mask.stroke-box 120 53
properties.mask.view-box 120 53
properties.mask-clip.border-box 120 53
properties.mask-clip.content-box 120 53
properties.mask-clip.fill-box 120 53
properties.mask-clip.no-clip 120 53
properties.mask-clip.padding-box 120 53
properties.mask-clip.stroke-box 120 53
properties.mask-clip.view-box 120 53
properties.mask-origin.border-box 120 53
properties.mask-origin.content-box 120 53
properties.mask-origin.fill-box 120 53
properties.mask-origin.padding-box 120 53
properties.mask-origin.stroke-box 120 53
properties.mask-origin.view-box 120 53
properties.mix-blend-mode.svg_elements 41 32
properties.overflow.replaced_elements 108 148
properties.overflow-block.overlay 135 112
properties.overflow-clip-margin.border-box 104 148
properties.overflow-clip-margin.content-box 104 148
properties.overflow-clip-margin.padding-box 104 148
properties.overflow-inline.overlay 135 112
properties.overflow-x.replaced_elements 108 148
properties.overflow-y.replaced_elements 108 148
properties.overscroll-behavior.chain 150 157
properties.overscroll-behavior-block.chain 150 157
properties.overscroll-behavior-inline.chain 150 157
properties.overscroll-behavior-x.chain 150 157
properties.overscroll-behavior-y.chain 150 157
properties.shape-image-threshold.percentages 78 70
properties.text-justify 145 55
properties.text-justify.auto 145 55
properties.text-justify.inter-character 145 55,55
properties.text-justify.inter-word 145 55
properties.text-justify.none 145 55
properties.text-transform.greek_accented_characters 34 15
properties.text-transform.math-auto 109 117
properties.zoom.is_animatable 150 126
selectors.after.nested_marker 135 143
selectors.before.nested_marker 135 143
selectors.first-child.no_parent_required 57 52
selectors.last-child.no_parent_required 57 52
selectors.nth-child.no_parent_required 57 52
selectors.nth-last-child.no_parent_required 57 52
types.basic-shape.path.d 52 97
types.color.system-color.buttonborder 101 109
types.color.system-color.mark 102 109
types.color.system-color.marktext 102 109

JavaScript

Feature Chrome Firefox
builtins.Error.serializable_object 77 103
builtins.EvalError.serializable_object 77 103
builtins.RangeError.serializable_object 77 103
builtins.ReferenceError.serializable_object 77 103
builtins.SyntaxError.serializable_object 77 103
builtins.TypeError.serializable_object 77 103
builtins.URIError.serializable_object 77 103
statements.import.import_attributes.type_css 123 147
statements.import.import_attributes.type_text 155 153
import bcd from "@mdn/browser-compat-data" with { type: "json" };
import type {
SupportBlock,
BrowserName,
Identifier,
SimpleSupportStatement,
} from "@mdn/browser-compat-data";
const getSupportStatements = (
support: SupportBlock,
browser: BrowserName,
): SimpleSupportStatement[] => [support[browser] ?? []].flat();
const isSupported = (support: SupportBlock, browser: BrowserName): boolean =>
getSupportStatements(support, browser).some(
(statement) =>
statement.version_added !== false &&
statement.version_removed === undefined &&
statement.prefix === undefined &&
statement.flags === undefined &&
statement.partial_implementation !== true,
);
const isUnsupported = (
support: SupportBlock,
browser: BrowserName,
): boolean => {
const statements = getSupportStatements(support, browser);
return (
statements.length > 0 &&
statements.every((statement) => statement.version_added === false)
);
};
type Result = {
feature: string;
chrome: string;
firefox: string;
mdn?: string | undefined;
};
const visitIdentifier = (
identifier: Identifier,
path: string[] = [],
outputArray: Result[] = [],
): Result[] => {
const { __compat: compat, ...rest } = identifier;
const support = compat?.support;
if (
support &&
isSupported(support, "chrome") &&
isSupported(support, "firefox") &&
isUnsupported(support, "safari")
) {
outputArray.push({
feature: path.join("."),
chrome: getSupportStatements(support, "chrome")
.map((statement) => statement.version_added)
.join(),
firefox: getSupportStatements(support, "firefox")
.map((statement) => statement.version_added)
.join(),
mdn: compat.mdn_url,
});
}
Object.entries(rest).forEach(([key, value]) =>
visitIdentifier(value, [...path, key], outputArray),
);
return outputArray;
};
console.table(visitIdentifier(bcd.api));
console.table(visitIdentifier(bcd.css));
console.table(visitIdentifier(bcd.javascript));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment