Box_layouttype box = {element : Dom.element option;style : Computed.t;x : float;y : float;width : float;height : float;border : float * float * float * float;children : box list;lines : Html_layout.line list;backdrops : box list;marker : Html_layout.marker option;}val layout :
Html_layout.metrics ->
?picture_size:(string -> (float * float) option) ->
viewport:(float * float) ->
(Dom.element -> Computed.t) ->
Dom.element ->
boxval picture_src : Dom.element -> string optionval look_of : Computed.t -> link:string option -> Looks.tval as_html_layout : box -> Html_layout.boxval fragments : box -> Html_layout.fragment list