Skip to content

Commit 74073b0

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 083adb6 commit 74073b0

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
@@ -1428,9 +1428,9 @@ type dialog_attrib = [ | common | `Open ]
14281428
(* NAME: div, KIND: star, TYPE: [= common ], [= flow5 ], [=`Div], ARG: [= flow5 ], ATTRIB: OUT: [=`Div] *)
14291429
type div = [ | `Div ]
14301430

1431-
type div_content = [ | flow5 ]
1431+
type div_content = [ | flow5 | `Dd | `Dt ]
14321432

1433-
type div_content_fun = [ | flow5 ]
1433+
type div_content_fun = [ | flow5 | `Dd | `Dt ]
14341434

14351435
type div_attrib = [ | common ]
14361436

@@ -1481,9 +1481,9 @@ type dt_attrib = [ | common ]
14811481

14821482
type dl = [ | `Dl ]
14831483

1484-
type dl_content = [ | `Dt | `Dd ]
1484+
type dl_content = [ | script_supporting | `Div | `Dd | `Dt ]
14851485

1486-
type dl_content_fun = [ | `Dt | `Dd ]
1486+
type dl_content_fun = [ | script_supporting | `Div | `Dd | `Dt ]
14871487

14881488
type dl_attrib = [ | common ]
14891489

0 commit comments

Comments
 (0)