class type document =Inheritsobject
..end
method createDocumentFragment : documentFragment
method createElement : 'a. string -> (#element as 'a)
method createTextNode : string -> text
method getElementById : 'b. string -> (#element as 'b)
method getElementsByClassName : 'c. string -> (#element as 'c) array
method _get_body : body
string
: string -> unit
: method _get_styleSheets : styleSheet array