Skip to content

Commit 088f6b0

Browse files
authored
Add status for MathML, bypassing BCD entirely (#976)
The tags are removed from BCD here: mdn/browser-compat-data#22950
1 parent fce6de6 commit 088f6b0

File tree

2 files changed

+119
-66
lines changed

2 files changed

+119
-66
lines changed
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
# Generated from: mathml.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
name: MathML
5+
description: MathML, or the Mathematical Markup Language, describes mathematical notation, such as expressions and formulas. Also known as MathML Core.
6+
spec: https://w3c.github.io/mathml-core/
7+
caniuse: mathml
8+
# MathML has evolved for more than 20 years and computing its status from BCD is
9+
# challenging. To represent basic support for MathML, the following statuses
10+
# match the earliest support claimed by caniuse.com or BCD:
11+
# https://caniuse.com/mathml
12+
# https://developer.mozilla.org/en-US/docs/Web/MathML/Element/math
13+
#
14+
# Note that there are minor disagreements between sources about initial support
15+
# in different browsers. Where either source claims partial support, the
16+
# versions were increased. Following this method, Firefox was increased due to
17+
# BCD, and Safari due to caniuse.com.
18+
#
19+
# TODO: Partial support in Firefox <4 and Safari <10, with notes.
20+
status:
21+
baseline: low
22+
baseline_low_date: 2023-01-12
23+
support:
24+
chrome: "109"
25+
chrome_android: "109"
26+
edge: "109"
27+
firefox: "4"
28+
firefox_android: "4"
29+
safari: "10"
30+
safari_ios: "10"
31+
compat_features:
32+
- api.MathMLElement
33+
- api.MathMLElement.autofocus
34+
- api.MathMLElement.blur
35+
- api.MathMLElement.dataset
36+
- api.MathMLElement.focus
37+
- api.MathMLElement.style
38+
- api.MathMLElement.tabIndex
39+
- mathml.elements.math
40+
- mathml.elements.math.display
41+
- mathml.elements.merror
42+
- mathml.elements.mfrac
43+
- mathml.elements.mfrac.linethickness
44+
- mathml.elements.mi
45+
- mathml.elements.mi.mathvariant
46+
- mathml.elements.mmultiscripts
47+
- mathml.elements.mn
48+
- mathml.elements.mo
49+
- mathml.elements.mo.form
50+
- mathml.elements.mo.largeop
51+
- mathml.elements.mo.lspace
52+
- mathml.elements.mo.maxsize
53+
- mathml.elements.mo.minsize
54+
- mathml.elements.mo.moveablelimits
55+
- mathml.elements.mo.rspace
56+
- mathml.elements.mo.stretchy
57+
- mathml.elements.mo.symmetric
58+
- mathml.elements.mover
59+
- mathml.elements.mover.accent
60+
- mathml.elements.mpadded
61+
- mathml.elements.mpadded.depth
62+
- mathml.elements.mpadded.height
63+
- mathml.elements.mpadded.lspace
64+
- mathml.elements.mpadded.voffset
65+
- mathml.elements.mpadded.width
66+
- mathml.elements.mphantom
67+
- mathml.elements.mroot
68+
- mathml.elements.mrow
69+
- mathml.elements.ms
70+
- mathml.elements.mspace
71+
- mathml.elements.mspace.depth
72+
- mathml.elements.mspace.height
73+
- mathml.elements.mspace.width
74+
- mathml.elements.msqrt
75+
- mathml.elements.mstyle
76+
- mathml.elements.msub
77+
- mathml.elements.msubsup
78+
- mathml.elements.msup
79+
- mathml.elements.mtable
80+
- mathml.elements.mtd
81+
- mathml.elements.mtd.columnspan
82+
- mathml.elements.mtd.rowspan
83+
- mathml.elements.mtext
84+
- mathml.elements.mtr
85+
- mathml.elements.munder
86+
- mathml.elements.munder.accentunder
87+
- mathml.elements.munderover
88+
- mathml.elements.munderover.accent
89+
- mathml.elements.munderover.accentunder
90+
- mathml.elements.semantics
91+
- mathml.global_attributes.dir
92+
- mathml.global_attributes.displaystyle
93+
- mathml.global_attributes.mathbackground
94+
- mathml.global_attributes.mathcolor
95+
- mathml.global_attributes.mathsize
96+
- mathml.global_attributes.scriptlevel

feature-group-definitions/mathml.yml

Lines changed: 23 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -2,69 +2,26 @@ name: MathML
22
description: MathML, or the Mathematical Markup Language, describes mathematical notation, such as expressions and formulas. Also known as MathML Core.
33
spec: https://w3c.github.io/mathml-core/
44
caniuse: mathml
5-
compat_features:
6-
- api.MathMLElement
7-
- api.MathMLElement.autofocus
8-
- api.MathMLElement.blur
9-
- api.MathMLElement.dataset
10-
- api.MathMLElement.focus
11-
- api.MathMLElement.style
12-
- api.MathMLElement.tabIndex
13-
- mathml.elements.math
14-
- mathml.elements.math.display
15-
- mathml.elements.merror
16-
- mathml.elements.mfrac
17-
- mathml.elements.mfrac.linethickness
18-
- mathml.elements.mi
19-
- mathml.elements.mi.mathvariant
20-
- mathml.elements.mmultiscripts
21-
- mathml.elements.mn
22-
- mathml.elements.mo
23-
- mathml.elements.mo.form
24-
- mathml.elements.mo.largeop
25-
- mathml.elements.mo.lspace
26-
- mathml.elements.mo.maxsize
27-
- mathml.elements.mo.minsize
28-
- mathml.elements.mo.moveablelimits
29-
- mathml.elements.mo.rspace
30-
- mathml.elements.mo.stretchy
31-
- mathml.elements.mo.symmetric
32-
- mathml.elements.mover
33-
- mathml.elements.mover.accent
34-
- mathml.elements.mpadded
35-
- mathml.elements.mpadded.depth
36-
- mathml.elements.mpadded.height
37-
- mathml.elements.mpadded.lspace
38-
- mathml.elements.mpadded.voffset
39-
- mathml.elements.mpadded.width
40-
- mathml.elements.mphantom
41-
- mathml.elements.mroot
42-
- mathml.elements.mrow
43-
- mathml.elements.ms
44-
- mathml.elements.mspace
45-
- mathml.elements.mspace.depth
46-
- mathml.elements.mspace.height
47-
- mathml.elements.mspace.width
48-
- mathml.elements.msqrt
49-
- mathml.elements.mstyle
50-
- mathml.elements.msub
51-
- mathml.elements.msubsup
52-
- mathml.elements.msup
53-
- mathml.elements.mtable
54-
- mathml.elements.mtd
55-
- mathml.elements.mtd.columnspan
56-
- mathml.elements.mtd.rowspan
57-
- mathml.elements.mtext
58-
- mathml.elements.mtr
59-
- mathml.elements.munder
60-
- mathml.elements.munder.accentunder
61-
- mathml.elements.munderover
62-
- mathml.elements.munderover.accent
63-
- mathml.elements.munderover.accentunder
64-
- mathml.elements.semantics
65-
- mathml.global_attributes.dir
66-
- mathml.global_attributes.displaystyle
67-
- mathml.global_attributes.mathbackground
68-
- mathml.global_attributes.mathcolor
69-
- mathml.global_attributes.mathsize
70-
- mathml.global_attributes.scriptlevel # TODO: when setting Baseline status, we'll probably want to ignore this. It's the one piece not interoperable and has an odd story.
5+
# MathML has evolved for more than 20 years and computing its status from BCD is
6+
# challenging. To represent basic support for MathML, the following statuses
7+
# match the earliest support claimed by caniuse.com or BCD:
8+
# https://caniuse.com/mathml
9+
# https://developer.mozilla.org/en-US/docs/Web/MathML/Element/math
10+
#
11+
# Note that there are minor disagreements between sources about initial support
12+
# in different browsers. Where either source claims partial support, the
13+
# versions were increased. Following this method, Firefox was increased due to
14+
# BCD, and Safari due to caniuse.com.
15+
#
16+
# TODO: Partial support in Firefox <4 and Safari <10, with notes.
17+
status:
18+
baseline: low
19+
baseline_low_date: 2023-01-12
20+
support:
21+
chrome: "109"
22+
chrome_android: "109"
23+
edge: "109"
24+
firefox: "4"
25+
firefox_android: "4"
26+
safari: "10"
27+
safari_ios: "10"

0 commit comments

Comments
 (0)