Skip to content

Commit a6424e9

Browse files
committed
Allow <div> & script-supporting element in <dl>
> Content model: > Either: Zero or more groups each consisting of one or more dt elements followed by one or more dd elements, optionally intermixed with script-supporting elements. > Or: One or more div elements, optionally intermixed with script-supporting elements. — https://html.spec.whatwg.org/multipage/grouping-content.html#the-dl-element
1 parent ebb4abd commit a6424e9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/html_types.mli

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1429,9 +1429,9 @@ type dialog_attrib = [ | common | `Open ]
14291429
(* NAME: div, KIND: star, TYPE: [= common ], [= flow5 ], [=`Div], ARG: [= flow5 ], ATTRIB: OUT: [=`Div] *)
14301430
type div = [ | `Div ]
14311431

1432-
type div_content = [ | flow5 ]
1432+
type div_content = [ | flow5 | `Dd | `Dt ]
14331433

1434-
type div_content_fun = [ | flow5 ]
1434+
type div_content_fun = [ | flow5 | `Dd | `Dt ]
14351435

14361436
type div_attrib = [ | common ]
14371437

@@ -1482,9 +1482,9 @@ type dt_attrib = [ | common ]
14821482

14831483
type dl = [ | `Dl ]
14841484

1485-
type dl_content = [ | `Dt | `Dd ]
1485+
type dl_content = [ | script_supporting | `Div | `Dd | `Dt ]
14861486

1487-
type dl_content_fun = [ | `Dt | `Dd ]
1487+
type dl_content_fun = [ | script_supporting | `Div | `Dd | `Dt ]
14881488

14891489
type dl_attrib = [ | common ]
14901490

0 commit comments

Comments
 (0)