From 278b62f2b5f542c9cfafa5fedaf177be8b037dca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Wang?= Date: Mon, 3 Oct 2022 08:20:30 +0200 Subject: [PATCH] Add subfeature for the proprietary algorithm to select the visible child of a element --- mathml/elements/semantics.json | 50 +++++++++++++++++++++++++--------- 1 file changed, 37 insertions(+), 13 deletions(-) diff --git a/mathml/elements/semantics.json b/mathml/elements/semantics.json index 68254d5dcf7da..a097f6d3c18f9 100644 --- a/mathml/elements/semantics.json +++ b/mathml/elements/semantics.json @@ -15,18 +15,12 @@ "name": "#enable-experimental-web-platform-features", "value_to_set": "Enabled" } - ], - "notes": "This follows MathML Core: Only the first child is rendered while the others have their display set to none." + ] }, "chrome_android": "mirror", "edge": "mirror", "firefox": { - "version_added": "1", - "notes": [ - "In Firefox 1, only the first child element is rendered.", - "In Firefox 23, the algorithm to determine the visible child described on MDN has been implemented.", - "Firefox 106 and later versions follow MathML Core: Only the first child is rendered while the others have their display set to none." - ] + "version_added": "1" }, "firefox_android": "mirror", "ie": { @@ -36,11 +30,7 @@ "opera": "mirror", "opera_android": "mirror", "safari": { - "version_added": "5", - "notes": [ - "In Safari 5, only the first child element is rendered.", - "In Safari 8, the algorithm to determine the visible child described on MDN has been implemented." - ] + "version_added": "5" }, "safari_ios": "mirror", "samsunginternet_android": "mirror", @@ -51,6 +41,40 @@ "standard_track": true, "deprecated": false } + }, + "advanced_visible_child_selection": { + "__compat": { + "description": "Use the algorithm described on MDN to determine the visible child.", + "support": { + "chrome": { + "version_added": false + }, + "chrome_android": "mirror", + "edge": "mirror", + "firefox": { + "version_added": "23", + "version_removed": "106" + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": "8" + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror" + }, + "status": { + "experimental": false, + "standard_track": false, + "deprecated": true + } + } } } }