From 8bee0be5ebf7366b1ba0e21039401af951009be7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Wang?= Date: Fri, 30 Sep 2022 10:30:33 +0200 Subject: [PATCH 1/4] Add subfeature for deprecated named values of the mathsize attribute Add subfeature for deprecated named values "small", "normal", "big" of the mathsize attribute. These were removed in Firefox 83 [1] but are still supported by WebKit [2]. [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1664488 [2] https://github.com/WebKit/WebKit/blob/cd711e64b46522100059a32e3025f7875e4861c0/Source/WebCore/mathml/MathMLElement.cpp#L117 --- mathml/global_attributes.json | 40 +++++++++++++++++++++++++++++++---- 1 file changed, 36 insertions(+), 4 deletions(-) diff --git a/mathml/global_attributes.json b/mathml/global_attributes.json index ef3027cfaa4cb..fb663ac8af236 100644 --- a/mathml/global_attributes.json +++ b/mathml/global_attributes.json @@ -268,10 +268,7 @@ "version_added": "5", "impl_url": "https://trac.webkit.org/changeset/63079" }, - "safari_ios": { - "version_added": "4", - "impl_url": "https://trac.webkit.org/changeset/63079" - }, + "safari_ios": "mirror", "samsunginternet_android": "mirror", "webview_android": "mirror" }, @@ -280,6 +277,41 @@ "standard_track": true, "deprecated": true } + }, + "small_normal_big": { + "__compat": { + "support": { + "chrome": { + "version_added": false + }, + "chrome_android": "mirror", + "edge": "mirror", + "firefox": { + "version_added": "70", + "version_removed": "83" + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "oculus": "mirror", + "opera": { + "version_added": false + }, + "opera_android": "mirror", + "safari": { + "version_added": "5" + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror" + }, + "status": { + "experimental": false, + "standard_track": true, + "deprecated": true + } + } } }, "mathvariant": { From e625c88f6de2e2d00245ed7a5b83c275969f3ffe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Wang?= Date: Fri, 30 Sep 2022 12:15:34 +0200 Subject: [PATCH 2/4] Update mathml/global_attributes.json Co-authored-by: Florian Scholz --- mathml/global_attributes.json | 1 + 1 file changed, 1 insertion(+) diff --git a/mathml/global_attributes.json b/mathml/global_attributes.json index fb663ac8af236..9df1cbf174a9c 100644 --- a/mathml/global_attributes.json +++ b/mathml/global_attributes.json @@ -279,6 +279,7 @@ } }, "small_normal_big": { + "description": "small, normal, big values", "__compat": { "support": { "chrome": { From 4e99848504b427e523a6c537e5187ad66933742f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Wang?= Date: Fri, 30 Sep 2022 12:22:13 +0200 Subject: [PATCH 3/4] Revert "Update mathml/global_attributes.json" This reverts commit e625c88f6de2e2d00245ed7a5b83c275969f3ffe. --- mathml/global_attributes.json | 1 - 1 file changed, 1 deletion(-) diff --git a/mathml/global_attributes.json b/mathml/global_attributes.json index 9df1cbf174a9c..fb663ac8af236 100644 --- a/mathml/global_attributes.json +++ b/mathml/global_attributes.json @@ -279,7 +279,6 @@ } }, "small_normal_big": { - "description": "small, normal, big values", "__compat": { "support": { "chrome": { From 6f81990b8fd8c00b52f990771768bb875fbb1de9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Wang?= Date: Fri, 30 Sep 2022 12:22:38 +0200 Subject: [PATCH 4/4] place at the right position --- mathml/global_attributes.json | 1 + 1 file changed, 1 insertion(+) diff --git a/mathml/global_attributes.json b/mathml/global_attributes.json index fb663ac8af236..cdd6e8e1fa38b 100644 --- a/mathml/global_attributes.json +++ b/mathml/global_attributes.json @@ -280,6 +280,7 @@ }, "small_normal_big": { "__compat": { + "description": "small, normal, big values", "support": { "chrome": { "version_added": false