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 :
+ *
+ * MDN
+ */
+ var designMode: String = ???
+
+ /**
+ * Indicates whether the document is rendered in Quirks mode or Strict mode.
+ *
+ * MDN
+ */
+ def compatMode: String = ???
+
+ /**
+ * Returns "loading" while the document is loading, "interactive" once it is
+ * finished parsing but still loading sub-resources, and "complete" once it has
+ * loaded.
+ *
+ * MDN
+ */
+ var readyState: String = ???
+
+ var uniqueID: String = ???
+
+ /**
+ * fgColor gets/sets the foreground color, or text color, of the current document.
+ *
+ * MDN
+ */
+ @deprecated
+ var fgColor: String = ???
+
+ /**
+ * The default value for this property in Mozilla Firefox is white (#ffffff in
+ * hexadecimal).
+ *
+ * MDN
+ */
+ @deprecated
+ var bgColor: String = ???
+
+ /**
+ * linkColor gets/sets the color of links within the document.
+ *
+ * MDN
+ */
+ @deprecated
+ var linkColor: String = ???
+
+ /**
+ * color is a string containing the name of the color (e.g., "blue", "darkblue", etc.)
+ * or the hexadecimal value of the color (e.g., #0000FF)
+ *
+ * MDN
+ */
+ @deprecated
+ var alinkColor: String = ???
+
+ @deprecated
+ var vlinkColor: String = ???
+
+ /**
+ * In browsers returns the window object associated with the document or null if none
+ * available.
+ *
+ * MDN
+ */
+ def defaultView: Window = ???
+
+ /**
+ * Returns the
element of the current document. If there are more than one
+ * elements, the first one is returned.
+ *
+ * MDN
+ */
+ def head: HTMLHeadElement = ???
+
+ /**
+ * Returns the or