Skip to content

Commit

Permalink
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
* Add support for the clip-path presentation attribute
(#333 by Martin @MBodin Bodin)

* Add support for the `name` attribute and `toggle` event on
`<details>` elements
(#341 by @SylvainBoilard)

# 4.6.0

* Update for OCaml 5.0 and drop support for OCaml 4.2.0
Expand Down
1 change: 1 addition & 0 deletions lib/html_f.ml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ struct
let a_onsubmit = Xml.event_handler_attrib "onsubmit"
let a_onsuspend = Xml.event_handler_attrib "onsuspend"
let a_ontimeupdate = Xml.event_handler_attrib "ontimeupdate"
let a_ontoggle = Xml.event_handler_attrib "ontoggle"
let a_onundo = Xml.event_handler_attrib "onundo"
let a_onunload = Xml.event_handler_attrib "onunload"
let a_onvolumechange = Xml.event_handler_attrib "onvolumechange"
Expand Down
1 change: 1 addition & 0 deletions lib/html_sigs.mli
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ module type T = sig
val a_onsubmit : Xml.event_handler -> [> | `OnSubmit] attrib
val a_onsuspend : Xml.event_handler -> [> | `OnSuspend] attrib
val a_ontimeupdate : Xml.event_handler -> [> | `OnTimeUpdate] attrib
val a_ontoggle : Xml.event_handler -> [> | `OnToggle] attrib
val a_onundo : Xml.event_handler -> [> | `OnUndo] attrib
val a_onunload : Xml.event_handler -> [> | `OnUnload] attrib
val a_onvolumechange : Xml.event_handler -> [> | `OnVolumeChange] attrib
Expand Down
2 changes: 1 addition & 1 deletion lib/html_types.mli
Original file line number Diff line number Diff line change
Expand Up @@ -2233,7 +2233,7 @@ type details_content = [ | flow5 ]

type details_content_fun = [ | flow5 ]

type details_attrib = [ | common | `Open ]
type details_attrib = [ | common | `Open | `Name | `OnToggle ]

(* NAME: summary, KIND: star, TYPE: [= common ],[= phrasing ], [=`Summary], ARG: [= phrasing ], ATTRIB: OUT: [=`Summary] *)
type summary = [ | `Summary ]
Expand Down

0 comments on commit 7ded376

Please sign in to comment.