diff --git a/src/main/scala/org/scalajs/dom/Html.scala b/src/main/scala/org/scalajs/dom/Html.scala index d8ed80819..bbceeb70b 100644 --- a/src/main/scala/org/scalajs/dom/Html.scala +++ b/src/main/scala/org/scalajs/dom/Html.scala @@ -12,6 +12,541 @@ package org.scalajs.dom import scala.scalajs.js +class HTMLDocument extends Document { + + /** + * Returns the title of the current document. + * + * MDN + */ + var title: String = ??? + + /** + * Gets/sets the domain portion of the origin of the current document, as used by the + * same origin policy. + * + * MDN + */ + var domain: String = ??? + + /** + * The Document.location property returns a Location object, which + * contains information about the URL of the document and provides methods for + * changing that URL and load another URL. + * + * MDN + */ + var location: Location = ??? + + /** + * Returns a string containing the URL of the current document. + * + * MDN + */ + def URL: String = ??? + + /** + * Returns the URI of the page that linked to this page. + * + * MDN + */ + def referrer: String = ??? + + /** + * Returns a semicolon-separated list of the cookies for that document or sets a + * single cookie. + * + * MDN + */ + def cookie: String = ??? + + /** + * The Document.dir property is a DOMString representing the directionality of the + * text of the document, whether left to right (default) or right to left. Possible + * values are 'rtl', right to left, and 'ltr', left to right. + * + * MDN + */ + var dir: String = ??? + + /** + * Can be used to make any document editable, for example in a