From d2359b0b96afb0426d546dc89e7a9024d273c63a Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Mon, 30 Sep 2024 15:37:01 +0800 Subject: [PATCH 1/2] add --- svg/global_attributes.json | 44 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/svg/global_attributes.json b/svg/global_attributes.json index 3aba79298e6e47..ca4aa420864ca2 100644 --- a/svg/global_attributes.json +++ b/svg/global_attributes.json @@ -1,6 +1,50 @@ { "svg": { "global_attributes": { + "autofocus": { + "__compat": { + "spec_url": "https://svgwg.org/svg2-draft/struct.html#autofocusattribute", + "tags": [ + "web-features:autofocus" + ], + "support": { + "chrome": { + "version_added": "79" + }, + "chrome_android": "mirror", + "edge": "mirror", + "firefox": [ + { + "version_added": "110" + }, + { + "version_added": "78", + "partial_implementation": true, + "notes": "Only supported on SVGGraphicsElement." + } + ], + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": "15.4" + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror", + "webview_ios": "mirror" + }, + "status": { + "experimental": false, + "standard_track": true, + "deprecated": false + } + } + }, "id": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/id", From abc2d2c2f6e6c56480533fd13ec849d1c2ad5e17 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Thu, 3 Oct 2024 01:23:46 +0800 Subject: [PATCH 2/2] update --- svg/global_attributes.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svg/global_attributes.json b/svg/global_attributes.json index ca4aa420864ca2..1fd5ed450eceb8 100644 --- a/svg/global_attributes.json +++ b/svg/global_attributes.json @@ -20,7 +20,7 @@ { "version_added": "78", "partial_implementation": true, - "notes": "Only supported on SVGGraphicsElement." + "notes": "Only supported on svg <a>, <circle>, <defs>, <ellipse>, <foreignObject>, <g>, <image>, <line>, <path>, <polygon>, <polyline>, <rect>, <svg>, <switch>, <symbol>, <text>, <use> elements." } ], "firefox_android": "mirror",