Skip to content

Commit 93d524d

Browse files
authored
#23742 Add Header (h1 - h6) tags to layout xml htmlTags Allowed types
Update integration test to check all types of containers
1 parent f74b8e5 commit 93d524d

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

dev/tests/integration/testsuite/Magento/Framework/View/LayoutTest.php

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,17 +253,28 @@ public function testAddContainer($htmlTag)
253253
public function addContainerDataProvider()
254254
{
255255
return [
256+
['aside'],
256257
['dd'],
257258
['div'],
258259
['dl'],
259260
['fieldset'],
261+
['main'],
262+
['nav'],
260263
['header'],
264+
['footer'],
261265
['ol'],
262266
['p'],
263267
['section'],
264268
['table'],
265269
['tfoot'],
266-
['ul']
270+
['ul'],
271+
['article'],
272+
['h1'],
273+
['h2'],
274+
['h3'],
275+
['h4'],
276+
['h5'],
277+
['h6'],
267278
];
268279
}
269280

0 commit comments

Comments
 (0)