From 5f102b1f4f07f6594d5de19ab5656476af5fd443 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Wang?= Date: Fri, 30 Sep 2022 10:08:45 +0200 Subject: [PATCH 1/2] Update compat data for mfrac@linethickness This commit updates compat data for the linethickness attribute of the element: - Replace notes about partial implementation in Safari with the use of of array of implementations. - Use "mirror" for Safari iOS, its MathML implementation matches the macOS one. - Add a subfeature for deprecated named values thin, medium, thick values that are not part of MathML Core. 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/0b0b865747d48a813eee3c2f52da026714bd61aa/Source/WebCore/mathml/MathMLFractionElement.cpp#L59 --- mathml/elements/mfrac.json | 51 ++++++++++++++++++++++++++++++++------ 1 file changed, 44 insertions(+), 7 deletions(-) diff --git a/mathml/elements/mfrac.json b/mathml/elements/mfrac.json index 9976f0357d9db..383421ba14029 100644 --- a/mathml/elements/mfrac.json +++ b/mathml/elements/mfrac.json @@ -100,13 +100,17 @@ "oculus": "mirror", "opera": "mirror", "opera_android": "mirror", - "safari": { - "version_added": "5.1", - "notes": "Before Safari 9, <length> values are not supported. Only 0, thin, medium, and thick are supported." - }, - "safari_ios": { - "version_added": false - }, + "safari": [ + { + "version_added": "9" + }, + { + "version_added": "5.1", + "partial_implementation": true, + "notes": "Only 0, thin, medium, and thick are supported." + } + ], + "safari_ios": "mirror", "samsunginternet_android": "mirror", "webview_android": "mirror" }, @@ -115,6 +119,39 @@ "standard_track": true, "deprecated": false } + }, + "thin_medium_thick": { + "__compat": { + "support": { + "chrome": { + "version_added": false + }, + "chrome_android": "mirror", + "edge": "mirror", + "firefox": { + "version_added": "1", + "version_removed": "83" + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": "5.1" + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror" + }, + "status": { + "experimental": false, + "standard_track": true, + "deprecated": true + } + } } }, "numalign": { From 0f34aa0c1eacc9ff5ea341dfedd72f98f6973fd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Wang?= Date: Fri, 30 Sep 2022 12:17:20 +0200 Subject: [PATCH 2/2] add description --- mathml/elements/mfrac.json | 1 + 1 file changed, 1 insertion(+) diff --git a/mathml/elements/mfrac.json b/mathml/elements/mfrac.json index 383421ba14029..8deb1cdc5917b 100644 --- a/mathml/elements/mfrac.json +++ b/mathml/elements/mfrac.json @@ -122,6 +122,7 @@ }, "thin_medium_thick": { "__compat": { + "description": "thin, medium, thick values", "support": { "chrome": { "version_added": false