@@ -62,11 +62,14 @@ private function ensure_support_is_added_everywhere( $tag_name ) {
6262 */
6363 public function test_has_element_in_scope_needs_support () {
6464 // These elements impact all scopes.
65+ $ this ->ensure_support_is_added_everywhere ( 'APPLET ' );
6566 $ this ->ensure_support_is_added_everywhere ( 'CAPTION ' );
6667 $ this ->ensure_support_is_added_everywhere ( 'HTML ' );
6768 $ this ->ensure_support_is_added_everywhere ( 'TABLE ' );
6869 $ this ->ensure_support_is_added_everywhere ( 'TD ' );
6970 $ this ->ensure_support_is_added_everywhere ( 'TH ' );
71+ $ this ->ensure_support_is_added_everywhere ( 'MARQUEE ' );
72+ $ this ->ensure_support_is_added_everywhere ( 'OBJECT ' );
7073 $ this ->ensure_support_is_added_everywhere ( 'TEMPLATE ' );
7174
7275 // MathML Elements: MI, MO, MN, MS, MTEXT, ANNOTATION-XML.
@@ -97,11 +100,14 @@ public function test_has_element_in_scope_needs_support() {
97100 */
98101 public function test_has_element_in_list_item_scope_needs_support () {
99102 // These elements impact all scopes.
103+ $ this ->ensure_support_is_added_everywhere ( 'APPLET ' );
100104 $ this ->ensure_support_is_added_everywhere ( 'CAPTION ' );
101105 $ this ->ensure_support_is_added_everywhere ( 'HTML ' );
102106 $ this ->ensure_support_is_added_everywhere ( 'TABLE ' );
103107 $ this ->ensure_support_is_added_everywhere ( 'TD ' );
104108 $ this ->ensure_support_is_added_everywhere ( 'TH ' );
109+ $ this ->ensure_support_is_added_everywhere ( 'MARQUEE ' );
110+ $ this ->ensure_support_is_added_everywhere ( 'OBJECT ' );
105111 $ this ->ensure_support_is_added_everywhere ( 'TEMPLATE ' );
106112
107113 // MathML Elements: MI, MO, MN, MS, MTEXT, ANNOTATION-XML.
@@ -128,11 +134,14 @@ public function test_has_element_in_list_item_scope_needs_support() {
128134 */
129135 public function test_has_element_in_button_scope_needs_support () {
130136 // These elements impact all scopes.
137+ $ this ->ensure_support_is_added_everywhere ( 'APPLET ' );
131138 $ this ->ensure_support_is_added_everywhere ( 'CAPTION ' );
132139 $ this ->ensure_support_is_added_everywhere ( 'HTML ' );
133140 $ this ->ensure_support_is_added_everywhere ( 'TABLE ' );
134141 $ this ->ensure_support_is_added_everywhere ( 'TD ' );
135142 $ this ->ensure_support_is_added_everywhere ( 'TH ' );
143+ $ this ->ensure_support_is_added_everywhere ( 'MARQUEE ' );
144+ $ this ->ensure_support_is_added_everywhere ( 'OBJECT ' );
136145 $ this ->ensure_support_is_added_everywhere ( 'TEMPLATE ' );
137146
138147 // MathML Elements: MI, MO, MN, MS, MTEXT, ANNOTATION-XML.
@@ -160,11 +169,14 @@ public function test_has_element_in_button_scope_needs_support() {
160169 */
161170 public function test_after_element_pop_must_maintain_p_in_button_scope_flag () {
162171 // These elements impact all scopes.
172+ $ this ->ensure_support_is_added_everywhere ( 'APPLET ' );
163173 $ this ->ensure_support_is_added_everywhere ( 'CAPTION ' );
164174 $ this ->ensure_support_is_added_everywhere ( 'HTML ' );
165175 $ this ->ensure_support_is_added_everywhere ( 'TABLE ' );
166176 $ this ->ensure_support_is_added_everywhere ( 'TD ' );
167177 $ this ->ensure_support_is_added_everywhere ( 'TH ' );
178+ $ this ->ensure_support_is_added_everywhere ( 'MARQUEE ' );
179+ $ this ->ensure_support_is_added_everywhere ( 'OBJECT ' );
168180 $ this ->ensure_support_is_added_everywhere ( 'TEMPLATE ' );
169181
170182 // MathML Elements: MI, MO, MN, MS, MTEXT, ANNOTATION-XML.
@@ -192,11 +204,14 @@ public function test_after_element_pop_must_maintain_p_in_button_scope_flag() {
192204 */
193205 public function test_after_element_push_must_maintain_p_in_button_scope_flag () {
194206 // These elements impact all scopes.
207+ $ this ->ensure_support_is_added_everywhere ( 'APPLET ' );
195208 $ this ->ensure_support_is_added_everywhere ( 'CAPTION ' );
196209 $ this ->ensure_support_is_added_everywhere ( 'HTML ' );
197210 $ this ->ensure_support_is_added_everywhere ( 'TABLE ' );
198211 $ this ->ensure_support_is_added_everywhere ( 'TD ' );
199212 $ this ->ensure_support_is_added_everywhere ( 'TH ' );
213+ $ this ->ensure_support_is_added_everywhere ( 'MARQUEE ' );
214+ $ this ->ensure_support_is_added_everywhere ( 'OBJECT ' );
200215 $ this ->ensure_support_is_added_everywhere ( 'TEMPLATE ' );
201216
202217 // MathML Elements: MI, MO, MN, MS, MTEXT, ANNOTATION-XML.
@@ -223,11 +238,14 @@ public function test_after_element_push_must_maintain_p_in_button_scope_flag() {
223238 */
224239 public function test_has_element_in_table_scope_needs_support () {
225240 // These elements impact all scopes.
241+ $ this ->ensure_support_is_added_everywhere ( 'APPLET ' );
226242 $ this ->ensure_support_is_added_everywhere ( 'CAPTION ' );
227243 $ this ->ensure_support_is_added_everywhere ( 'HTML ' );
228244 $ this ->ensure_support_is_added_everywhere ( 'TABLE ' );
229245 $ this ->ensure_support_is_added_everywhere ( 'TD ' );
230246 $ this ->ensure_support_is_added_everywhere ( 'TH ' );
247+ $ this ->ensure_support_is_added_everywhere ( 'MARQUEE ' );
248+ $ this ->ensure_support_is_added_everywhere ( 'OBJECT ' );
231249 $ this ->ensure_support_is_added_everywhere ( 'TEMPLATE ' );
232250
233251 // MathML Elements: MI, MO, MN, MS, MTEXT, ANNOTATION-XML.
@@ -270,11 +288,14 @@ public function test_has_element_in_table_scope_needs_support() {
270288 */
271289 public function test_has_element_in_select_scope_needs_support () {
272290 // These elements impact all scopes.
291+ $ this ->ensure_support_is_added_everywhere ( 'APPLET ' );
273292 $ this ->ensure_support_is_added_everywhere ( 'CAPTION ' );
274293 $ this ->ensure_support_is_added_everywhere ( 'HTML ' );
275294 $ this ->ensure_support_is_added_everywhere ( 'TABLE ' );
276295 $ this ->ensure_support_is_added_everywhere ( 'TD ' );
277296 $ this ->ensure_support_is_added_everywhere ( 'TH ' );
297+ $ this ->ensure_support_is_added_everywhere ( 'MARQUEE ' );
298+ $ this ->ensure_support_is_added_everywhere ( 'OBJECT ' );
278299 $ this ->ensure_support_is_added_everywhere ( 'TEMPLATE ' );
279300
280301 // MathML Elements: MI, MO, MN, MS, MTEXT, ANNOTATION-XML.
0 commit comments