@@ -72,21 +72,14 @@ public function test_has_element_in_scope_needs_support() {
7272 $ this ->ensure_support_is_added_everywhere ( 'OBJECT ' );
7373 $ this ->ensure_support_is_added_everywhere ( 'TEMPLATE ' );
7474
75- // MathML Elements
76- $ this ->ensure_support_is_added_everywhere ( 'MI ' );
77- $ this ->ensure_support_is_added_everywhere ( 'MO ' );
78- $ this ->ensure_support_is_added_everywhere ( 'MN ' );
79- $ this ->ensure_support_is_added_everywhere ( 'MS ' );
80- $ this ->ensure_support_is_added_everywhere ( 'MTEXT ' );
81- $ this ->ensure_support_is_added_everywhere ( 'ANNOTATION-XML ' );
75+ // MathML Elements.
76+ $ this ->ensure_support_is_added_everywhere ( 'MATH ' );
8277
8378 /*
8479 * SVG elements: note that TITLE is both an HTML element and an SVG element
8580 * so care must be taken when adding support for either one.
8681 */
87- $ this ->ensure_support_is_added_everywhere ( 'FOREIGNOBJECT ' );
88- $ this ->ensure_support_is_added_everywhere ( 'DESC ' );
89- $ this ->ensure_support_is_added_everywhere ( 'TITLE ' );
82+ $ this ->ensure_support_is_added_everywhere ( 'SVG ' );
9083 }
9184
9285 /**
@@ -115,21 +108,14 @@ public function test_has_element_in_list_item_scope_needs_support() {
115108 $ this ->ensure_support_is_added_everywhere ( 'OBJECT ' );
116109 $ this ->ensure_support_is_added_everywhere ( 'TEMPLATE ' );
117110
118- // MathML Elements
119- $ this ->ensure_support_is_added_everywhere ( 'MI ' );
120- $ this ->ensure_support_is_added_everywhere ( 'MO ' );
121- $ this ->ensure_support_is_added_everywhere ( 'MN ' );
122- $ this ->ensure_support_is_added_everywhere ( 'MS ' );
123- $ this ->ensure_support_is_added_everywhere ( 'MTEXT ' );
124- $ this ->ensure_support_is_added_everywhere ( 'ANNOTATION-XML ' );
111+ // MathML Elements.
112+ $ this ->ensure_support_is_added_everywhere ( 'MATH ' );
125113
126114 /*
127115 * SVG elements: note that TITLE is both an HTML element and an SVG element
128116 * so care must be taken when adding support for either one.
129117 */
130- $ this ->ensure_support_is_added_everywhere ( 'FOREIGNOBJECT ' );
131- $ this ->ensure_support_is_added_everywhere ( 'DESC ' );
132- $ this ->ensure_support_is_added_everywhere ( 'TITLE ' );
118+ $ this ->ensure_support_is_added_everywhere ( 'SVG ' );
133119
134120 // These elements are specific to list item scope.
135121 $ this ->ensure_support_is_added_everywhere ( 'OL ' );
@@ -161,21 +147,14 @@ public function test_has_element_in_button_scope_needs_support() {
161147 $ this ->ensure_support_is_added_everywhere ( 'OBJECT ' );
162148 $ this ->ensure_support_is_added_everywhere ( 'TEMPLATE ' );
163149
164- // MathML Elements
165- $ this ->ensure_support_is_added_everywhere ( 'MI ' );
166- $ this ->ensure_support_is_added_everywhere ( 'MO ' );
167- $ this ->ensure_support_is_added_everywhere ( 'MN ' );
168- $ this ->ensure_support_is_added_everywhere ( 'MS ' );
169- $ this ->ensure_support_is_added_everywhere ( 'MTEXT ' );
170- $ this ->ensure_support_is_added_everywhere ( 'ANNOTATION-XML ' );
150+ // MathML Elements.
151+ $ this ->ensure_support_is_added_everywhere ( 'MATH ' );
171152
172153 /*
173154 * SVG elements: note that TITLE is both an HTML element and an SVG element
174155 * so care must be taken when adding support for either one.
175156 */
176- $ this ->ensure_support_is_added_everywhere ( 'FOREIGNOBJECT ' );
177- $ this ->ensure_support_is_added_everywhere ( 'DESC ' );
178- $ this ->ensure_support_is_added_everywhere ( 'TITLE ' );
157+ $ this ->ensure_support_is_added_everywhere ( 'SVG ' );
179158 }
180159
181160 /**
@@ -201,21 +180,14 @@ public function test_after_element_pop_must_maintain_p_in_button_scope_flag() {
201180 $ this ->ensure_support_is_added_everywhere ( 'OBJECT ' );
202181 $ this ->ensure_support_is_added_everywhere ( 'TEMPLATE ' );
203182
204- // MathML Elements
205- $ this ->ensure_support_is_added_everywhere ( 'MI ' );
206- $ this ->ensure_support_is_added_everywhere ( 'MO ' );
207- $ this ->ensure_support_is_added_everywhere ( 'MN ' );
208- $ this ->ensure_support_is_added_everywhere ( 'MS ' );
209- $ this ->ensure_support_is_added_everywhere ( 'MTEXT ' );
210- $ this ->ensure_support_is_added_everywhere ( 'ANNOTATION-XML ' );
183+ // MathML Elements.
184+ $ this ->ensure_support_is_added_everywhere ( 'MATH ' );
211185
212186 /*
213187 * SVG elements: note that TITLE is both an HTML element and an SVG element
214188 * so care must be taken when adding support for either one.
215189 */
216- $ this ->ensure_support_is_added_everywhere ( 'FOREIGNOBJECT ' );
217- $ this ->ensure_support_is_added_everywhere ( 'DESC ' );
218- $ this ->ensure_support_is_added_everywhere ( 'TITLE ' );
190+ $ this ->ensure_support_is_added_everywhere ( 'SVG ' );
219191 }
220192
221193 /**
@@ -241,21 +213,14 @@ public function test_after_element_push_must_maintain_p_in_button_scope_flag() {
241213 $ this ->ensure_support_is_added_everywhere ( 'OBJECT ' );
242214 $ this ->ensure_support_is_added_everywhere ( 'TEMPLATE ' );
243215
244- // MathML Elements
245- $ this ->ensure_support_is_added_everywhere ( 'MI ' );
246- $ this ->ensure_support_is_added_everywhere ( 'MO ' );
247- $ this ->ensure_support_is_added_everywhere ( 'MN ' );
248- $ this ->ensure_support_is_added_everywhere ( 'MS ' );
249- $ this ->ensure_support_is_added_everywhere ( 'MTEXT ' );
250- $ this ->ensure_support_is_added_everywhere ( 'ANNOTATION-XML ' );
216+ // MathML Elements.
217+ $ this ->ensure_support_is_added_everywhere ( 'MATH ' );
251218
252219 /*
253220 * SVG elements: note that TITLE is both an HTML element and an SVG element
254221 * so care must be taken when adding support for either one.
255222 */
256- $ this ->ensure_support_is_added_everywhere ( 'FOREIGNOBJECT ' );
257- $ this ->ensure_support_is_added_everywhere ( 'DESC ' );
258- $ this ->ensure_support_is_added_everywhere ( 'TITLE ' );
223+ $ this ->ensure_support_is_added_everywhere ( 'SVG ' );
259224 }
260225
261226 /**
@@ -280,21 +245,14 @@ public function test_has_element_in_table_scope_needs_support() {
280245 $ this ->ensure_support_is_added_everywhere ( 'OBJECT ' );
281246 $ this ->ensure_support_is_added_everywhere ( 'TEMPLATE ' );
282247
283- // MathML Elements
284- $ this ->ensure_support_is_added_everywhere ( 'MI ' );
285- $ this ->ensure_support_is_added_everywhere ( 'MO ' );
286- $ this ->ensure_support_is_added_everywhere ( 'MN ' );
287- $ this ->ensure_support_is_added_everywhere ( 'MS ' );
288- $ this ->ensure_support_is_added_everywhere ( 'MTEXT ' );
289- $ this ->ensure_support_is_added_everywhere ( 'ANNOTATION-XML ' );
248+ // MathML Elements.
249+ $ this ->ensure_support_is_added_everywhere ( 'MATH ' );
290250
291251 /*
292252 * SVG elements: note that TITLE is both an HTML element and an SVG element
293253 * so care must be taken when adding support for either one.
294254 */
295- $ this ->ensure_support_is_added_everywhere ( 'FOREIGNOBJECT ' );
296- $ this ->ensure_support_is_added_everywhere ( 'DESC ' );
297- $ this ->ensure_support_is_added_everywhere ( 'TITLE ' );
255+ $ this ->ensure_support_is_added_everywhere ( 'SVG ' );
298256
299257 // These elements are specific to TABLE scope.
300258 $ this ->ensure_support_is_added_everywhere ( 'HTML ' );
@@ -335,21 +293,14 @@ public function test_has_element_in_select_scope_needs_support() {
335293 $ this ->ensure_support_is_added_everywhere ( 'OBJECT ' );
336294 $ this ->ensure_support_is_added_everywhere ( 'TEMPLATE ' );
337295
338- // MathML Elements
339- $ this ->ensure_support_is_added_everywhere ( 'MI ' );
340- $ this ->ensure_support_is_added_everywhere ( 'MO ' );
341- $ this ->ensure_support_is_added_everywhere ( 'MN ' );
342- $ this ->ensure_support_is_added_everywhere ( 'MS ' );
343- $ this ->ensure_support_is_added_everywhere ( 'MTEXT ' );
344- $ this ->ensure_support_is_added_everywhere ( 'ANNOTATION-XML ' );
296+ // MathML Elements.
297+ $ this ->ensure_support_is_added_everywhere ( 'MATH ' );
345298
346299 /*
347300 * SVG elements: note that TITLE is both an HTML element and an SVG element
348301 * so care must be taken when adding support for either one.
349302 */
350- $ this ->ensure_support_is_added_everywhere ( 'FOREIGNOBJECT ' );
351- $ this ->ensure_support_is_added_everywhere ( 'DESC ' );
352- $ this ->ensure_support_is_added_everywhere ( 'TITLE ' );
303+ $ this ->ensure_support_is_added_everywhere ( 'SVG ' );
353304
354305 // These elements are specific to SELECT scope.
355306 $ this ->ensure_support_is_added_everywhere ( 'OPTGROUP ' );
0 commit comments