Skip to content

Commit

Permalink
Add data for MathML global attributes (#16995)
Browse files Browse the repository at this point in the history
* Add data for MathML global attributes

This is adding data for new pages added in
mdn/content#17812

* improve version_added for firefox & webkit

* update safari version_added ; add dir attribute
  • Loading branch information
fred-wang committed Jul 17, 2022
1 parent 913977a commit c1750dc
Showing 1 changed file with 385 additions and 0 deletions.
385 changes: 385 additions & 0 deletions mathml/global_attributes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,385 @@
{
"mathml": {
"global_attributes": {
"dir": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/MathML/Global_attributes/dir",
"spec_url": "https://w3c.github.io/mathml-core/#dfn-dir",
"support": {
"chrome": {
"version_added": "80",
"impl_url": "https://crrev.com/c/1908533",
"flags": [
{
"type": "preference",
"name": "#enable-experimental-web-platform-features",
"value_to_set": "Enabled"
}
]
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": "70",
"impl_url": "https://hg.mozilla.org/mozilla-central/rev/3b30c8db537c",
"notes": "Prior to Firefox 70, the attribute was only accepted on a few elements, as specified in MathML 3."
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": {
"version_added": false
},
"opera_android": "mirror",
"safari": {
"version_added": "8",
"impl_url": "https://trac.webkit.org/changeset/159504"
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"displaystyle": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/MathML/Global_attributes/displaystyle",
"spec_url": "https://w3c.github.io/mathml-core/#dfn-displaystyle",
"support": {
"chrome": {
"version_added": "83",
"impl_url": "https://crrev.com/c/2105317",
"flags": [
{
"type": "preference",
"name": "#enable-experimental-web-platform-features",
"value_to_set": "Enabled"
}
]
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": "83",
"impl_url": "https://hg.mozilla.org/mozilla-central/rev/60a72a6c7c1d",
"notes": "Prior to Firefox 83, the attribute was only accepted on a few elements, as specified in MathML 3."
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": {
"version_added": false
},
"opera_android": "mirror",
"safari": {
"version_added": "14",
"impl_url": "https://trac.webkit.org/changeset/267578"
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"href": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/MathML/Global_attributes/href",
"spec_url": "https://w3c.github.io/mathml/#fund_globatt",
"support": {
"chrome": {
"version_added": false
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": "7",
"impl_url": "https://hg.mozilla.org/mozilla-central/rev/12294b20e4d9"
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": {
"version_added": false
},
"opera_android": "mirror",
"safari": {
"version_added": "10",
"impl_url": "https://trac.webkit.org/changeset/203104"
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"mathbackground": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/MathML/Global_attributes/mathbackground",
"spec_url": "https://w3c.github.io/mathml-core/#dfn-mathbackground",
"support": {
"chrome": {
"version_added": "80",
"impl_url": "https://crrev.com/c/1908533",
"flags": [
{
"type": "preference",
"name": "#enable-experimental-web-platform-features",
"value_to_set": "Enabled"
}
]
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": "70",
"impl_url": "https://hg.mozilla.org/mozilla-central/rev/3b30c8db537c",
"notes": "Prior to Firefox 70, the attribute was only accepted on a few elements, as specified in MathML 3."
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": {
"version_added": false
},
"opera_android": "mirror",
"safari": {
"version_added": "5",
"impl_url": "https://trac.webkit.org/changeset/62968"
},
"safari_ios": {
"version_added": "4",
"impl_url": "https://trac.webkit.org/changeset/62968"
},
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": true
}
}
},
"mathcolor": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/MathML/Global_attributes/mathcolor",
"spec_url": "https://w3c.github.io/mathml-core/#dfn-mathcolor",
"support": {
"chrome": {
"version_added": "80",
"impl_url": "https://crrev.com/c/1908533",
"flags": [
{
"type": "preference",
"name": "#enable-experimental-web-platform-features",
"value_to_set": "Enabled"
}
]
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": "70",
"impl_url": "https://hg.mozilla.org/mozilla-central/rev/3b30c8db537c",
"notes": "Prior to Firefox 70, the attribute was only accepted on a few elements, as specified in MathML 3."
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": {
"version_added": false
},
"opera_android": "mirror",
"safari": {
"version_added": "5",
"impl_url": "https://trac.webkit.org/changeset/62968"
},
"safari_ios": {
"version_added": "4",
"impl_url": "https://trac.webkit.org/changeset/62968"
},
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": true
}
}
},
"mathsize": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/MathML/Global_attributes/mathsize",
"spec_url": "https://w3c.github.io/mathml-core/#dfn-mathsize",
"support": {
"chrome": {
"version_added": "80",
"impl_url": "https://crrev.com/c/1908533",
"flags": [
{
"type": "preference",
"name": "#enable-experimental-web-platform-features",
"value_to_set": "Enabled"
}
]
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": "70",
"impl_url": "https://hg.mozilla.org/mozilla-central/rev/3b30c8db537c",
"notes": "Prior to Firefox 70, the attribute was only accepted on a few elements, as specified in MathML 3."
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": {
"version_added": false
},
"opera_android": "mirror",
"safari": {
"version_added": "5",
"impl_url": "https://trac.webkit.org/changeset/63079"
},
"safari_ios": {
"version_added": "4",
"impl_url": "https://trac.webkit.org/changeset/63079"
},
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": true
}
}
},
"mathvariant": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/MathML/Global_attributes/mathvariant",
"spec_url": "https://w3c.github.io/mathml-core/#dfn-mathvariant",
"support": {
"chrome": {
"version_added": "84",
"partial_implementation": true,
"notes": "The only value supported is 'normal'.",
"impl_url": "https://crrev.com/c/2161013",
"flags": [
{
"type": "preference",
"name": "#enable-experimental-web-platform-features",
"value_to_set": "Enabled"
}
]
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": "70",
"impl_url": "https://hg.mozilla.org/mozilla-central/rev/3b30c8db537c",
"notes": "Prior to Firefox 70, the attribute was only accepted on a few elements, as specified in MathML 3."
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": {
"version_added": false
},
"opera_android": "mirror",
"safari": {
"version_added": "10",
"impl_url": "https://trac.webkit.org/changeset/203679",
"partial_implementation": true,
"notes": "Safari only accepts the attribute on a few elements, as specified in MathML 3."
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"scriptlevel": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/MathML/Global_attributes/scriptlevel",
"spec_url": "https://w3c.github.io/mathml-core/#dfn-scriptlevel",
"support": {
"chrome": {
"version_added": "88",
"impl_url": "https://crrev.com/c/2474780",
"flags": [
{
"type": "preference",
"name": "#enable-experimental-web-platform-features",
"value_to_set": "Enabled"
}
]
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": "70",
"impl_url": "https://hg.mozilla.org/mozilla-central/rev/3b30c8db537c",
"notes": "Prior to Firefox 70, the attribute was only accepted on a few elements, as specified in MathML 3."
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": {
"version_added": false
},
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
}
}
}
}

0 comments on commit c1750dc

Please sign in to comment.