Forráskód Böngészése

Add generated HTML5 externs.

Copied from Browser.hx at dd9904a (WebKit 537.19).
Bruno Garcia 13 éve
szülő
commit
10e7d2fbbd
100 módosított fájl, 6268 hozzáadás és 0 törlés
  1. 31 0
      std/js/html/AbstractWorker.hx
  2. 123 0
      std/js/html/AnchorElement.hx
  3. 68 0
      std/js/html/Animation.hx
  4. 39 0
      std/js/html/AnimationEvent.hx
  5. 33 0
      std/js/html/AnimationList.hx
  6. 63 0
      std/js/html/AppletElement.hx
  7. 91 0
      std/js/html/AreaElement.hx
  8. 38 0
      std/js/html/ArrayBuffer.hx
  9. 42 0
      std/js/html/ArrayBufferView.hx
  10. 52 0
      std/js/html/Attr.hx
  11. 36 0
      std/js/html/AudioElement.hx
  12. 36 0
      std/js/html/BRElement.hx
  13. 31 0
      std/js/html/BarInfo.hx
  14. 44 0
      std/js/html/BaseElement.hx
  15. 40 0
      std/js/html/BaseFontElement.hx
  16. 45 0
      std/js/html/BatteryManager.hx
  17. 33 0
      std/js/html/BeforeLoadEvent.hx
  18. 47 0
      std/js/html/Blob.hx
  19. 106 0
      std/js/html/BodyElement.hx
  20. 102 0
      std/js/html/ButtonElement.hx
  21. 42 0
      std/js/html/CDATASection.hx
  22. 32 0
      std/js/html/CSSCharsetRule.hx
  23. 55 0
      std/js/html/CSSFilterValue.hx
  24. 31 0
      std/js/html/CSSFontFaceRule.hx
  25. 35 0
      std/js/html/CSSImportRule.hx
  26. 33 0
      std/js/html/CSSKeyframeRule.hx
  27. 39 0
      std/js/html/CSSKeyframesRule.hx
  28. 95 0
      std/js/html/CSSMatrix.hx
  29. 41 0
      std/js/html/CSSMediaRule.hx
  30. 33 0
      std/js/html/CSSPageRule.hx
  31. 103 0
      std/js/html/CSSPrimitiveValue.hx
  32. 62 0
      std/js/html/CSSRule.hx
  33. 35 0
      std/js/html/CSSRuleList.hx
  34. 631 0
      std/js/html/CSSStyleDeclaration.hx
  35. 38 0
      std/js/html/CSSStyleRule.hx
  36. 49 0
      std/js/html/CSSStyleSheet.hx
  37. 73 0
      std/js/html/CSSTransformValue.hx
  38. 29 0
      std/js/html/CSSUnknownRule.hx
  39. 42 0
      std/js/html/CSSValue.hx
  40. 33 0
      std/js/html/CSSValueList.hx
  41. 50 0
      std/js/html/CanvasElement.hx
  42. 33 0
      std/js/html/CanvasGradient.hx
  43. 31 0
      std/js/html/CanvasPattern.hx
  44. 31 0
      std/js/html/CanvasRenderingContext.hx
  45. 244 0
      std/js/html/CanvasRenderingContext2D.hx
  46. 48 0
      std/js/html/CharacterData.hx
  47. 59 0
      std/js/html/ClientRect.hx
  48. 33 0
      std/js/html/ClientRectList.hx
  49. 53 0
      std/js/html/Clipboard.hx
  50. 42 0
      std/js/html/CloseEvent.hx
  51. 32 0
      std/js/html/Comment.hx
  52. 48 0
      std/js/html/CompositionEvent.hx
  53. 78 0
      std/js/html/Console.hx
  54. 35 0
      std/js/html/ContentElement.hx
  55. 43 0
      std/js/html/Coordinates.hx
  56. 39 0
      std/js/html/Counter.hx
  57. 33 0
      std/js/html/Crypto.hx
  58. 40 0
      std/js/html/CustomEvent.hx
  59. 35 0
      std/js/html/DListElement.hx
  60. 65 0
      std/js/html/DOMApplicationCache.hx
  61. 87 0
      std/js/html/DOMCoreException.hx
  62. 31 0
      std/js/html/DOMError.hx
  63. 33 0
      std/js/html/DOMFileSystem.hx
  64. 33 0
      std/js/html/DOMFileSystemSync.hx
  65. 33 0
      std/js/html/DOMFormData.hx
  66. 41 0
      std/js/html/DOMImplementation.hx
  67. 37 0
      std/js/html/DOMMimeType.hx
  68. 35 0
      std/js/html/DOMMimeTypeArray.hx
  69. 35 0
      std/js/html/DOMParser.hx
  70. 46 0
      std/js/html/DOMPlugin.hx
  71. 37 0
      std/js/html/DOMPluginArray.hx
  72. 109 0
      std/js/html/DOMSelection.hx
  73. 31 0
      std/js/html/DOMSettableTokenList.hx
  74. 35 0
      std/js/html/DOMStringList.hx
  75. 29 0
      std/js/html/DOMStringMap.hx
  76. 46 0
      std/js/html/DOMTokenList.hx
  77. 37 0
      std/js/html/DOMURL.hx
  78. 444 0
      std/js/html/DOMWindow.hx
  79. 35 0
      std/js/html/DataListElement.hx
  80. 39 0
      std/js/html/DataTransferItem.hx
  81. 38 0
      std/js/html/DataTransferItemList.hx
  82. 92 0
      std/js/html/DataView.hx
  83. 42 0
      std/js/html/Database.hx
  84. 26 0
      std/js/html/DatabaseCallback.hx
  85. 47 0
      std/js/html/DatabaseSync.hx
  86. 33 0
      std/js/html/DedicatedWorkerContext.hx
  87. 34 0
      std/js/html/DetailsElement.hx
  88. 35 0
      std/js/html/DeviceAcceleration.hx
  89. 45 0
      std/js/html/DeviceMotionEvent.hx
  90. 47 0
      std/js/html/DeviceOrientationEvent.hx
  91. 35 0
      std/js/html/DeviceRotationRate.hx
  92. 35 0
      std/js/html/DirectoryElement.hx
  93. 41 0
      std/js/html/DirectoryEntry.hx
  94. 41 0
      std/js/html/DirectoryEntrySync.hx
  95. 35 0
      std/js/html/DirectoryReader.hx
  96. 35 0
      std/js/html/DirectoryReaderSync.hx
  97. 36 0
      std/js/html/DivElement.hx
  98. 531 0
      std/js/html/Document.hx
  99. 38 0
      std/js/html/DocumentFragment.hx
  100. 46 0
      std/js/html/DocumentType.hx

+ 31 - 0
std/js/html/AbstractWorker.hx

@@ -0,0 +1,31 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("AbstractWorker")
+extern class AbstractWorker extends EventTarget
+{
+    var onerror :EventListener;
+
+}

+ 123 - 0
std/js/html/AnchorElement.hx

@@ -0,0 +1,123 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** DOM anchor elements expose the <a target="_blank" href="http://www.w3.org/TR/html5/text-level-semantics.html#htmlanchorelement" rel="external nofollow" class=" external" title="http://www.w3.org/TR/html5/text-level-semantics.html#htmlanchorelement">HTMLAnchorElement</a> (or <span><a href="https://developer.mozilla.org/en/HTML" rel="custom nofollow">HTML 4</a></span> <a target="_blank" title="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-48250443" href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-48250443" rel="external nofollow" class=" external"><code>HTMLAnchorElement</code></a>) interface, which provides special properties and methods (beyond the regular <a href="https://developer.mozilla.org/en/DOM/element" rel="internal">element</a> object interface they also have available to them by inheritance) for manipulating the layout and presentation of hyperlink elements.<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/HTMLAnchorElement">MDN</a>. */
+@:native("HTMLAnchorElement")
+extern class AnchorElement extends Element
+{
+    /** The character encoding of the linked resource. 
+
+<span title="">Obsolete</span> in 
+<span><a rel="custom" href="https://developer.mozilla.org/en/HTML/HTML5">HTML5</a></span> */
+    var charset :String;
+
+    /** Comma-separated list of coordinates. 
+
+<span title="">Obsolete</span> in 
+<span><a rel="custom" href="https://developer.mozilla.org/en/HTML/HTML5">HTML5</a></span> */
+    var coords :String;
+
+    var download :String;
+
+    /** The fragment identifier (including the leading hash mark (#)), if any, in the referenced URL. */
+    var hash :String;
+
+    /** The hostname and port (if it's not the default port) in the referenced URL. */
+    var host :String;
+
+    /** The hostname in the referenced URL. */
+    var hostname :String;
+
+    /** Reflects the 
+
+<code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/a#attr-href">href</a></code>
+ HTML attribute, containing a valid URL of a linked resource. */
+    var href :String;
+
+    /** Reflects the 
+
+<code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/a#attr-hreflang">hreflang</a></code>
+ HTML&nbsp;attribute, indicating the language of the linked resource. */
+    var hreflang :String;
+
+    /** Anchor name. 
+
+<span title="">Obsolete</span> in 
+<span><a rel="custom" href="https://developer.mozilla.org/en/HTML/HTML5">HTML5</a></span> */
+    var name :String;
+
+    var origin (default,null) :String;
+
+    /** The path name component, if any, of the referenced URL. */
+    var pathname :String;
+
+    var ping :String;
+
+    /** The port component, if any, of the referenced URL. */
+    var port :String;
+
+    /** The protocol component (including trailing colon (:)), of the referenced URL. */
+    var protocol :String;
+
+    /** Reflects the 
+
+<code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/a#attr-rel">rel</a></code>
+ HTML attribute, specifying the relationship of the target object to the link object. */
+    var rel :String;
+
+    /** Reverse link type. 
+
+<span title="">Obsolete</span> in 
+<span><a rel="custom" href="https://developer.mozilla.org/en/HTML/HTML5">HTML5</a></span> */
+    var rev :String;
+
+    /** The search element (including leading question mark (?)), if any, of the referenced URL */
+    var search :String;
+
+    /** The shape of the active area. 
+
+<span title="">Obsolete</span> in 
+<span><a rel="custom" href="https://developer.mozilla.org/en/HTML/HTML5">HTML5</a></span> */
+    var shape :String;
+
+    /** Reflectst the 
+
+<code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/a#attr-target">target</a></code>
+ HTML attribute, indicating where to display the linked resource. */
+    var target :String;
+
+    /** Same as the <strong><a title="https://developer.mozilla.org/En/DOM/Node.textContent" rel="internal" href="https://developer.mozilla.org/En/DOM/Node.textContent">textContent</a></strong> property. */
+    var text (default,null) :String;
+
+    /** Reflects the 
+
+<code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/a#attr-type">type</a></code>
+ HTML attribute, indicating the MIME type of the linked resource. */
+    var type :String;
+
+    function toString () :String;
+
+}

+ 68 - 0
std/js/html/Animation.hx

@@ -0,0 +1,68 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** <p>CSS&nbsp;animations make it possible to animate transitions from one CSS style configuration to another. Animations consist of two components:&nbsp;A style describing the animation and a set of keyframes that indicate the start and end states of the animation's CSS style, as well as possible intermediate waypoints along the way.</p>
+<p>There are three key advantages to CSS&nbsp;animations over traditional script-driven animation techniques:</p>
+<ol> <li>They're easy to use for simple animations; you can create them without even having to know JavaScript.</li> <li>The animations run well, even under moderate system load. Simple animations can often perform poorly in JavaScript (unless they're well made). The rendering engine can use frame-skipping and other techniques to keep the performance as smooth as possible.</li> <li>Letting the browser control the animation sequence lets the browser optimize performance and efficiency by, for example, reducing the update frequency of animations running in tabs that aren't currently visible.</li>
+</ol><br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/CSS/CSS_animations">MDN</a>. */
+@:native("Animation")
+extern class Animation
+{
+    static inline var DIRECTION_ALTERNATE :Int = 1;
+
+    static inline var DIRECTION_NORMAL :Int = 0;
+
+    static inline var FILL_BACKWARDS :Int = 1;
+
+    static inline var FILL_BOTH :Int = 3;
+
+    static inline var FILL_FORWARDS :Int = 2;
+
+    static inline var FILL_NONE :Int = 0;
+
+    var delay (default,null) :Float;
+
+    var direction (default,null) :Int;
+
+    var duration (default,null) :Float;
+
+    var elapsedTime :Float;
+
+    var ended (default,null) :Bool;
+
+    var fillMode (default,null) :Int;
+
+    var iterationCount (default,null) :Int;
+
+    var name (default,null) :String;
+
+    var paused (default,null) :Bool;
+
+    function pause () :Void;
+
+    function play () :Void;
+
+}

+ 39 - 0
std/js/html/AnimationEvent.hx

@@ -0,0 +1,39 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** <code>AnimationEvent</code> objects provide information about events that occur related to <a rel="internal" href="https://developer.mozilla.org/en/CSS/CSS_animations" title="en/CSS/CSS_animations">CSS animations</a>.<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/event/AnimationEvent">MDN</a>. */
+@:native("AnimationEvent")
+extern class AnimationEvent extends Event
+{
+    /** The name of the animation on which the animation event occurred. */
+    var animationName (default,null) :String;
+
+    /** The amount of time, in seconds, the animation had been running at the time the event occurred. */
+    var elapsedTime (default,null) :Float;
+
+    function new (type :String, canBubble :Bool = true, cancelable :Bool = true) :Void;
+
+}

+ 33 - 0
std/js/html/AnimationList.hx

@@ -0,0 +1,33 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("AnimationList")
+extern class AnimationList implements ArrayAccess<Animation>
+{
+    var length (default,null) :Int;
+
+    function item (index :Int) :Animation;
+
+}

+ 63 - 0
std/js/html/AppletElement.hx

@@ -0,0 +1,63 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** Obsolete<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/HTML/Element/applet">MDN</a>. */
+@:native("HTMLAppletElement")
+extern class AppletElement extends Element
+{
+    /** This attribute is used to position the applet on the page relative to content that might flow around it. The HTML 4.01 specification defines values of bottom, left, middle, right, and top, whereas Microsoft and Netscape also might support <strong>absbottom</strong>, <strong>absmiddle</strong>, <strong>baseline</strong>, <strong>center</strong>, and <strong>texttop</strong>. */
+    var align :String;
+
+    /** This attribute causes a descriptive text alternate to be displayed on browsers that do not support Java. Page designers should also remember that content enclosed within the <code>&lt;applet&gt;</code> element may also be rendered as alternative text. */
+    var alt :String;
+
+    /** This attribute refers to an archived or compressed version of the applet and its associated class files, which might help reduce download time. */
+    var archive :String;
+
+    /** This attribute specifies the URL of the applet's class file to be loaded and executed. Applet filenames are identified by a .class filename extension. The URL specified by code might be relative to the <code>codebase</code> attribute. */
+    var code :String;
+
+    var codeBase :String;
+
+    /** This attribute specifies the height, in pixels, that the applet needs. */
+    var height :String;
+
+    /** This attribute specifies additional horizontal space, in pixels, to be reserved on either side of the applet. */
+    var hspace :String;
+
+    /** This attribute assigns a name to the applet so that it can be identified by other resources; particularly scripts. */
+    var name :String;
+
+    /** This attribute specifies the URL of a serialized representation of an applet. */
+    var object :String;
+
+    /** This attribute specifies additional vertical space, in pixels, to be reserved above and below the applet. */
+    var vspace :String;
+
+    /** This attribute specifies in pixels the width that the applet needs. */
+    var width :String;
+
+}

+ 91 - 0
std/js/html/AreaElement.hx

@@ -0,0 +1,91 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** DOM area objects expose the <a class=" external" title="http://www.w3.org/TR/html5/the-map-element.html#htmlareaelement" rel="external" href="http://www.w3.org/TR/html5/the-map-element.html#htmlareaelement" target="_blank">HTMLAreaElement</a> (or 
+<span><a rel="custom" href="https://developer.mozilla.org/en/HTML">HTML 4</a></span> <a class=" external" title="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-26019118" rel="external" href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-26019118" target="_blank"><code>HTMLAreaElement</code></a>) interface, which provides special properties and methods (beyond the regular <a href="https://developer.mozilla.org/en/DOM/element" rel="internal">element</a> object interface they also have available to them by inheritance) for manipulating the layout and presentation of area elements.<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/HTMLAreaElement">MDN</a>. */
+@:native("HTMLAreaElement")
+extern class AreaElement extends Element
+{
+    /** Reflects the 
+
+<code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/area#attr-alt">alt</a></code>
+ HTML attribute, containing alternative text for the element. */
+    var alt :String;
+
+    /** Reflects the 
+
+<code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/area#attr-coords">coords</a></code>
+ HTML attribute, containing coordinates to define the hot-spot region. */
+    var coords :String;
+
+    /** The fragment identifier (including the leading hash mark (#)), if any, in the referenced URL. */
+    var hash (default,null) :String;
+
+    /** The hostname and port (if it's not the default port) in the referenced URL. */
+    var host (default,null) :String;
+
+    /** The hostname in the referenced URL. */
+    var hostname (default,null) :String;
+
+    /** Reflects the 
+
+<code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/area#attr-href">href</a></code>
+ HTML attribute, containing a valid URL&nbsp;of a linked resource. */
+    var href :String;
+
+    /** Indicates that this area is inactive. 
+
+<span title="">Obsolete</span> in 
+<span><a rel="custom" href="https://developer.mozilla.org/en/HTML/HTML5">HTML5</a></span> */
+    var noHref :Bool;
+
+    /** The path name component, if any, of the referenced URL. */
+    var pathname (default,null) :String;
+
+    var ping :String;
+
+    /** The port component, if any, of the referenced URL. */
+    var port (default,null) :String;
+
+    /** The protocol component (including trailing colon (:)), of the referenced URL. */
+    var protocol (default,null) :String;
+
+    /** The search element (including leading question mark (?)), if any, of the referenced URL */
+    var search (default,null) :String;
+
+    /** Reflects the 
+
+<code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/area#attr-shape">shape</a></code>
+ HTML&nbsp;attribute, indicating the shape of the hot-spot, limited to known values. */
+    var shape :String;
+
+    /** Reflects the 
+
+<code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/area#attr-target">target</a></code>
+ HTML&nbsp;attribute, indicating the browsing context in which to open the linked resource. */
+    var target :String;
+
+}

+ 38 - 0
std/js/html/ArrayBuffer.hx

@@ -0,0 +1,38 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** The <code>ArrayBuffer</code> is a data type that is used to represent a generic, fixed-length binary data buffer. You can't directly manipulate the contents of an <code>ArrayBuffer</code>; instead, you create an <a title="en/JavaScript typed arrays/ArrayBufferView" rel="internal" href="https://developer.mozilla.org/en/JavaScript_typed_arrays/ArrayBufferView"><code>ArrayBufferView</code></a> object which represents the buffer in a specific format, and use that to read and write the contents of the buffer.<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/JavaScript_typed_arrays/ArrayBuffer">MDN</a>. */
+@:native("ArrayBuffer")
+extern class ArrayBuffer
+{
+    /** The size, in bytes, of the array. This is established when the array is constructed and cannot be changed. <strong>Read only.</strong> */
+    var byteLength (default,null) :Int;
+
+    function new (?arg0 :Dynamic) :Void;
+
+    function slice (begin :Int, ?end :Int) :ArrayBuffer;
+
+}

+ 42 - 0
std/js/html/ArrayBufferView.hx

@@ -0,0 +1,42 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** <p>The <code>ArrayBufferView</code> type describes a particular view on the contents of an <a title="en/JavaScript typed arrays/ArrayBuffer" rel="internal" href="https://developer.mozilla.org/en/JavaScript_typed_arrays/ArrayBuffer"><code>ArrayBuffer</code></a>'s data.</p>
+<p>Of note is that you may create multiple views into the same buffer, each looking at the buffer's contents starting at a particular offset. This makes it possible to set up views of different data types to read the contents of a buffer based on the types of data at specific offsets into the buffer.</p>
+<div class="note"><strong>Note:</strong> Typically, you'll instantiate one of the <a title="en/JavaScript typed arrays/ArrayBufferView#Typed array subclasses" rel="internal" href="https://developer.mozilla.org/en/JavaScript_typed_arrays/ArrayBufferView#Typed_array_subclasses">subclasses</a> of this object instead of this base class. Those provide access to the data formatted using specific data types.</div><br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/JavaScript_typed_arrays/ArrayBufferView">MDN</a>. */
+@:native("ArrayBufferView")
+extern class ArrayBufferView
+{
+    /** The buffer this view references. <strong>Read only.</strong> */
+    var buffer (default,null) :ArrayBuffer;
+
+    /** The length, in bytes, of the view. <strong>Read only.</strong> */
+    var byteLength (default,null) :Int;
+
+    /** The offset, in bytes, to the first byte of the view within the <a title="en/JavaScript typed arrays/ArrayBuffer" rel="internal" href="https://developer.mozilla.org/en/JavaScript_typed_arrays/ArrayBuffer"><code>ArrayBuffer</code></a>. */
+    var byteOffset (default,null) :Int;
+
+}

+ 52 - 0
std/js/html/Attr.hx

@@ -0,0 +1,52 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** <p>This type represents a DOM&nbsp;element's attribute as an object. In most DOM methods, you will probably directly retrieve the attribute as a string (e.g., <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/Element.getAttribute">Element.getAttribute()</a></code>
+, but certain functions (e.g., <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/Element.getAttributeNode">Element.getAttributeNode()</a></code>
+)&nbsp;or means of iterating give <code>Attr</code> types.</p>
+<div class="warning"><strong>Warning:</strong> In DOM Core 1, 2 and 3, Attr inherited from Node. This is no longer the case in <a class="external" rel="external" href="http://www.w3.org/TR/dom/" title="http://www.w3.org/TR/dom/" target="_blank">DOM4</a>. In order to bring the implementation of <code>Attr</code> up to specification, work is underway to change it to no longer inherit from <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/Node">Node</a></code>
+. You should not be using any <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/Node">Node</a></code>
+ properties or methods on <code>Attr</code> objects. Starting in Gecko 7.0 (Firefox 7.0 / Thunderbird 7.0 / SeaMonkey 2.4)
+, the ones that are going to be removed output warning messages to the console. You should revise your code accordingly. See <a rel="custom" href="https://developer.mozilla.org/en/DOM/Attr#Deprecated_properties_and_methods">Deprecated properties and methods</a> for a complete list.</div><br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/Attr">MDN</a>. */
+@:native("Attr")
+extern class Attr extends Node
+{
+    /** Indicates whether the attribute is an "ID attribute". An "ID attribute" being an attribute which value is expected to be unique across a DOM Document. In HTML DOM, "id" is the only ID attribute, but XML documents could define others. Whether or not an attribute is unique is often determined by a DTD or other schema description. */
+    var isId (default,null) :Bool;
+
+    /** The attribute's name. */
+    var name (default,null) :String;
+
+    /** This property has been deprecated and will be removed in the future. Since you can only get Attr objects from elements, you should already know th */
+    var ownerElement (default,null) :Element;
+
+    /** This property has been deprecated and will be removed in the future; it now always returns <code>true</code>. */
+    var specified (default,null) :Bool;
+
+    /** The attribute's value. Setter throws DOMException. */
+    var value :String;
+
+}

+ 36 - 0
std/js/html/AudioElement.hx

@@ -0,0 +1,36 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** <p>The <code>HTMLAudioElement</code> interface provides access to the properties of <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/audio">&lt;audio&gt;</a></code>
+&nbsp;elements, as well as methods to manipulate them. It's derived from the <a title="en/DOM/HTMLMediaElement" rel="internal" href="https://developer.mozilla.org/en/DOM/HTMLMediaElement" class=" new"><code>HTMLMediaElement</code></a> interface; it's implemented by <code><a rel="custom" href="https://developer.mozilla.org/en/XPCOM_Interface_Reference/nsIDOMHTMLMediaElement">nsIDOMHTMLMediaElement</a></code>
+.</p>
+<p>For details on how to use the audio streaming features exposed by this interface, please see <a title="en/Introducing the Audio API Extension" rel="internal" href="https://developer.mozilla.org/en/Introducing_the_Audio_API_Extension">Introducing the Audio API Extension</a>.</p><br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/Document_Object_Model_(DOM)/HTMLAudioElement">MDN</a>. */
+@:native("HTMLAudioElement")
+extern class AudioElement extends MediaElement
+{
+    function new () :Void;
+
+}

+ 36 - 0
std/js/html/BRElement.hx

@@ -0,0 +1,36 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** DOM break elements expose the <a class="external" href="http://www.w3.org/TR/html5/text-level-semantics.html#the-br-element" rel="external nofollow" target="_blank" title="http://www.w3.org/TR/html5/text-level-semantics.html#the-br-element">HTMLBRElement</a> (or <span><a href="https://developer.mozilla.org/en/HTML" rel="custom nofollow">HTML 4</a></span> <a class="external" href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-56836063" rel="external nofollow" target="_blank" title="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-56836063"><code>HTMLBRElement</code></a>) interface which inherits from HTMLElement, but defines no additional members in 
+<span><a rel="custom" href="https://developer.mozilla.org/en/HTML/HTML5">HTML5</a></span>. The introduced additional property is also deprecated in 
+<span>HTML 4.01</span>.<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/HTMLBRElement">MDN</a>. */
+@:native("HTMLBRElement")
+extern class BRElement extends Element
+{
+    /** Indicates flow of text around floating objects. */
+    var clear :String;
+
+}

+ 31 - 0
std/js/html/BarInfo.hx

@@ -0,0 +1,31 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("BarInfo")
+extern class BarInfo
+{
+    var visible (default,null) :Bool;
+
+}

+ 44 - 0
std/js/html/BaseElement.hx

@@ -0,0 +1,44 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** The <code>base</code> object exposes the <a class=" external" title="http://www.w3.org/TR/html5/semantics.html#htmlbaseelement" rel="external" href="http://www.w3.org/TR/html5/semantics.html#htmlbaseelement" target="_blank">HTMLBaseElement</a> (or 
+<span><a rel="custom" href="https://developer.mozilla.org/en/HTML">HTML 4</a></span> <a class="external" target="_blank" rel="external" href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-73629039" title="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-73629039">HTMLBaseElement</a>) interface which contains the base URI&nbsp;for a document.&nbsp; This object inherits all of the properties and methods as described in the <a class="internal" title="en/DOM/element" rel="internal" href="https://developer.mozilla.org/en/DOM/element">element</a> section.<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/HTMLBaseElement">MDN</a>. */
+@:native("HTMLBaseElement")
+extern class BaseElement extends Element
+{
+    /** Reflects the 
+
+<code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/base#attr-href">href</a></code>
+ HTML attribute, containing a base URL for relative URLs in the document. */
+    var href :String;
+
+    /** Reflects the 
+
+<code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/base#attr-target">target</a></code>
+ HTML attribute, containing a default target browsing context or frame for elements that do not have a target reference specified. */
+    var target :String;
+
+}

+ 40 - 0
std/js/html/BaseFontElement.hx

@@ -0,0 +1,40 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** Obsolete<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/HTML/Element/basefont">MDN</a>. */
+@:native("HTMLBaseFontElement")
+extern class BaseFontElement extends Element
+{
+    /** This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. */
+    var color :String;
+
+    /** This attribute contains a list of one or more font names. The document text in the default style is rendered in the first font face that the client's browser supports. If no font listed is installed on the local system, the browser typically defaults to the proportional or fixed-width font for that system. */
+    var face :String;
+
+    /** This attribute specifies the font size as either a numeric or relative value. Numeric values range from 1 to 7 with 1 being the smallest and 3 the default. */
+    var size :Int;
+
+}

+ 45 - 0
std/js/html/BatteryManager.hx

@@ -0,0 +1,45 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("BatteryManager")
+extern class BatteryManager extends EventTarget
+{
+    var charging (default,null) :Bool;
+
+    var chargingTime (default,null) :Float;
+
+    var dischargingTime (default,null) :Float;
+
+    var level (default,null) :Float;
+
+    var onchargingchange :EventListener;
+
+    var onchargingtimechange :EventListener;
+
+    var ondischargingtimechange :EventListener;
+
+    var onlevelchange :EventListener;
+
+}

+ 33 - 0
std/js/html/BeforeLoadEvent.hx

@@ -0,0 +1,33 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("BeforeLoadEvent")
+extern class BeforeLoadEvent extends Event
+{
+    var url (default,null) :String;
+
+    function new (type :String, canBubble :Bool = true, cancelable :Bool = true) :Void;
+
+}

+ 47 - 0
std/js/html/Blob.hx

@@ -0,0 +1,47 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** <div><p><strong>This is an experimental feature</strong><br>Because this feature is still in development in some browsers, check the <a href="#AutoCompatibilityTable">compatibility table</a> for the proper prefixes to use in various browsers.</p></div>
+<p></p>
+<p>A <code>Blob</code> object represents a file-like object of immutable, raw data. Blobs represent data that isn't necessarily in a JavaScript-native format. The <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/File">File</a></code>
+ interface is based on <code>Blob</code>, inheriting blob functionality and expanding it to support files on the user's system.</p>
+<p>An easy way to construct a <code>Blob</code> is by using the <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/BlobBuilder">BlobBuilder</a></code>
+ interface, which lets you iteratively append data to a blob, then retrieve the completed blob when you're ready to use it for something. Another way is to use the <code>slice()</code> method to create a blob that contains a subset of another blob's data.</p>
+<div class="note"><strong>Note:</strong> The <code>slice()</code> method has vendor prefixes: <code>blob.mozSlice()</code> for Firefox and <code>blob.webkitSlice()</code> for Chrome. An old version of the <code>slice()</code> method, without vendor prefixes, had different semantics, as described below.</div><br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/Blob">MDN</a>. */
+@:native("Blob")
+extern class Blob
+{
+    /** The size, in bytes, of the data contained in the <code>Blob</code> object. <strong>Read only.</strong> */
+    var size (default,null) :Int;
+
+    /** An ASCII-encoded string, in all lower case, indicating the MIME&nbsp;type of the data contained in the <code>Blob</code>. If the type is unknown, this string is empty. <strong>Read only.</strong> */
+    var type (default,null) :String;
+
+    function new (?arg0 :Dynamic, ?arg1 :Dynamic) :Void;
+
+    function slice (?start :Int, ?end :Int, ?contentType :String) :Blob;
+
+}

+ 106 - 0
std/js/html/BodyElement.hx

@@ -0,0 +1,106 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** DOM body elements expose the <a href="http://www.w3.org/TR/html5/sections.html#the-body-element" target="_blank" rel="external nofollow" class=" external" title="http://www.w3.org/TR/html5/sections.html#the-body-element">HTMLBodyElement</a> (or 
+<span><a rel="custom" href="https://developer.mozilla.org/en/HTML">HTML 4</a></span> <a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-48250443" target="_blank" title="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-48250443" rel="external nofollow" class=" external"><code>HTMLBodyElement</code></a>) interface, which provides special properties (beyond the regular <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/element">element</a></code>
+ object interface they also have available to them by inheritance) for manipulating body elements.<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/HTMLBodyElement">MDN</a>. */
+@:native("HTMLBodyElement")
+extern class BodyElement extends Element
+{
+    /** Color of active hyperlinks. */
+    var aLink :String;
+
+    /** <p>URI for a background image resource.</p> <div class="note"><strong>Note:</strong> Starting in Gecko 7.0 (Firefox 7.0 / Thunderbird 7.0 / SeaMonkey 2.4)
+, this value is no longer resolved as a URI; instead, it's treated as a simple string.</div> */
+    var background :String;
+
+    /** Background color for the document. */
+    var bgColor :String;
+
+    /** Color of unvisited links. */
+    var link :String;
+
+    /** Reflects the 
+
+<code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/body#attr-onbeforeunload">onbeforeunload</a></code>
+ HTML&nbsp;attribute value for a function to call when the document is about to be unloaded. */
+    var onbeforeunload :EventListener;
+
+    /** Reflects the 
+
+<code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/body#attr-onhashchange">onhashchange</a></code>
+ HTML&nbsp;attribute value for a function to call when the fragment identifier in the address of the document changes. */
+    var onhashchange :EventListener;
+
+    /** Reflects the 
+
+<code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/body#attr-onmessage">onmessage</a></code>
+ HTML&nbsp;attribute value for a function to call when the document receives a message. */
+    var onmessage :EventListener;
+
+    /** Reflects the 
+
+<code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/body#attr-onoffline">onoffline</a></code>
+ HTML&nbsp;attribute value for a function to call when network communication fails. */
+    var onoffline :EventListener;
+
+    /** Reflects the 
+
+<code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/body#attr-ononline">ononline</a></code>
+ HTML&nbsp;attribute value for a function to call when network communication is restored. */
+    var ononline :EventListener;
+
+    /** Reflects the 
+
+<code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/body#attr-onpopstate">onpopstate</a></code>
+ HTML&nbsp;attribute value for a function to call when the user has navigated session history. */
+    var onpopstate :EventListener;
+
+    /** Reflects the 
+
+<code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/body#attr-onresize">onresize</a></code>
+ HTML&nbsp;attribute value for a function to call when the document has been resized. */
+    var onresize :EventListener;
+
+    /** Reflects the 
+
+<code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/body#attr-onpopstate">onpopstate</a></code>
+ HTML&nbsp;attribute value for a function to call when the storage area has changed. */
+    var onstorage :EventListener;
+
+    /** Reflects the 
+
+<code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/body#attr-onunload">onunload</a></code>
+ HTML&nbsp;attribute value for a function to call when when the document is going away. */
+    var onunload :EventListener;
+
+    /** Foreground color of text. */
+    var text :String;
+
+    /** Color of visited links. */
+    var vLink :String;
+
+}

+ 102 - 0
std/js/html/ButtonElement.hx

@@ -0,0 +1,102 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** DOM&nbsp;<code>Button </code>objects expose the <a class=" external" title="http://www.w3.org/TR/html5/the-button-element.html#the-button-element" rel="external" href="http://www.w3.org/TR/html5/the-button-element.html#the-button-element" target="_blank">HTMLButtonElement</a> 
+<span><a rel="custom" href="https://developer.mozilla.org/en/HTML/HTML5">HTML5</a></span>&nbsp;(or <a class=" external" title="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-34812697" rel="external" href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-34812697" target="_blank">HTMLButtonElement</a> 
+<span><a rel="custom" href="https://developer.mozilla.org/en/HTML">HTML 4</a></span>) interface, which provides properties and methods (beyond the <a href="https://developer.mozilla.org/en/DOM/element" rel="internal">element</a> object interface they also have available to them by inheritance) for manipulating the layout and presentation of button elements.<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/HTMLButtonElement">MDN</a>. */
+@:native("HTMLButtonElement")
+extern class ButtonElement extends Element
+{
+    /** The control should have input focus when the page loads, unless the user overrides it, for example by typing in a different control. Only one form-associated element in a document can have this attribute specified. */
+    var autofocus :Bool;
+
+    /** The control is disabled, meaning that it does not accept any clicks. */
+    var disabled :Bool;
+
+    /** <p>The form that this button is associated with. If the button is a descendant of a form element, then this attribute is the ID of that form element.</p> <p>If the button is not a descendant of a form element, then:</p> <ul> <li>
+<span><a rel="custom" href="https://developer.mozilla.org/en/HTML/HTML5">HTML5</a></span> The attribute can be the ID of any form element in the same document.</li> <li>
+<span><a rel="custom" href="https://developer.mozilla.org/en/HTML">HTML 4</a></span> The attribute is null.</li> </ul> */
+    var form (default,null) :FormElement;
+
+    /** The URI&nbsp;of a program that processes information submitted by the button. If specified, this attribute overrides the 
+
+<code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/form#attr-action">action</a></code>
+ attribute of the <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/form">&lt;form&gt;</a></code>
+ element that owns this element. */
+    var formAction :String;
+
+    var formEnctype :String;
+
+    /** The HTTP&nbsp;method that the browser uses to submit the form. If specified, this attribute overrides the 
+
+<code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/form#attr-method">method</a></code>
+ attribute of the <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/form">&lt;form&gt;</a></code>
+ element that owns this element. */
+    var formMethod :String;
+
+    /** Indicates that the form is not to be validated when it is submitted. If specified, this attribute overrides the 
+
+<code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/form#attr-enctype">enctype</a></code>
+ attribute of the <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/form">&lt;form&gt;</a></code>
+ element that owns this element. */
+    var formNoValidate :Bool;
+
+    /** A name or keyword indicating where to display the response that is received after submitting the form. If specified, this attribute overrides the 
+
+<code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/form#attr-target">target</a></code>
+ attribute of the <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/form">&lt;form&gt;</a></code>
+ element that owns this element. */
+    var formTarget :String;
+
+    /** A list of <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/label">&lt;label&gt;</a></code>
+ elements that are labels for this button. */
+    var labels (default,null) :NodeList;
+
+    /** The name of the object when submitted with a form. 
+<span><a rel="custom" href="https://developer.mozilla.org/en/HTML/HTML5">HTML5</a></span> If specified, it must not be the empty string. */
+    var name :String;
+
+    /** <p>Indicates the behavior of the button. This is an enumerated attribute with the following possible values:</p> <ul> <li><code>submit</code>:&nbsp;The button submits the form. This is the default value if the attribute is not specified, 
+<span><a rel="custom" href="https://developer.mozilla.org/en/HTML/HTML5">HTML5</a></span> or if it is dynamically changed to an empty or invalid value.</li> <li><code>reset</code>:&nbsp;The button resets the form.</li> <li><code>button</code>:&nbsp;The button does nothing.</li> </ul> */
+    var type :String;
+
+    /** A localized message that describes the validation constraints that the control does not satisfy (if any). This attribute is the empty string if the control is not a candidate for constraint validation (<strong>willValidate</strong> is false), or it satisfies its constraints. */
+    var validationMessage (default,null) :String;
+
+    /** The validity states that this button is in. */
+    var validity (default,null) :ValidityState;
+
+    /** The current form control value of the button.&nbsp; */
+    var value :String;
+
+    /** Indicates whether the button is a candidate for constraint validation. It is false if any conditions bar it from constraint validation. */
+    var willValidate (default,null) :Bool;
+
+    function checkValidity () :Bool;
+
+    function setCustomValidity (error :String) :Void;
+
+}

+ 42 - 0
std/js/html/CDATASection.hx

@@ -0,0 +1,42 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** <p>A CDATA Section can be used within XML to include extended portions of unescaped text, such that the symbols &lt; and &amp; do not need escaping as they normally do within XML when used as text.</p>
+<p>It takes the form:</p>
+<pre class="eval">&lt;![CDATA[  ... ]]&gt;
+</pre>
+<p>For example:</p>
+<pre class="eval">&lt;foo&gt;Here is a CDATA section: &lt;![CDATA[  &lt; &gt; &amp; ]]&gt; with all kinds of unescaped text. &lt;/foo&gt;
+</pre>
+<p>The only sequence which is not allowed within a CDATA section is the closing sequence of a CDATA section itself:</p>
+<pre class="eval">&lt;![CDATA[  ]]&gt; will cause an error   ]]&gt;
+</pre>
+<p>Note that CDATA sections should not be used (without hiding) within HTML.</p>
+<p>As a CDATASection has no properties or methods unique to itself and only directly implements the Text interface, one can refer to <a title="En/DOM/Text" rel="internal" href="https://developer.mozilla.org/En/DOM/Text">Text</a> to find its properties and methods.</p><br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/CDATASection">MDN</a>. */
+@:native("CDATASection")
+extern class CDATASection extends Text
+{
+}

+ 32 - 0
std/js/html/CSSCharsetRule.hx

@@ -0,0 +1,32 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("CSSCharsetRule")
+extern class CSSCharsetRule extends CSSRule
+{
+    /** Setter throws DOMException. */
+    var encoding :String;
+
+}

+ 55 - 0
std/js/html/CSSFilterValue.hx

@@ -0,0 +1,55 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("CSSFilterValue")
+extern class CSSFilterValue extends CSSValueList
+{
+    static inline var CSS_FILTER_BLUR :Int = 10;
+
+    static inline var CSS_FILTER_BRIGHTNESS :Int = 8;
+
+    static inline var CSS_FILTER_CONTRAST :Int = 9;
+
+    static inline var CSS_FILTER_CUSTOM :Int = 12;
+
+    static inline var CSS_FILTER_DROP_SHADOW :Int = 11;
+
+    static inline var CSS_FILTER_GRAYSCALE :Int = 2;
+
+    static inline var CSS_FILTER_HUE_ROTATE :Int = 5;
+
+    static inline var CSS_FILTER_INVERT :Int = 6;
+
+    static inline var CSS_FILTER_OPACITY :Int = 7;
+
+    static inline var CSS_FILTER_REFERENCE :Int = 1;
+
+    static inline var CSS_FILTER_SATURATE :Int = 4;
+
+    static inline var CSS_FILTER_SEPIA :Int = 3;
+
+    var operationType (default,null) :Int;
+
+}

+ 31 - 0
std/js/html/CSSFontFaceRule.hx

@@ -0,0 +1,31 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("CSSFontFaceRule")
+extern class CSSFontFaceRule extends CSSRule
+{
+    var style (default,null) :CSSStyleDeclaration;
+
+}

+ 35 - 0
std/js/html/CSSImportRule.hx

@@ -0,0 +1,35 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("CSSImportRule")
+extern class CSSImportRule extends CSSRule
+{
+    var href (default,null) :String;
+
+    var media (default,null) :MediaList;
+
+    var styleSheet (default,null) :CSSStyleSheet;
+
+}

+ 33 - 0
std/js/html/CSSKeyframeRule.hx

@@ -0,0 +1,33 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("CSSKeyframeRule")
+extern class CSSKeyframeRule extends CSSRule
+{
+    var keyText :String;
+
+    var style (default,null) :CSSStyleDeclaration;
+
+}

+ 39 - 0
std/js/html/CSSKeyframesRule.hx

@@ -0,0 +1,39 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("CSSKeyframesRule")
+extern class CSSKeyframesRule extends CSSRule
+{
+    var cssRules (default,null) :CSSRuleList;
+
+    var name :String;
+
+    function deleteRule (key :String) :Void;
+
+    function findRule (key :String) :CSSKeyframeRule;
+
+    function insertRule (rule :String) :Void;
+
+}

+ 95 - 0
std/js/html/CSSMatrix.hx

@@ -0,0 +1,95 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("CSSMatrix")
+extern class CSSMatrix
+{
+    var a :Float;
+
+    var b :Float;
+
+    var c :Float;
+
+    var d :Float;
+
+    var e :Float;
+
+    var f :Float;
+
+    var m11 :Float;
+
+    var m12 :Float;
+
+    var m13 :Float;
+
+    var m14 :Float;
+
+    var m21 :Float;
+
+    var m22 :Float;
+
+    var m23 :Float;
+
+    var m24 :Float;
+
+    var m31 :Float;
+
+    var m32 :Float;
+
+    var m33 :Float;
+
+    var m34 :Float;
+
+    var m41 :Float;
+
+    var m42 :Float;
+
+    var m43 :Float;
+
+    var m44 :Float;
+
+    function new () :Void;
+
+    function inverse () :CSSMatrix;
+
+    function multiply (secondMatrix :CSSMatrix) :CSSMatrix;
+
+    function rotate (rotX :Float, rotY :Float, rotZ :Float) :CSSMatrix;
+
+    function rotateAxisAngle (x :Float, y :Float, z :Float, angle :Float) :CSSMatrix;
+
+    function scale (scaleX :Float, scaleY :Float, scaleZ :Float) :CSSMatrix;
+
+    function setMatrixValue (string :String) :Void;
+
+    function skewX (angle :Float) :CSSMatrix;
+
+    function skewY (angle :Float) :CSSMatrix;
+
+    function toString () :String;
+
+    function translate (x :Float, y :Float, z :Float) :CSSMatrix;
+
+}

+ 41 - 0
std/js/html/CSSMediaRule.hx

@@ -0,0 +1,41 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** An object representing a single CSS media rule.&nbsp;<code>CSSMediaRule</code>&nbsp;implements the&nbsp;<code><a href="https://developer.mozilla.org/en/DOM/CSSRule" rel="custom">CSSRule</a></code>&nbsp;interface.<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/cssMediaRule">MDN</a>. */
+@:native("CSSMediaRule")
+extern class CSSMediaRule extends CSSRule
+{
+    /** Returns a <code><a title="en/DOM/CSSRuleList" rel="internal" href="https://developer.mozilla.org/en/DOM/CSSRuleList">CSSRuleList</a></code> of the CSS rules in the media rule. */
+    var cssRules (default,null) :CSSRuleList;
+
+    /** Specifies the intended destination medium for style information. */
+    var media (default,null) :MediaList;
+
+    function deleteRule (index :Int) :Void;
+
+    function insertRule (rule :String, index :Int) :Int;
+
+}

+ 33 - 0
std/js/html/CSSPageRule.hx

@@ -0,0 +1,33 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("CSSPageRule")
+extern class CSSPageRule extends CSSRule
+{
+    var selectorText :String;
+
+    var style (default,null) :CSSStyleDeclaration;
+
+}

+ 103 - 0
std/js/html/CSSPrimitiveValue.hx

@@ -0,0 +1,103 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("CSSPrimitiveValue")
+extern class CSSPrimitiveValue extends CSSValue
+{
+    static inline var CSS_ATTR :Int = 22;
+
+    static inline var CSS_CM :Int = 6;
+
+    static inline var CSS_COUNTER :Int = 23;
+
+    static inline var CSS_DEG :Int = 11;
+
+    static inline var CSS_DIMENSION :Int = 18;
+
+    static inline var CSS_EMS :Int = 3;
+
+    static inline var CSS_EXS :Int = 4;
+
+    static inline var CSS_GRAD :Int = 13;
+
+    static inline var CSS_HZ :Int = 16;
+
+    static inline var CSS_IDENT :Int = 21;
+
+    static inline var CSS_IN :Int = 8;
+
+    static inline var CSS_KHZ :Int = 17;
+
+    static inline var CSS_MM :Int = 7;
+
+    static inline var CSS_MS :Int = 14;
+
+    static inline var CSS_NUMBER :Int = 1;
+
+    static inline var CSS_PC :Int = 10;
+
+    static inline var CSS_PERCENTAGE :Int = 2;
+
+    static inline var CSS_PT :Int = 9;
+
+    static inline var CSS_PX :Int = 5;
+
+    static inline var CSS_RAD :Int = 12;
+
+    static inline var CSS_RECT :Int = 24;
+
+    static inline var CSS_RGBCOLOR :Int = 25;
+
+    static inline var CSS_S :Int = 15;
+
+    static inline var CSS_STRING :Int = 19;
+
+    static inline var CSS_UNKNOWN :Int = 0;
+
+    static inline var CSS_URI :Int = 20;
+
+    static inline var CSS_VH :Int = 27;
+
+    static inline var CSS_VMIN :Int = 28;
+
+    static inline var CSS_VW :Int = 26;
+
+    var primitiveType (default,null) :Int;
+
+    function getCounterValue () :Counter;
+
+    function getFloatValue (unitType :Int) :Float;
+
+    function getRGBColorValue () :RGBColor;
+
+    function getRectValue () :Rect;
+
+    function getStringValue () :String;
+
+    function setFloatValue (unitType :Int, floatValue :Float) :Void;
+
+    function setStringValue (stringType :Int, stringValue :String) :Void;
+
+}

+ 62 - 0
std/js/html/CSSRule.hx

@@ -0,0 +1,62 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** <p>An object implementing the <code>CSSRule</code> DOM interface represents a single CSS rule. References to a <code>CSSRule</code>-implementing object may be obtained by looking at a <a title="en/DOM/stylesheet" rel="internal" href="https://developer.mozilla.org/en/DOM/CSSStyleSheet">CSS style sheet's</a> <code><a title="en/DOM/CSSStyleSheet/cssRules" rel="internal" href="https://developer.mozilla.org/en/DOM/CSSStyleSheet">cssRules</a></code> list.</p>
+<p>There are several kinds of rules. The <code>CSSRule</code> interface specifies the properties common to all rules, while properties unique to specific rule types are specified in the more specialized interfaces for those rules' respective types.</p><br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/cssRule">MDN</a>. */
+@:native("CSSRule")
+extern class CSSRule
+{
+    static inline var CHARSET_RULE :Int = 2;
+
+    static inline var FONT_FACE_RULE :Int = 5;
+
+    static inline var IMPORT_RULE :Int = 3;
+
+    static inline var KEYFRAMES_RULE :Int = 7;
+
+    static inline var KEYFRAME_RULE :Int = 8;
+
+    static inline var MEDIA_RULE :Int = 4;
+
+    static inline var PAGE_RULE :Int = 6;
+
+    static inline var STYLE_RULE :Int = 1;
+
+    static inline var UNKNOWN_RULE :Int = 0;
+
+    /** Returns the textual representation of the rule, e.g. <code>"h1,h2 { font-size: 16pt }"</code> Setter throws DOMException. */
+    var cssText :String;
+
+    /** Returns the containing rule, otherwise <code>null</code>. E.g. if this rule is a style rule inside an <code><a title="en/CSS/@media" rel="internal" href="https://developer.mozilla.org/en/CSS/@media">@media</a></code> block, the parent rule would be that <code><a title="en/DOM/CSSMediaRule" rel="internal" href="https://developer.mozilla.org/en/DOM/CSSMediaRule">CSSMediaRule</a></code>. */
+    var parentRule (default,null) :CSSRule;
+
+    /** Returns the <code><a title="en/DOM/CSSStyleSheet" rel="internal" href="https://developer.mozilla.org/en/DOM/CSSStyleSheet">CSSStyleSheet</a></code> object for the style sheet that contains this rule */
+    var parentStyleSheet (default,null) :CSSStyleSheet;
+
+    /** One of the <a rel="custom" href="https://developer.mozilla.org/en/DOM/cssRule#Type_constants">Type constants</a>&nbsp;indicating the type of CSS&nbsp;rule. */
+    var type (default,null) :Int;
+
+}

+ 35 - 0
std/js/html/CSSRuleList.hx

@@ -0,0 +1,35 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** A <code>CSSRuleList</code> is an array-like object containing an ordered collection of <code><a title="en/DOM/cssRule" rel="internal" href="https://developer.mozilla.org/en/DOM/cssRule">CSSRule</a></code> objects.<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/CSSRuleList">MDN</a>. */
+@:native("CSSRuleList")
+extern class CSSRuleList implements ArrayAccess<CSSRule>
+{
+    var length (default,null) :Int;
+
+    function item (index :Int) :CSSRule;
+
+}

+ 631 - 0
std/js/html/CSSStyleDeclaration.hx

@@ -0,0 +1,631 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** <p>A CSSStyleDeclaration is an interface to the <a class="external" rel="external" href="http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#block" title="http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#block" target="_blank">declaration block</a> returned by the <code><a href="https://developer.mozilla.org/en/DOM/cssRule.style" rel="internal" title="en/DOM/cssRule.style">style</a></code> property of a <code><a href="https://developer.mozilla.org/en/DOM/cssRule" rel="internal" title="en/DOM/cssRule">cssRule</a></code> in a <a href="https://developer.mozilla.org/en/DOM/stylesheet" rel="internal" title="en/DOM/stylesheet">stylesheet</a>, when the&nbsp;rule is a <a title="en/DOM/cssRule#CSSStyleRule" rel="internal" href="https://developer.mozilla.org/en/DOM/cssRule#CSSStyleRule">CSSStyleRule</a>.</p>
+<p>CSSStyleDeclaration is also a <strong>read-only </strong>interface to the result of <a title="en/DOM/window.getComputedStyle" rel="internal" href="https://developer.mozilla.org/en/DOM/window.getComputedStyle">getComputedStyle</a>.</p><br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/CSSStyleDeclaration">MDN</a>. */
+@:native("CSSStyleDeclaration")
+extern class CSSStyleDeclaration implements ArrayAccess<String>
+{
+    /** Textual representation of the declaration block. Setting this attribute changes the style. Setter throws DOMException. */
+    var cssText :String;
+
+    /** The number of properties. See the <strong>item</strong> method below. */
+    var length (default,null) :Int;
+
+    /** The containing <code><a href="https://developer.mozilla.org/en/DOM/cssRule" rel="internal" title="en/DOM/cssRule">cssRule</a>.</code> */
+    var parentRule (default,null) :CSSRule;
+
+    /** The <code>animation</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property is a shorthand property for <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/animation-name">animation-name</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/animation-duration">animation-duration</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/animation-timing-function">animation-timing-function</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/animation-delay">animation-delay</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/animation-iteration-count">animation-iteration-count</a></code>
+ and <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/animation-direction">animation-direction</a></code>
+. */
+    var animation :String;
+
+    /** The <code>animation-delay</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property specifies when the animation should start. This lets the animation sequence begin some time after it's applied to an element. */
+    var animationDelay :String;
+
+    /** The <code>animation-direction</code> CSS property indicates whether the animation should play in reverse on alternate cycles. */
+    var animationDirection :String;
+
+    /** The <code>animation-duration</code> CSS property specifies the length of time that an animation should take to complete one cycle. */
+    var animationDuration :String;
+
+    /** The <code>animation-iteration-count</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property defines the number of times an animation cycle should be played before stopping. */
+    var animationIterationCount :String;
+
+    /** The <code>animation-name</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property specifies a list of animations that should be applied to the selected element. Each name indicates a <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/@keyframes">@keyframes</a></code>
+ at-rule that defines the property values for the animation sequence. */
+    var animationName :String;
+
+    /** The <code>animation-play-state</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property determines whether an animation is running or paused. You can query this property's value to determine whether or not the animation is currently running; in addition, you can set its value to pause and resume playback of an animation. */
+    var animationPlayState :String;
+
+    /** The <code>animation-timing-function</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property specifies how a CSS animation should progress over the duration of each cycle. The possible values are one or several <span class="lang lang-en"><code><a rel="custom" href="https://developer.mozilla.org/en/CSS/timing-function">&lt;timing-function&gt;</a></code>
+ </span>. */
+    var animationTimingFunction :String;
+
+    /** In combination with<code> elevation</code>, <code>azimuth</code> enables different audio sources to be positioned spatially for aural presentation. This is important in that it provides a natural way to tell several voices apart, as each can be positioned to originate at a different location on the sound stage. Stereo output produce a lateral sound stage, while binaural headphones and multi-speaker setups allow for a fully three-dimensional stage. */
+    var azimuth :String;
+
+    /** The <code>backface-visibility</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property determines whether or not the back face of the element is visible when facing the user. The back face of an element always is a transparent background, letting, when visible, a mirror image of the front face be displayed. */
+    var backfaceVisibility :String;
+
+    /** The<code> background </code>CSS property is a shorthand for setting the individual background values in a single place in the style sheet.<code> background </code>can be used to set the values for one or more of: <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/background-color">background-color</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/background-image">background-image</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/background-position">background-position</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/background-repeat">background-repeat</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/background-size">background-size</a></code>
+, and <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/background-attachment">background-attachment</a></code>
+. */
+    var background :String;
+
+    /** If a <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/background-image">background-image</a></code>
+ is specified, the <code>background-attachment</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property determines whether that image's position is fixed within the viewport, or scrolls along with its containing block. */
+    var backgroundAttachment :String;
+
+    /** The<code> background-clip </code>CSS property specifies whether an element's background, either the color or image, extends underneath its border. */
+    var backgroundClip :String;
+
+    /** The <code>background-color</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property sets the background color of an element, either through a color value or the keyword <code>transparent</code>. */
+    var backgroundColor :String;
+
+    /** The<code> background-image </code>CSS property sets the background images for an element. The images are drawn on successive stacking context layers, with the first specified being drawn as if it is the closest to the user. The <a title="border" rel="internal" href="https://developer.mozilla.org/cn/CSS/border">borders</a> of the element are then drawn on top of them, and the <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/background-color">background-color</a></code>
+ is drawn beneath them. */
+    var backgroundImage :String;
+
+    /** The<code> background-origin </code>CSS property determines the background positioning area, that is the position of the origin of an image specified using the <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/background-image">background-image</a></code>
+ CSS property. */
+    var backgroundOrigin :String;
+
+    /** The<code> background-position </code>CSS property sets the initial position, relative to the background position layer defined by <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/background-origin">background-origin</a></code>
+ for each defined background image. */
+    var backgroundPosition :String;
+
+    /** The <code>background-repeat</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property defines how background images are repeated. A background image can be repeated along the horizontal axis, the vertical axis, both, or not repeated at all. When the repetition of the image tiles doesn't let them exactly cover the background, the way adjustments are done can be controlled by the author: by default, the last image is clipped, but the different tiles can instead be re-sized, or space can be inserted between the tiles. */
+    var backgroundRepeat :String;
+
+    /** The<code> background-size </code>CSS property specifies the size of the background images. */
+    var backgroundSize :String;
+
+    /** This property specifies the extent of the page bleed area outside the page box. This property only has effect if crop marks are enabled. */
+    var bleed :String;
+
+    /** The <code>border</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property is a shorthand property for setting the individual border property values in a single place in the style sheet. <code>border</code> can be used to set the values for one or more of: <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border-width">border-width</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border-style">border-style</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border-color">border-color</a></code>
+. */
+    var border :String;
+
+    /** The <code>border-bottom</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property is a shorthand that sets the values of <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border-bottom-color">border-bottom-color</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border-bottom-style">border-bottom-style</a></code>
+, and <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border-bottom-width">border-bottom-width</a></code>
+. These properties describe the bottom border of elements. */
+    var borderBottom :String;
+
+    /** The<code> border-bottom-color </code>CSS property sets the color of the bottom border of an element. Note that in many cases the shorthand CSS properties&nbsp; <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border-color">border-color</a></code>
+ or <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border-bottom">border-bottom</a></code>
+ are more convenient and preferable. */
+    var borderBottomColor :String;
+
+    /** The <code>border-bottom-left-radius</code> CSS property sets the rounding of the bottom-left corner of the element. The rounding can be a circle or an ellipse, or if one of the value is <code>0</code> no rounding is done and the corner is square. */
+    var borderBottomLeftRadius :String;
+
+    /** The <code>border-bottom-right-radius</code> CSS property sets the rounding of the bottom-right corner of the element. The rounding can be a circle or an ellipse, or if one of the value is <code>0</code> no rounding is done and the corner is square. */
+    var borderBottomRightRadius :String;
+
+    /** The <code>border-bottom-style</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property sets the line style of the bottom border of a box. */
+    var borderBottomStyle :String;
+
+    /** The <code>border-bottom-width</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property sets the width of the bottom border of a box. */
+    var borderBottomWidth :String;
+
+    /** The<code> border-collapse </code>CSS property selects a table's border model. This has a big influence on the look and style of the table cells. */
+    var borderCollapse :String;
+
+    /** The<code> border-color </code>CSS property is a shorthand for setting the color of the four sides of an element's border: <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border-top-color">border-top-color</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border-right-color">border-right-color</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border-bottom-color">border-bottom-color</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border-left-color">border-left-color</a></code> */
+    var borderColor :String;
+
+    /** The<code> border-image </code>CSS property allows drawing an image on the borders of elements. This makes drawing complex looking widgets much simpler than it has been and removes the need for nine boxes in some cases. */
+    var borderImage :String;
+
+    /** The <code>border-image-outset </code>property describes, by which amount <dfn id="border-image-area">border image area</dfn> extends beyond the border box. */
+    var borderImageOutset :String;
+
+    /** The <code>border-image-repeat</code> CSS property defines how the middle part of a border image is handled to match the size of the border. It has a one-value syntax which describes the behavior for all sides, and a two-value syntax that sets a different value for the horizontal and vertical behavior. */
+    var borderImageRepeat :String;
+
+    /** The <code>border-image-source</code> CSS property defines the <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/image">&lt;image&gt;</a></code>
+ to use instead of the style of the border. If this property is set to <code>none</code>, the style defined by <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border-style">border-style</a></code>
+ is used instead. */
+    var borderImageSource :String;
+
+    /** The <code>border-image-width</code> CSS property defines the offset to use for dividing the border image in nine parts, the top-left corner, central top edge, top-right-corner, central right edge, bottom-right corner, central bottom edge, bottom-left corner, and central right edge. They represent inward distance from the top, right, bottom and right edges. */
+    var borderImageWidth :String;
+
+    /** The <code>border-left</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property is a shorthand that sets the values of <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border-left-color">border-left-color</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border-left-style">border-left-style</a></code>
+, and <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border-left-width">border-left-width</a></code>
+. These properties describe the left border of elements. */
+    var borderLeft :String;
+
+    /** The<code> border-left-color </code>CSS property sets the color of the bottom border of an element. Note that in many cases the shorthand CSS properties&nbsp; <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border-color">border-color</a></code>
+ or <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border-left">border-left</a></code>
+ are more convenient and preferable. */
+    var borderLeftColor :String;
+
+    /** The <code>border-left-style</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property sets the line style of the left border of a box. */
+    var borderLeftStyle :String;
+
+    /** The <code>border-left-width</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property sets the width of the left border of a box. */
+    var borderLeftWidth :String;
+
+    /** The <code>border-radius</code> CSS property allows Web authors to define how rounded border corners are. The curve of each corner is defined using one or two radii, defining its shape: circle or ellipse. */
+    var borderRadius :String;
+
+    /** The <code>border-right</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property is a shorthand that sets the values of <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border-right-color">border-right-color</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border-right-style">border-right-style</a></code>
+, and <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border-right-width">border-right-width</a></code>
+. These properties describe the right border of elements. */
+    var borderRight :String;
+
+    /** The<code> border-right-color </code>CSS property sets the color of the bottom border of an element. Note that in many cases the shorthand CSS properties&nbsp; <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border-color">border-color</a></code>
+ or <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border-right">border-right</a></code>
+ are more convenient and preferable. */
+    var borderRightColor :String;
+
+    /** The <code>border-right-style</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property sets the line style of the right border of a box. */
+    var borderRightStyle :String;
+
+    /** The <code>border-right-width</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property sets the width of the right border of a box. */
+    var borderRightWidth :String;
+
+    /** The <code>border-spacing</code> CSS property specifies the distance between the borders of adjacent cells (only for the <a title="en/CSS/border-collapse" rel="internal" href="https://developer.mozilla.org/en/CSS/border-collapse">separated borders model</a>). This is equivalent to the <code>cellspacing</code> attribute in presentational HTML, but an optional second value can be used to set different horizontal and vertical spacing. */
+    var borderSpacing :String;
+
+    /** The <code>border-style</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property is a shorthand property for setting the line style for all four sides of the elements border. */
+    var borderStyle :String;
+
+    /** The <code>border-top</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property is a shorthand that sets the values of <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border-top-color">border-top-color</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border-top-style">border-top-style</a></code>
+, and <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border-top-width">border-top-width</a></code>
+. These properties describe the top border of elements. */
+    var borderTop :String;
+
+    /** The<code> border-top-color </code>CSS property sets the color of the top border of an element. Note that in many cases the shorthand CSS properties&nbsp; <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border-color">border-color</a></code>
+ or <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border-top">border-top</a></code>
+ are more convenient and preferable. */
+    var borderTopColor :String;
+
+    /** The <code>border-top-left-radius</code> CSS property sets the rounding of the top-left corner of the element. The rounding can be a circle or an ellipse, or if one of the value is <code>0</code> no rounding is done and the corner is square. */
+    var borderTopLeftRadius :String;
+
+    /** The <code>border-top-right-radius</code> CSS property sets the rounding of the top-right corner of the element. The rounding can be a circle or an ellipse, or if one of the value is <code>0</code> no rounding is done and the corner is square. */
+    var borderTopRightRadius :String;
+
+    /** The <code>border-top-style</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property sets the line style of the top border of a box. */
+    var borderTopStyle :String;
+
+    /** The <code>border-top-width</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property sets the width of the top border of a box. */
+    var borderTopWidth :String;
+
+    /** The<code> border-width </code>CSS property sets the width of the border of a box. Using the shorthand property <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border">border</a></code>
+ is often more convenient. */
+    var borderWidth :String;
+
+    /** The <code>bottom</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property participates in specifying the position of <em>positioned elements</em>. */
+    var bottom :String;
+
+    /** The <code>box-shadow</code> CSS property accepts one or more shadow effects as a comma-separated list. It allows casting a drop shadow from the frame of almost any element. If a <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/border-radius">border-radius</a></code>
+ is specified on the element with a box shadow, the box shadow takes on the same rounded corners. The z-ordering of multiple box shadows is the same as multiple <a title="text-shadow" rel="internal" href="https://developer.mozilla.org/en/CSS/text-shadow">text shadows</a> (the first specified shadow is on top). */
+    var boxShadow :String;
+
+    /** The<code> box-sizing </code>CSS property is used to alter the default CSS box model used to calculate widths and heights of elements. It is possible to use this property to emulate the behavior of browsers that do not correctly support the CSS box model specification. */
+    var boxSizing :String;
+
+    /** The <code>caption-side</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property positions the content of a table's <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/caption">&lt;caption&gt;</a></code>
+ on the specified side. */
+    var captionSide :String;
+
+    /** The <code>clear</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property specifies whether an element can be next to <a title="en/CSS/float" rel="internal" href="https://developer.mozilla.org/en/CSS/float">floating</a> elements that precede it or must be moved down (cleared) below them. */
+    var clear :String;
+
+    /** The <code>clip</code> CSS property defines what portion of an element is visible. The <code>clip</code> property applies only to elements with <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/position">position:absolute</a></code>
+. */
+    var clip :String;
+
+    /** The <code>color</code> CSS property sets the foreground color of an element's text content */
+    var color :String;
+
+    /** The <code>column-count </code>CSS property describes the number of columns of the element. */
+    var columnCount :String;
+
+    /** The <code>column-fill</code> CSS property controls how contents are partitioned into columns. Contents are either balanced, which means that contents in all columns will have the same height or, when using <code>auto</code>, just take up the room the content needs. */
+    var columnFill :String;
+
+    /** The <code>column-gap</code> CSS property sets the size of the gap between columns for elements which are specified to display as a multi-column element. */
+    var columnGap :String;
+
+    /** In multi-column layouts, the <code>column-rule</code> CSS property specifies a straight line, or "rule", to be drawn between each column. It is a convenient shorthand to avoid setting each of the individual <code>column-rule-*</code> properties separately : <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/column-rule-width">column-rule-width</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/column-rule-style">column-rule-style</a></code>
+ and <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/column-rule-color">column-rule-color</a></code>
+. */
+    var columnRule :String;
+
+    /** The<code> column-rule-color </code>CSS property lets you set the color of the rule drawn between columns in multi-column layouts. */
+    var columnRuleColor :String;
+
+    /** The<code> column-rule-style </code>CSS property lets you set the style of the rule drawn between columns in multi-column layouts. */
+    var columnRuleStyle :String;
+
+    /** The<code> column-rule-width </code>CSS property lets you set the width of the rule drawn between columns in multi-column layouts. */
+    var columnRuleWidth :String;
+
+    /** The <code>column-span</code> CSS property makes it possible for an element to span across all columns when its value is set to <code>all</code>. An element that spans more than one column is called a <strong>spanning element</strong>. */
+    var columnSpan :String;
+
+    /** The <code>column-width</code> CSS property suggests an optimal column width. This is not a absolute value but a mere hint. Browser will adjust the width of the column around that suggested value, allowing to achieve scalable designs that fit different screen size. Especially in presence of the <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/column-count">column-count</a></code>
+ CSS property which has precedence, to set an exact column width, all length values must be specified. In horizontal text these are <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/width">width</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/column-width">column-width</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/column-gap">column-gap</a></code>
+, and <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/column-rule-width">column-rule-width</a></code>
+. */
+    var columnWidth :String;
+
+    /** The <code>columns</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property is a shorthand property allowing to set both the <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/column-width">column-width</a></code>
+ and the <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/column-count">column-count</a></code>
+ properties at the same time. */
+    var columns :String;
+
+    /** The<code> content </code>CSS property is used with the <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/%3Abefore">:before</a></code>
+ and <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/%3Aafter">:after</a></code>
+ pseudo-elements to generate content in an element. */
+    var content :String;
+
+    /** The <code>counter-increment</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property is used to increase the value of <a title="en/CSS_Counters" rel="internal" href="https://developer.mozilla.org/en/CSS_Counters">CSS Counters</a> by a given value. The counter's value can be reset using the <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/counter-reset">counter-reset</a></code>
+ CSS property. */
+    var counterIncrement :String;
+
+    /** The <code>counter-reset</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property is used to reset <a title="en/CSS_Counters" rel="internal" href="https://developer.mozilla.org/en/CSS_Counters">CSS Counters</a> to a given value. */
+    var counterReset :String;
+
+    /** The<code> cursor </code>CSS property specifies the mouse cursor displayed when the mouse pointer is over an element. */
+    var cursor :String;
+
+    /** The <code>direction</code> CSS property should be set to match the direction of the text: <code>rtl</code> for Hebrew or Arabic text and <code>ltr</code> for other scripts. This should normally be done as part of the document (e.g., using the <code>dir</code> attribute in HTML) rather than through direct use of CSS. */
+    var direction :String;
+
+    /** The <code>display</code> CSS property specifies the type of rendering box used for an element. In HTML, default <code>display</code> property values are taken from behaviors described in the HTML specifications or from the browser/user default stylesheet. The default value in XML is <code>inline</code>. */
+    var display :String;
+
+    /** The <code>empty-cells </code>CSS property specifies how user agent should render borders and backgrounds around cells that have no visible content. */
+    var emptyCells :String;
+
+    /** The <code>float</code> CSS property specifies that an element should be taken from the normal flow and placed along the left or right side of its container, where text and inline elements will wrap around it. */
+    var float :String;
+
+    /** The <code>font</code> CSS property is either a shorthand property for setting <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/font-style">font-style</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/font-variant">font-variant</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/font-weight">font-weight</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/font-size">font-size</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/line-height">line-height</a></code>
+ and <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/font-family">font-family</a></code>
+, or a way to set the element's font to a system font, using specific keywords. */
+    var font :String;
+
+    /** The<code> font-family </code>CSS property allows for a prioritized list of font family names and/or generic family names to be specified for the selected element. Unlike most other CSS properties, values are separated by a comma to indicate that they are alternatives. The browser will select the first font on the list that is installed on the computer, or that can be downloaded using the information provided by a <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/@font-face">@font-face</a></code>
+ at-rule. */
+    var fontFamily :String;
+
+    /** The <code>font-size</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property specifies the size of the font. The font size may, in turn, change the size of other items, since it is used to compute the value of <code>em</code> and <code>ex</code> length units. */
+    var fontSize :String;
+
+    /** The<code> font-size-adjust </code>CSS property specifies that font size should be chosen based on the height of lowercase letters rather than the height of capital letters. */
+    var fontSizeAdjust :String;
+
+    /** The<code> font-stretch </code>CSS property selects a normal, condensed, or extended face from a font family. */
+    var fontStretch :String;
+
+    /** The<code> font-style </code>CSS property allows<code> italic </code>or<code> oblique </code>faces to be selected within a <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/font-family">font-family</a></code>
+.<br> */
+    var fontStyle :String;
+
+    /** The<code> font-variant </code>CSS property selects a<code> normal</code>, or<code> small-caps </code>face from a font family. Setting<code> font-variant </code>is also possible by using the <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/font">font</a></code>
+ shorthand. */
+    var fontVariant :String;
+
+    /** The <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/font-weight">font-weight</a></code>
+ <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property specifies the weight or boldness of the font. However, some fonts are not available in all weights; some are available only on <code>normal</code> and <code>bold</code>. */
+    var fontWeight :String;
+
+    /** The<code> height </code>CSS property specifies the height of the content area of an element. The <a title="en/CSS/Box_model#content" rel="internal" href="https://developer.mozilla.org/en/CSS/box_model#content">content area</a> is <em>inside</em> the padding, border, and margin of the element. */
+    var height :String;
+
+    /** The <code>hyphens</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property tells the browser how to go about splitting words to improve the layout of text when line-wrapping. */
+    var hyphens :String;
+
+    /** The <code>image-rendering</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property provides a hint to the user agent about how to handle its image rendering.<br> <code>image-rendering </code>applies to scaled images (and other elements, see below). For example, if the natural size of the image is<em> 100×100px </em>but the page author specifies the dimensions to <code>200×200px</code> (or<code>50×50px</code>), then the image will be upscaled (or downscaled) to the new dimensions using the specified algorithm. Scaling may also apply due to user interaction (zooming). */
+    var imageRendering :String;
+
+    /** The <code>left</code> CSS property specifies part of the position of positioned elements. */
+    var left :String;
+
+    /** The<code> letter-spacing </code>CSS property specifies spacing behavior between text characters. */
+    var letterSpacing :String;
+
+    /** On inline elements, the<code> line-height </code>CSS property specifies the height that is used in the calculation of the line box height.<br>
+On block level elements,<code> line-height </code>specifies the minimal height of line boxes within the element. */
+    var lineHeight :String;
+
+    /** The<code> list-style </code>CSS property is a shorthand property for setting <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/list-style-type">list-style-type</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/list-style-image">list-style-image</a></code>
+ and <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/list-style-position">list-style-position</a></code>
+. */
+    var listStyle :String;
+
+    /** The<code> list-style-image </code>CSS property sets the image that will be used as the list item marker. It is often more convenient to use the shortcut <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/list-style">list-style</a></code>
+. */
+    var listStyleImage :String;
+
+    /** The<code> list-style-position </code>CSS property specifies the position of the marker box in the principal block box. It is often more convenient to use the shortcut <span class="lang lang-en"><code><a rel="custom" href="https://developer.mozilla.org/en/CSS/list-style">list-style</a></code>
+</span>. */
+    var listStylePosition :String;
+
+    /** The<code> list-style-type </code>CSS property specifies appearance of a list item element. As it is the only one who defaults to <code>display:list-item</code>, this is usually a <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/li">&lt;li&gt;</a></code>
+ element, but can be any element with this <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/display">display</a></code>
+ value. */
+    var listStyleType :String;
+
+    /** The<code> margin </code>CSS property sets the margin for all four sides. It is a shorthand to avoid setting each side separately with the other margin properties:<br>
+<code><a rel="custom" href="https://developer.mozilla.org/en/CSS/margin-top">margin-top</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/margin-right">margin-right</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/margin-bottom">margin-bottom</a></code>
+ and <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/margin-left">margin-left</a></code>
+.<br>
+Negative value are also allowed. */
+    var margin :String;
+
+    /** The <code>margin-bottom</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property of an element sets the margin space required on the bottom of an element. A negative value is also allowed. */
+    var marginBottom :String;
+
+    /** The <code>margin-left</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property of an element sets the margin space required on the left side of an element. A negative value is also allowed. */
+    var marginLeft :String;
+
+    /** The <code>margin-right</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property of an element sets the margin space required on the right side of an element. A negative value is also allowed. */
+    var marginRight :String;
+
+    /** The<code> margin-top </code>CSS property of an element sets the margin space required on the top of an element. A negative value is also allowed. */
+    var marginTop :String;
+
+    /** &nbsp; */
+    var markerOffset :String;
+
+    /** The <code>marks</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property adds crop and/or cross marks to the presentation of the document. <em>Crop marks</em> indicate where the page should be cut. <em>Cross marks</em> are used to align sheets. */
+    var marks :String;
+
+    /** The<code> max-height </code>CSS property is used to set the maximum height of a given element. It prevents the used value of the <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/height">height</a></code>
+ property from becoming larger than the value specified for<code> max-height</code>. */
+    var maxHeight :String;
+
+    /** The<code> max-width </code>CSS property is used to set the maximum width of a given element. It prevents the used value of the <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/width">width</a></code>
+ property from becoming larger than the value specified for<code> max-width</code>. */
+    var maxWidth :String;
+
+    /** The<code> min-height </code>CSS property is used to set the minimum height of a given element. It prevents the used value of the <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/height">height</a></code>
+ property from becoming smaller than the value specified for<code> min-height</code>. */
+    var minHeight :String;
+
+    /** The<code> min-width </code>CSS property is used to set the minimum width of a given element. It prevents the used value of the <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/width">width</a></code>
+ property from becoming smaller than the value specified for<code> min-width</code>. */
+    var minWidth :String;
+
+    /** The <code>opacity</code> CSS property specifies the transparency of an element, that is, the degree to which the background behind the element is overlaid. */
+    var opacity :String;
+
+    /** The <code>orphans</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property refers to the <em>minimum</em> number of lines in a block container that must be left at the bottom of the page.&nbsp; This property is normally used to control how page breaks occur. */
+    var orphans :String;
+
+    /** The<code> outline </code>CSS property is a shorthand property for setting one or more of the individual outline properties <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/outline-style">outline-style</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/outline-width">outline-width</a></code>
+ and <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/outline-color">outline-color</a></code>
+ in a single rule. In most cases the use of this shortcut is preferable and more convenient. */
+    var outline :String;
+
+    /** The<code> outline-color </code>CSS property sets the color of the outline of an element. An outline is a line that is drawn around elements, outside the border edge, to make the element stand out. */
+    var outlineColor :String;
+
+    /** The<code> outline-offset </code>CSS property is used to set space between an <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/outline">outline</a></code>
+ and the edge or border of an element. An outline is a line that is drawn around elements, outside the border edge. */
+    var outlineOffset :String;
+
+    /** The<code> outline-style </code>CSS property is used to set the style of the outline of an element. An outline is a line that is drawn around elements, outside the border edge, to make the element stand out. */
+    var outlineStyle :String;
+
+    /** The<code> outline-width </code>CSS property is used to set the width of the outline of an element. An outline is a line that is drawn around elements, outside the border edge, to make the element stand out: */
+    var outlineWidth :String;
+
+    /** The<code> overflow </code>CSS property specifies whether to clip content, render scroll bars or display overflow content of a block-level element. */
+    var overflow :String;
+
+    /** The <code>overflow-x </code><a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property specifies whether to clip content, render a scroll bar or display overflow content of a block-level element, when it overflows at the left and right edges. */
+    var overflowX :String;
+
+    /** The<code> padding </code>CSS property sets the required padding space on all sides of an element. The <a title="http://developer.mozilla.org/en/CSS/Box_model#padding" rel="internal" href="https://developer.mozilla.org/en/CSS/Box_model#padding">padding area</a> is the space between the content of the element and its border. Negative values are not allowed. */
+    var padding :String;
+
+    /** The <code>padding-bottom</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property of an element sets the padding space required on the bottom of an element. The <a title="http://developer.mozilla.org/en/CSS/Box_model#padding" rel="internal" href="https://developer.mozilla.org/en/CSS/box_model#padding">padding area</a> is the space between the content of the element and it's border. A negative value is not allowed. */
+    var paddingBottom :String;
+
+    /** The <code>padding-left</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property of an element sets the padding space required on the left side of an element. The <a title="http://developer.mozilla.org/en/CSS/Box_model#padding" rel="internal" href="https://developer.mozilla.org/en/CSS/box_model#padding">padding area</a> is the space between the content of the element and it's border. A negative value is not allowed. */
+    var paddingLeft :String;
+
+    /** The <code>padding-right</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property of an element sets the padding space required on the right side of an element. The <a title="http://developer.mozilla.org/en/CSS/Box_model#padding" rel="internal" href="https://developer.mozilla.org/en/CSS/box_model#padding">padding area</a> is the space between the content of the element and its border. Negative values are not allowed. */
+    var paddingRight :String;
+
+    /** The <code>padding-top</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property of an element sets the padding space required on the top of an element. The <a title="http://developer.mozilla.org/en/CSS/Box_model#padding" rel="internal" href="https://developer.mozilla.org/en/CSS/box_model#padding">padding area</a> is the space between the content of the element and it's border. A negative values is not allowed. */
+    var paddingTop :String;
+
+    /** The <code>page-break-after</code> CSS property adjusts page breaks <em>after</em> the current element. */
+    var pageBreakAfter :String;
+
+    /** The <code>page-break-before</code> CSS property adjusts page breaks <em>before</em> the current element. */
+    var pageBreakBefore :String;
+
+    /** The <code>page-break-inside</code> CSS property adjusts page breaks <em>inside</em> the current element. */
+    var pageBreakInside :String;
+
+    /** The <code>perspective</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property determines the distance between the z=0 plane and the user in order to give to the 3D-positioned element some perspective. Each 3D element that is placed between the z=0 and the user is enlarged, each 3D-element with z&lt;0 is shrinked. How much deformation is defined by the value of this property. */
+    var perspective :String;
+
+    /** The <code>perspective-origin</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property determines the position the viewer is looking at. It is used as the <em>vanishing point</em> by the <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/perspective">perspective</a></code>
+ property. */
+    var perspectiveOrigin :String;
+
+    /** The<code> position </code>CSS property chooses alternative rules for positioning elements, designed to be useful for scripted animation effects. */
+    var position :String;
+
+    /** The <code>quotes</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property indicates how user agents should render quotation marks. */
+    var quotes :String;
+
+    /** The <code>resize</code> CSS property lets you control the resizability of an element. */
+    var resize :String;
+
+    /** The <code>right</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property specifies part of the position of positioned elements. */
+    var right :String;
+
+    /** The <code>tab-size</code> CSS property is used to customize the width of a tab (<code>U+0009</code>) character. */
+    var tabSize :String;
+
+    /** The <code>table-layout</code> CSS property defines the algorithm to be used to layout the table cells, rows, and columns. */
+    var tableLayout :String;
+
+    /** The<code> text-align </code>CSS property describes how inline content like text is aligned in its parent block element.<code> text-align </code>does not control the alignment of block elements itself, only their inline content. */
+    var textAlign :String;
+
+    /** The <code>text-align-last</code> CSS property describes how the last line of a block or a line right before a forced line break is aligned. */
+    var textAlignLast :String;
+
+    /** The<code> text-decoration </code>CSS property is used to set the text formattings <code>underline, overline, line-through</code> and <code>blink</code>. */
+    var textDecoration :String;
+
+    /** The <code>text-decoration-color</code> CSS property sets the color used when drawing underlines, overlines, or strike-throughs specified by <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/text-decoration-line">text-decoration-line</a></code>
+. This is the preferred way to color these text decorations, rather than using combinations of other HTML&nbsp;elements. */
+    var textDecorationColor :String;
+
+    /** The <code>text-decoration-line</code> CSS property sets what kind of line decorations are added to an element. */
+    var textDecorationLine :String;
+
+    /** The <code>text-decoration-style</code> CSS property defines the style of the lines specified by <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/text-decoration-line">text-decoration-line</a></code>
+. The style applies to all lines, there is no way to define different style for each of the line defined by <code>text-decoration-line</code>. */
+    var textDecorationStyle :String;
+
+    /** The<code> text-indent </code>CSS property specifies how much horizontal space should be left before beginning of the first line of the text content of an element. Horizontal spacing is with respect to the left (or right, for right-to-left layout) edge of the containing block element's box. */
+    var textIndent :String;
+
+    /** The<code> text-shadow </code>CSS property adds shadows to text. It accepts a comma-separated list of shadows to be applied to the text and <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/text-decoration">text-decorations</a></code>
+ of the element. */
+    var textShadow :String;
+
+    /** The <code>text-transform</code> CSS property specifies how to capitalize an element's text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized. */
+    var textTransform :String;
+
+    /** The <code>top</code> CSS property specifies part of the position of positioned elements. It has no effect on non-positioned elements. */
+    var top :String;
+
+    /** The <code>transform</code> CSS property lets you modify the coordinate space of the CSS visual formatting model. Using it, elements can be translated, rotated, scaled, and skewed according to the values set. */
+    var transform :String;
+
+    /** The <code>transform-origin</code> CSS property lets you modify the origin for transformations of an element. For example, the transform-origin of the <code>rotate()</code> function is the centre of rotation. (This property is applied by first translating the element by the negated value of the property, then applying the element's transform, then translating by the property value.) */
+    var transformOrigin :String;
+
+    /** The <code>transform-style</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property determines if the children of the element are positioned in the 3D-space or are flattened in the plane of the element. */
+    var transformStyle :String;
+
+    /** The<code> transition </code><a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property is a shorthand property for <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/transition-property">transition-property</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/transition-duration">transition-duration</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/transition-timing-function">transition-timing-function</a></code>
+, and <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/transition-delay">transition-delay</a></code>
+. */
+    var transition :String;
+
+    /** The<code> transition-delay </code><a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property specifies the amount of time to wait between a change being requested to a property that is to be transitioned and the start of the <a title="en/CSS/CSS transitions" rel="internal" href="https://developer.mozilla.org/en/CSS/CSS_transitions">transition effect</a>. */
+    var transitionDelay :String;
+
+    /** The<code> transition-duration </code><a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property specifies the number of seconds or milliseconds a transition animation should take to complete. By default, the value is 0s, meaning that no animation will occur. */
+    var transitionDuration :String;
+
+    /** The <code>transition-property</code> CSS property is used to specify the names of CSS properties to which a <a title="en/CSS/CSS transitions" rel="internal" href="https://developer.mozilla.org/en/CSS/CSS_transitions">transition effect</a> should be applied. */
+    var transitionProperty :String;
+
+    /** The<code> transition-timing-function </code>CSS property is used to describe how the intermediate values of the CSS&nbsp;properties being affected by a <a title="en/CSS/CSS transitions" rel="internal" href="https://developer.mozilla.org/en/CSS/CSS_transitions">transition effect</a> are calculated. This in essence lets you establish an acceleration curve, so that the speed of the transition can vary over its duration. */
+    var transitionTimingFunction :String;
+
+    /** The <code>vertical-align</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property specifies the vertical alignment of an inline or table-cell element. */
+    var verticalAlign :String;
+
+    /** The<code> visibility </code>CSS property is used for two things: */
+    var visibility :String;
+
+    /** The<code> white-space </code>CSS property is used to to describe how whitespace inside the element is handled. */
+    var whiteSpace :String;
+
+    /** where: */
+    var widows :String;
+
+    /** The<code> width </code>CSS property specifies the width of the content area of an element. The <a title="en/CSS/box_model#content" rel="internal" href="https://developer.mozilla.org/en/CSS/box_model#content">content area</a> is <em>inside</em> the padding, border, and margin of the element. */
+    var width :String;
+
+    /** The<code> word-spacing </code>CSS property specifies spacing behavior between tags and words. */
+    var wordSpacing :String;
+
+    /** The <code>word-wrap</code> <a title="CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property is used to to specify whether or not the browser is allowed to break lines within words in order to prevent overflow when an otherwise unbreakable string is too long to fit. */
+    var wordWrap :String;
+
+    /** The<code> z-index </code>CSS property specifies the z-order of an element and its descendants. When elements overlap, z-order determines which one covers the other. An element with a larger z-index generally covers an element with a lower one. */
+    var zIndex :String;
+
+    function getPropertyCSSValue (propertyName :String) :CSSValue;
+
+    function getPropertyPriority (propertyName :String) :String;
+
+    function getPropertyShorthand (propertyName :String) :String;
+
+    function getPropertyValue (propertyName :String) :String;
+
+    function isPropertyImplicit (propertyName :String) :Bool;
+
+    function item (index :Int) :String;
+
+    function removeProperty (propertyName :String) :String;
+
+    function setProperty (propertyName :String, value :String, priority :String) :Void;
+
+}

+ 38 - 0
std/js/html/CSSStyleRule.hx

@@ -0,0 +1,38 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** An object representing a single CSS style rule. <code>CSSStyleRule</code> implements the <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/CSSRule">CSSRule</a></code>
+ interface.<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/CSSStyleRule">MDN</a>. */
+@:native("CSSStyleRule")
+extern class CSSStyleRule extends CSSRule
+{
+    /** Gets/sets the textual representation of the selector for this rule, e.g. <code>"h1,h2"</code>. */
+    var selectorText :String;
+
+    /** Returns the <code><a title="en/DOM/CSSStyleDeclaration" rel="internal" href="https://developer.mozilla.org/en/DOM/CSSStyleDeclaration">CSSStyleDeclaration</a></code> object for the rule. <strong>Read only.</strong> */
+    var style (default,null) :CSSStyleDeclaration;
+
+}

+ 49 - 0
std/js/html/CSSStyleSheet.hx

@@ -0,0 +1,49 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** <p>An object implementing the <code>CSSStyleSheet</code> interface represents a single <a title="en/CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> style sheet.</p>
+<p>A CSS style sheet consists of CSS rules, each of which can be manipulated through an object that corresponds to that rule and that implements the <code><a title="en/DOM/cssRule" rel="internal" href="https://developer.mozilla.org/en/DOM/cssRule">CSSRule</a></code> interface. The <code>CSSStyleSheet</code> itself lets you examine and modify its corresponding style sheet, including its list of rules.</p>
+<p>In practice, every <code>CSSStyleSheet</code> also implements the more generic <code><a title="en/DOM/StyleSheet" rel="internal" href="https://developer.mozilla.org/en/DOM/stylesheet">StyleSheet</a></code> interface. A list of <code>CSSStyleSheet</code>-implementing objects corresponding to the style sheets for a given document can be reached by the <code><a title="en/DOM/document.styleSheets" rel="internal" href="https://developer.mozilla.org/en/DOM/document.styleSheets">document.styleSheets</a></code> property, if the document is styled by an external CSS style sheet or an inline <code><a title="en/HTML/element/style" rel="internal" href="https://developer.mozilla.org/en/HTML/Element/style">style</a></code> element.</p><br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/CSSStyleSheet">MDN</a>. */
+@:native("CSSStyleSheet")
+extern class CSSStyleSheet extends StyleSheet
+{
+    /** Returns a <code><a title="en/DOM/CSSRuleList" rel="internal" href="https://developer.mozilla.org/en/DOM/CSSRuleList">CSSRuleList</a></code> of the CSS rules in the style sheet. */
+    var cssRules (default,null) :CSSRuleList;
+
+    /** If this style sheet is imported into the document using an <code><a title="en/CSS/@import" rel="internal" href="https://developer.mozilla.org/en/CSS/@import">@import</a></code> rule, the <code>ownerRule</code> property will return that <code><a title="en/DOM/CSSImportRule" rel="internal" href="https://developer.mozilla.org/en/DOM/CSSImportRule" class="new ">CSSImportRule</a></code>, otherwise it returns <code>null</code>. */
+    var ownerRule (default,null) :CSSRule;
+
+    var rules (default,null) :CSSRuleList;
+
+    function addRule (selector :String, style :String, ?index :Int) :Int;
+
+    function deleteRule (index :Int) :Void;
+
+    function insertRule (rule :String, index :Int) :Int;
+
+    function removeRule (index :Int) :Void;
+
+}

+ 73 - 0
std/js/html/CSSTransformValue.hx

@@ -0,0 +1,73 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("CSSTransformValue")
+extern class CSSTransformValue extends CSSValueList
+{
+    static inline var CSS_MATRIX :Int = 11;
+
+    static inline var CSS_MATRIX3D :Int = 21;
+
+    static inline var CSS_PERSPECTIVE :Int = 20;
+
+    static inline var CSS_ROTATE :Int = 4;
+
+    static inline var CSS_ROTATE3D :Int = 17;
+
+    static inline var CSS_ROTATEX :Int = 14;
+
+    static inline var CSS_ROTATEY :Int = 15;
+
+    static inline var CSS_ROTATEZ :Int = 16;
+
+    static inline var CSS_SCALE :Int = 5;
+
+    static inline var CSS_SCALE3D :Int = 19;
+
+    static inline var CSS_SCALEX :Int = 6;
+
+    static inline var CSS_SCALEY :Int = 7;
+
+    static inline var CSS_SCALEZ :Int = 18;
+
+    static inline var CSS_SKEW :Int = 8;
+
+    static inline var CSS_SKEWX :Int = 9;
+
+    static inline var CSS_SKEWY :Int = 10;
+
+    static inline var CSS_TRANSLATE :Int = 1;
+
+    static inline var CSS_TRANSLATE3D :Int = 13;
+
+    static inline var CSS_TRANSLATEX :Int = 2;
+
+    static inline var CSS_TRANSLATEY :Int = 3;
+
+    static inline var CSS_TRANSLATEZ :Int = 12;
+
+    var operationType (default,null) :Int;
+
+}

+ 29 - 0
std/js/html/CSSUnknownRule.hx

@@ -0,0 +1,29 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("CSSUnknownRule")
+extern class CSSUnknownRule extends CSSRule
+{
+}

+ 42 - 0
std/js/html/CSSValue.hx

@@ -0,0 +1,42 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("CSSValue")
+extern class CSSValue
+{
+    static inline var CSS_CUSTOM :Int = 3;
+
+    static inline var CSS_INHERIT :Int = 0;
+
+    static inline var CSS_PRIMITIVE_VALUE :Int = 1;
+
+    static inline var CSS_VALUE_LIST :Int = 2;
+
+    /** Setter throws DOMException. */
+    var cssText :String;
+
+    var cssValueType (default,null) :Int;
+
+}

+ 33 - 0
std/js/html/CSSValueList.hx

@@ -0,0 +1,33 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("CSSValueList")
+extern class CSSValueList extends CSSValue, implements ArrayAccess<CSSValue>
+{
+    var length (default,null) :Int;
+
+    function item (index :Int) :CSSValue;
+
+}

+ 50 - 0
std/js/html/CanvasElement.hx

@@ -0,0 +1,50 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** DOM&nbsp;canvas elements expose the <code><a class="external" href="http://www.w3.org/TR/html5/the-canvas-element.html#htmlcanvaselement" rel="external nofollow" target="_blank" title="http://www.w3.org/TR/html5/the-canvas-element.html#htmlcanvaselement">HTMLCanvasElement</a></code> interface, which provides properties and methods for manipulating the layout and presentation of canvas elements. The <code>HTMLCanvasElement</code> interface inherits the properties and methods of the <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/element">element</a></code>
+ object interface.<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/HTMLCanvasElement">MDN</a>. */
+@:native("HTMLCanvasElement")
+extern class CanvasElement extends Element
+{
+    /** Reflects the 
+
+<code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/canvas#attr-height">height</a></code>
+ HTML attribute, specifying the height of the coordinate space in CSS pixels. */
+    var height :Int;
+
+    /** Reflects the 
+
+<code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/canvas#attr-width">width</a></code>
+ HTML attribute, specifying the width of the coordinate space in CSS pixels. */
+    var width :Int;
+
+    function getContext (contextId :String) :Dynamic;
+
+    function toDataURL (type :String) :String;
+
+    /** A typed shortcut for <code>getContext("2d")</code>. */
+    public inline function getContext2d () :CanvasRenderingContext2D { return cast getContext("2d"); }
+}

+ 33 - 0
std/js/html/CanvasGradient.hx

@@ -0,0 +1,33 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** This is an opaque object representing a gradient and returned by <a title="en/DOM/CanvasRenderingContext2D" rel="internal" href="https://developer.mozilla.org/en/DOM/CanvasRenderingContext2D">CanvasRenderingContext2D</a>'s <a title="en/DOM/CanvasRenderingContext2D.createLinearGradient" rel="internal" href="https://developer.mozilla.org/en/DOM/CanvasRenderingContext2D">createLinearGradient</a> or <a title="en/DOM/CanvasRenderingContext2D.createRadialGradient" rel="internal" href="https://developer.mozilla.org/en/DOM/CanvasRenderingContext2D">createRadialGradient</a> methods.<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/CanvasGradient">MDN</a>. */
+@:native("CanvasGradient")
+extern class CanvasGradient
+{
+    function addColorStop (offset :Float, color :String) :Void;
+
+}

+ 31 - 0
std/js/html/CanvasPattern.hx

@@ -0,0 +1,31 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** This is an opaque object created by <a title="en/DOM/CanvasRenderingContext2D" rel="internal" href="https://developer.mozilla.org/en/DOM/CanvasRenderingContext2D">CanvasRenderingContext2D</a>'s <a title="en/DOM/CanvasRenderingContext2D.createPattern" rel="internal" href="https://developer.mozilla.org/en/DOM/CanvasRenderingContext2D.createPattern" class="new ">createPattern</a> method (whether based on a image, canvas, or video).<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/CanvasPattern">MDN</a>. */
+@:native("CanvasPattern")
+extern class CanvasPattern
+{
+}

+ 31 - 0
std/js/html/CanvasRenderingContext.hx

@@ -0,0 +1,31 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("CanvasRenderingContext")
+extern class CanvasRenderingContext
+{
+    var canvas (default,null) :CanvasElement;
+
+}

+ 244 - 0
std/js/html/CanvasRenderingContext2D.hx

@@ -0,0 +1,244 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** The bulk of the operations available at present with <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/canvas">&lt;canvas&gt;</a></code>
+ are available through this interface, returned by a call to <code>getContext()</code> on the <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/canvas">&lt;canvas&gt;</a></code>
+ element, with "2d" as its argument.<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/CanvasRenderingContext2D">MDN</a>. */
+@:native("CanvasRenderingContext2D")
+extern class CanvasRenderingContext2D extends CanvasRenderingContext
+{
+    var backingStorePixelRatio (default,null) :Float;
+
+    /** Color or style to use inside shapes. Default <code>#000</code> (black). */
+    var fillStyle :Dynamic;
+
+    /** Default value <code>10px sans-serif</code>. */
+    var font :String;
+
+    /** Alpha value that is applied to shapes and images before they are composited onto the canvas. Default <code>1.0</code> (opaque). */
+    var globalAlpha :Float;
+
+    /** With <code>globalAplpha</code> applied this sets how shapes and images are drawn onto the existing bitmap. Possible values: <ul> <li><code>source-atop</code></li> <li><code>source-in</code></li> <li><code>source-out</code></li> <li><code>source-over</code> (default)</li> <li><code>destination-atop</code></li> <li><code>destination-in</code></li> <li><code>destination-out</code></li> <li><code>destination-over</code></li> <li><code>lighter</code></li> <li><code>xor</code></li> </ul> */
+    var globalCompositeOperation :String;
+
+    var imageSmoothingEnabled :Bool;
+
+    /** Type of endings on the end of lines. Possible values: <code>butt</code> (default), <code>round</code>, <code>square</code> */
+    var lineCap :String;
+
+    var lineDash :Array<Dynamic>;
+
+    var lineDashOffset :Float;
+
+    /** Defines the type of corners where two lines meet. Possible values: <code>round</code>, <code>bevel</code>, <code>miter</code> (default) */
+    var lineJoin :String;
+
+    /** Width of lines. Default <code>1.0</code> */
+    var lineWidth :Float;
+
+    /** Default <code>10</code>. */
+    var miterLimit :Float;
+
+    /** Specifies the blurring effect. Default <code>0</code> */
+    var shadowBlur :Float;
+
+    /** Color of the shadow. Default fully-transparent black. */
+    var shadowColor :String;
+
+    /** Horizontal distance the shadow will be offset. Default 0. */
+    var shadowOffsetX :Float;
+
+    /** Vertical distance the shadow will be offset. Default 0. */
+    var shadowOffsetY :Float;
+
+    /** Color or style to use for the lines around shapes. Default <code>#000</code> (black). */
+    var strokeStyle :Dynamic;
+
+    /** Possible values: <code>start</code> (default), <code>end</code>, <code>left</code>, <code>right</code> or <code>center</code>. */
+    var textAlign :String;
+
+    var textBaseline :String;
+
+    function arc (x :Float, y :Float, radius :Float, startAngle :Float, endAngle :Float, anticlockwise :Bool) :Void;
+
+    function arcTo (x1 :Float, y1 :Float, x2 :Float, y2 :Float, radius :Float) :Void;
+
+    function beginPath () :Void;
+
+    function bezierCurveTo (cp1x :Float, cp1y :Float, cp2x :Float, cp2y :Float, x :Float, y :Float) :Void;
+
+    function clearRect (x :Float, y :Float, width :Float, height :Float) :Void;
+
+    function clearShadow () :Void;
+
+    function clip () :Void;
+
+    function closePath () :Void;
+
+    /** Throws DOMException. */
+    @:overload(function (imagedata :ImageData) :ImageData {})
+    function createImageData (sw :Float, sh :Float) :ImageData;
+
+    function createLinearGradient (x0 :Float, y0 :Float, x1 :Float, y1 :Float) :CanvasGradient;
+
+    /** <div id="section_31"><span id="Parameters_10"></span><h6 class="editable">Parameters</h6>
+<dl> <dt><code>image</code></dt> <dd>A DOM <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/element">element</a></code>
+ to use as the source image for the pattern. This can be any element, although typically you'll use an <code><a rel="internal" href="https://developer.mozilla.org/Article_not_found?uri=en/DOM/Image" class="new">Image</a></code>
+ or <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/canvas">&lt;canvas&gt;</a></code>
+.</dd> <dt><code>repetition</code></dt> <dd>?</dd>
+</dl>
+</div><div id="section_32"><span id="Return_value_3"></span><h6 class="editable">Return value</h6>
+<p>A new DOM canvas pattern object for use in pattern-based operations.</p>
+</div><div id="section_33"><span id="Exceptions_thrown"></span><h6 class="editable">Exceptions thrown</h6>
+<dl> <dt><code>NS_ERROR_DOM_INVALID_STATE_ERR</code> 
+<span title="(Firefox 10.0 / Thunderbird 10.0)
+">Requires Gecko 10.0</span>
+</dt> <dd>The specified <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/canvas">&lt;canvas&gt;</a></code>
+ element for the <code>image</code> parameter is zero-sized (that is, one or both of its dimensions are 0 pixels).</dd>
+</dl>
+</div> Throws DOMException. */
+    @:overload(function (canvas :CanvasElement, repetitionType :String) :CanvasPattern {})
+    function createPattern (image :ImageElement, repetitionType :String) :CanvasPattern;
+
+    function createRadialGradient (x0 :Float, y0 :Float, r0 :Float, x1 :Float, y1 :Float, r1 :Float) :CanvasGradient;
+
+    /** <p>Draws the specified image. This method is available in multiple formats, providing a great deal of flexibility in its use.</p>
+
+<div id="section_41"><span id="Parameters_13"></span><h6 class="editable">Parameters</h6>
+<dl> <dt><code>image</code></dt> <dd>An element to draw into the context; the specification permits any image element (that is, <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/img">&lt;img&gt;</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/canvas">&lt;canvas&gt;</a></code>
+, and <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/video">&lt;video&gt;</a></code>
+). Some browsers, including Firefox, let you use any arbitrary element.</dd> <dt><code>dx</code></dt> <dd>The X coordinate in the destination canvas at which to place the top-left corner of the source <code>image</code>.</dd> <dt><code>dy</code></dt> <dd>The Y coordinate in the destination canvas at which to place the top-left corner of the source <code>image</code>.</dd> <dt><code>dw</code></dt> <dd>The width to draw the <code>image</code> in the destination canvas. This allows scaling of the drawn image. If not specified, the image is not scaled in width when drawn.</dd> <dt><code>dh</code></dt> <dd>The height to draw the <code>image</code> in the destination canvas. This allows scaling of the drawn image. If not specified, the image is not scaled in height when drawn.</dd> <dt><code>sx</code></dt> <dd>The X coordinate of the top left corner of the sub-rectangle of the source image to draw into the destination context.</dd> <dt><code>sy</code></dt> <dd>The Y coordinate of the top left corner of the sub-rectangle of the source image to draw into the destination context.</dd> <dt><code>sw</code></dt> <dd>The width of the sub-rectangle of the source image to draw into the destination context. If not specified, the entire rectangle from the coordinates specified by <code>sx</code> and <code>sy</code> to the bottom-right corner of the image is used. If you specify a negative value, the image is flipped horizontally when drawn.</dd> <dt><code>sh</code></dt> <dd>The height of the sub-rectangle of the source image to draw into the destination context. If you specify a negative value, the image is flipped vertically when drawn.</dd>
+</dl>
+<p>The diagram below illustrates the meanings of the various parameters.</p>
+<p><img alt="drawImage.png" class="internal default" src="https://developer.mozilla.org/@api/deki/files/5494/=drawImage.png"></p>
+</div><div id="section_42"><span id="Exceptions_thrown_2"></span><h6 class="editable">Exceptions thrown</h6>
+<dl> <dt><code>INDEX_SIZE_ERR</code></dt> <dd>If the canvas or source rectangle width or height is zero.</dd> <dt><code>INVALID_STATE_ERR</code></dt> <dd>The image has no image data.</dd> <dt><code>TYPE_MISMATCH_ERR</code></dt> <dd>The specified source element isn't supported. This is not thrown by Firefox, since any element may be used as a source image.</dd>
+</dl>
+</div><div id="section_43"><span id="Compatibility_notes"></span><h6 class="editable">Compatibility notes</h6>
+<ul> <li>Prior to Gecko 7.0 (Firefox 7.0 / Thunderbird 7.0 / SeaMonkey 2.4)
+, Firefox threw an exception if any of the coordinate values was non-finite or zero. As per the specification, this no longer happens.</li> <li>Support for flipping the image by using negative values for <code>sw</code> and <code>sh</code> was added in Gecko 5.0 (Firefox 5.0 / Thunderbird 5.0 / SeaMonkey 2.2)
+.</li> <li>Gecko 9.0 (Firefox 9.0 / Thunderbird 9.0 / SeaMonkey 2.6)
+ now correctly supports CORS for drawing images across domains without <a title="en/CORS_Enabled_Image#What_is_a_.22tainted.22_canvas.3F" rel="internal" href="https://developer.mozilla.org/en/CORS_Enabled_Image#What_is_a_.22tainted.22_canvas.3F">tainting the canvas</a>.</li>
+</ul>
+</div> Throws DOMException. */
+    @:overload(function (image :ImageElement, x :Float, y :Float) :Void {})
+    @:overload(function (image :ImageElement, x :Float, y :Float, width :Float, height :Float) :Void {})
+    @:overload(function (image :ImageElement, sx :Float, sy :Float, sw :Float, sh :Float, dx :Float, dy :Float, dw :Float, dh :Float) :Void {})
+    @:overload(function (canvas :CanvasElement, x :Float, y :Float) :Void {})
+    @:overload(function (canvas :CanvasElement, x :Float, y :Float, width :Float, height :Float) :Void {})
+    @:overload(function (canvas :CanvasElement, sx :Float, sy :Float, sw :Float, sh :Float, dx :Float, dy :Float, dw :Float, dh :Float) :Void {})
+    @:overload(function (video :VideoElement, x :Float, y :Float) :Void {})
+    @:overload(function (video :VideoElement, x :Float, y :Float, width :Float, height :Float) :Void {})
+    function drawImage (video :VideoElement, sx :Float, sy :Float, sw :Float, sh :Float, dx :Float, dy :Float, dw :Float, dh :Float) :Void;
+
+    function drawImageFromRect (image :ImageElement, ?sx :Float, ?sy :Float, ?sw :Float, ?sh :Float, ?dx :Float, ?dy :Float, ?dw :Float, ?dh :Float, ?compositeOperation :String) :Void;
+
+    function fill () :Void;
+
+    function fillRect (x :Float, y :Float, width :Float, height :Float) :Void;
+
+    function fillText (text :String, x :Float, y :Float, ?maxWidth :Float) :Void;
+
+    function getImageData (sx :Float, sy :Float, sw :Float, sh :Float) :ImageData;
+
+    function getImageDataHD (sx :Float, sy :Float, sw :Float, sh :Float) :ImageData;
+
+    function getLineDash () :Array<Float>;
+
+    function isPointInPath (x :Float, y :Float) :Bool;
+
+    function lineTo (x :Float, y :Float) :Void;
+
+    function measureText (text :String) :TextMetrics;
+
+    function moveTo (x :Float, y :Float) :Void;
+
+    /** <h6 class="editable">Compatibility notes</h6>
+<ul> <li>Starting in Gecko 10.0 (Firefox 10.0 / Thunderbird 10.0)
+, non-finite values to any of these parameters causes the call to putImageData() to be silently ignored, rather than throwing an exception.</li>
+</ul> Throws DOMException. */
+    @:overload(function (imagedata :ImageData, dx :Float, dy :Float) :Void {})
+    function putImageData (imagedata :ImageData, dx :Float, dy :Float, dirtyX :Float, dirtyY :Float, dirtyWidth :Float, dirtyHeight :Float) :Void;
+
+    /** Throws DOMException. */
+    @:overload(function (imagedata :ImageData, dx :Float, dy :Float) :Void {})
+    function putImageDataHD (imagedata :ImageData, dx :Float, dy :Float, dirtyX :Float, dirtyY :Float, dirtyWidth :Float, dirtyHeight :Float) :Void;
+
+    function quadraticCurveTo (cpx :Float, cpy :Float, x :Float, y :Float) :Void;
+
+    function rect (x :Float, y :Float, width :Float, height :Float) :Void;
+
+    function restore () :Void;
+
+    function rotate (angle :Float) :Void;
+
+    function save () :Void;
+
+    function scale (sx :Float, sy :Float) :Void;
+
+    function setAlpha (alpha :Float) :Void;
+
+    function setCompositeOperation (compositeOperation :String) :Void;
+
+    @:overload(function (color :String, ?alpha :Float) :Void {})
+    @:overload(function (grayLevel :Float, ?alpha :Float) :Void {})
+    @:overload(function (r :Float, g :Float, b :Float, a :Float) :Void {})
+    function setFillColor (c :Float, m :Float, y :Float, k :Float, a :Float) :Void;
+
+    function setLineCap (cap :String) :Void;
+
+    function setLineDash (dash :Array<Float>) :Void;
+
+    function setLineJoin (join :String) :Void;
+
+    function setLineWidth (width :Float) :Void;
+
+    function setMiterLimit (limit :Float) :Void;
+
+    @:overload(function (width :Float, height :Float, blur :Float, ?color :String, ?alpha :Float) :Void {})
+    @:overload(function (width :Float, height :Float, blur :Float, grayLevel :Float, ?alpha :Float) :Void {})
+    @:overload(function (width :Float, height :Float, blur :Float, r :Float, g :Float, b :Float, a :Float) :Void {})
+    function setShadow (width :Float, height :Float, blur :Float, c :Float, m :Float, y :Float, k :Float, a :Float) :Void;
+
+    @:overload(function (color :String, ?alpha :Float) :Void {})
+    @:overload(function (grayLevel :Float, ?alpha :Float) :Void {})
+    @:overload(function (r :Float, g :Float, b :Float, a :Float) :Void {})
+    function setStrokeColor (c :Float, m :Float, y :Float, k :Float, a :Float) :Void;
+
+    function setTransform (m11 :Float, m12 :Float, m21 :Float, m22 :Float, dx :Float, dy :Float) :Void;
+
+    function stroke () :Void;
+
+    function strokeRect (x :Float, y :Float, width :Float, height :Float, ?lineWidth :Float) :Void;
+
+    function strokeText (text :String, x :Float, y :Float, ?maxWidth :Float) :Void;
+
+    function transform (m11 :Float, m12 :Float, m21 :Float, m22 :Float, dx :Float, dy :Float) :Void;
+
+    function translate (tx :Float, ty :Float) :Void;
+
+}

+ 48 - 0
std/js/html/CharacterData.hx

@@ -0,0 +1,48 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** <code><a title="En/DOM/Text" rel="internal" href="https://developer.mozilla.org/En/DOM/Text">Text</a></code>, <code><a title="En/DOM/Comment" rel="internal" href="https://developer.mozilla.org/En/DOM/Comment">Comment</a></code>, and <code><a title="en/DOM/CDATASection" rel="internal" href="https://developer.mozilla.org/en/DOM/CDATASection">CDATASection</a></code> all implement CharacterData, which in turn also implements <code><a class="internal" title="En/DOM/Node" rel="internal" href="https://developer.mozilla.org/en/DOM/Node">Node</a></code>. See <code>Node</code> for the remaining methods, properties, and constants.<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/En/DOM/CharacterData">MDN</a>. */
+@:native("CharacterData")
+extern class CharacterData extends Node
+{
+    /** Setter throws DOMException. */
+    var data :String;
+
+    var length (default,null) :Int;
+
+    function appendData (data :String) :Void;
+
+    function deleteData (offset :Int, length :Int) :Void;
+
+    function insertData (offset :Int, data :String) :Void;
+
+    function remove () :Void;
+
+    function replaceData (offset :Int, length :Int, data :String) :Void;
+
+    function substringData (offset :Int, length :Int) :String;
+
+}

+ 59 - 0
std/js/html/ClientRect.hx

@@ -0,0 +1,59 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** <div>
+
+<a rel="custom" href="http://mxr.mozilla.org/mozilla-central/source/dom/interfaces/base/nsIDOMClientRect.idl"><code>dom/interfaces/base/nsIDOMClientRect.idl</code></a><span><a rel="internal" href="https://developer.mozilla.org/en/Interfaces/About_Scriptable_Interfaces" title="en/Interfaces/About_Scriptable_Interfaces">Scriptable</a></span></div><span>Represents a rectangular box. The type of box is specified by the method that returns such an object. It is returned by functions like <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/element.getBoundingClientRect">element.getBoundingClientRect</a></code>
+.</span><div><div>1.0</div><div>11.0</div><div></div><div>Introduced</div><div>Gecko 1.9</div><div title="Introduced in Gecko 1.9 (Firefox 3)
+"></div><div title="Last changed in Gecko 1.9.1 (Firefox 3)
+"></div></div>
+<div>Inherits from: <code><a rel="custom" href="https://developer.mozilla.org/en/XPCOM_Interface_Reference/nsISupports">nsISupports</a></code>
+<span>Last changed in Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0)
+</span></div><br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/XPCOM_Interface_Reference/nsIDOMClientRect">MDN</a>. */
+@:native("ClientRect")
+extern class ClientRect
+{
+    /** Y-coordinate, relative to the viewport origin, of the bottom of the rectangle box. <strong>Read only.</strong> */
+    var bottom (default,null) :Float;
+
+    /** Height of the rectangle box (This is identical to <code>bottom</code> minus <code>top</code>). <strong>Read only.</strong> */
+    var height (default,null) :Float;
+
+    /** X-coordinate, relative to the viewport origin, of the left of the rectangle box. <strong>Read only.</strong> */
+    var left (default,null) :Float;
+
+    /** X-coordinate, relative to the viewport origin, of the right of the rectangle box. <strong>Read only.</strong> */
+    var right (default,null) :Float;
+
+    /** Y-coordinate, relative to the viewport origin, of the top of the rectangle box. <strong>Read only.</strong> */
+    var top (default,null) :Float;
+
+    /** Width of the rectangle box (This is identical to <code>right</code> minus <code>left</code>). <strong>Read only.</strong> 
+<span title="(Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0)
+">Requires Gecko 1.9.1</span> */
+    var width (default,null) :Float;
+
+}

+ 33 - 0
std/js/html/ClientRectList.hx

@@ -0,0 +1,33 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("ClientRectList")
+extern class ClientRectList implements ArrayAccess<ClientRect>
+{
+    var length (default,null) :Int;
+
+    function item (index :Int) :ClientRect;
+
+}

+ 53 - 0
std/js/html/Clipboard.hx

@@ -0,0 +1,53 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** <div>
+
+<a rel="custom" href="http://mxr.mozilla.org/mozilla-central/source/widget/public/nsIClipboard.idl"><code>widget/public/nsIClipboard.idl</code></a><span><a rel="internal" href="https://developer.mozilla.org/en/Interfaces/About_Scriptable_Interfaces" title="en/Interfaces/About_Scriptable_Interfaces">Scriptable</a></span></div><span>This interface supports basic clipboard operations such as: setting, retrieving, emptying, matching and supporting clipboard data.</span><div>Inherits from: <code><a rel="custom" href="https://developer.mozilla.org/en/XPCOM_Interface_Reference/nsISupports">nsISupports</a></code>
+<span>Last changed in Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0)
+</span></div><br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/XPCOM_Interface_Reference/nsIClipboard">MDN</a>. */
+@:native("Clipboard")
+extern class Clipboard
+{
+    var dropEffect :String;
+
+    var effectAllowed :String;
+
+    var files (default,null) :FileList;
+
+    var items (default,null) :DataTransferItemList;
+
+    var types (default,null) :Array<Dynamic>;
+
+    function clearData (?type :String) :Void;
+
+    function getData (type :String) :String;
+
+    function setData (type :String, data :String) :Bool;
+
+    function setDragImage (image :ImageElement, x :Int, y :Int) :Void;
+
+}

+ 42 - 0
std/js/html/CloseEvent.hx

@@ -0,0 +1,42 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** A <code>CloseEvent</code> is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the <code>WebSocket</code> object's <code>onclose</code> attribute.<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/WebSockets/WebSockets_reference/CloseEvent">MDN</a>. */
+@:native("CloseEvent")
+extern class CloseEvent extends Event
+{
+    /** The WebSocket connection close code provided by the server. See <a title="en/XPCOM_Interface_Reference/nsIWebSocketChannel#Status_codes" rel="internal" href="https://developer.mozilla.org/en/XPCOM_Interface_Reference/nsIWebSocketChannel#Status_codes">Status codes</a> for possible values. */
+    var code (default,null) :Int;
+
+    /** A string indicating the reason the server closed the connection. This is specific to the particular server and sub-protocol. */
+    var reason (default,null) :String;
+
+    /** Indicates whether or not the connection was cleanly closed. */
+    var wasClean (default,null) :Bool;
+
+    function new (type :String, canBubble :Bool = true, cancelable :Bool = true) :Void;
+
+}

+ 32 - 0
std/js/html/Comment.hx

@@ -0,0 +1,32 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** <p>A comment is used to add notations within markup; although it is generally not displayed, it is still available to be read in the source view (in Firefox:&nbsp;View -&gt; Page Source).&nbsp; These are represented in HTML and XML as content between <code>&lt;!--</code> and&nbsp; <code>--&gt; . </code>In XML, the character sequence "--" cannot be used within a comment.</p>
+<p>A comment has no special properties or methods of its own, but inherits those of <a title="En/DOM/CharacterData" rel="internal" href="https://developer.mozilla.org/En/DOM/CharacterData">CharacterData</a> (which inherits from <a title="en/DOM/Node" rel="internal" href="https://developer.mozilla.org/en/DOM/Node">Node</a>).</p><br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/Comment">MDN</a>. */
+@:native("Comment")
+extern class Comment extends CharacterData
+{
+}

+ 48 - 0
std/js/html/CompositionEvent.hx

@@ -0,0 +1,48 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** <div><div>
+
+<a rel="custom" href="http://mxr.mozilla.org/mozilla-central/source/dom/interfaces/events/nsIDOMCompositionEvent.idl"><code>dom/interfaces/events/nsIDOMCompositionEvent.idl</code></a><span><a rel="internal" href="https://developer.mozilla.org/en/Interfaces/About_Scriptable_Interfaces" title="en/Interfaces/About_Scriptable_Interfaces">Scriptable</a></span></div><span>An event interface for composition events</span><div><div>1.0</div><div>11.0</div><div></div><div>Introduced</div><div>Gecko 9.0</div><div title="Introduced in Gecko 9.0 (Firefox 9.0 / Thunderbird 9.0 / SeaMonkey 2.6)
+"></div><div title="Last changed in Gecko 9.0 (Firefox 9.0 / Thunderbird 9.0 / SeaMonkey 2.6)
+"></div></div>
+<div>Inherits from: <code><a rel="internal" href="https://developer.mozilla.org/Article_not_found?uri=en/XPCOM_Interface_Reference/nsIDOMUIEvent&amp;ident=nsIDOMUIEvent" class="new">nsIDOMUIEvent</a></code>
+<span>Last changed in Gecko 9.0 (Firefox 9.0 / Thunderbird 9.0 / SeaMonkey 2.6)
+</span></div></div>
+<p></p>
+<p>The DOM <code>CompositionEvent</code> represents events that occur due to the user indirectly entering text.</p><br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/CompositionEvent">MDN</a>. */
+@:native("CompositionEvent")
+extern class CompositionEvent extends UIEvent
+{
+    /** <p>For <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/DOM_event_reference/compositionstart">compositionstart</a></code>
+ events, this is the currently selected text that will be replaced by the string being composed. This value doesn't change even if content changes the selection range; rather, it indicates the string that was selected when composition started.</p> <p>For <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/DOM_event_reference/compositionupdate">compositionupdate</a></code>
+, this is the string as it stands currently as editing is ongoing.</p> <p>For <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/DOM_event_reference/compositionend">compositionend</a></code>
+ events, this is the string as committed to the editor.</p> <p><strong>Read only</strong>.</p> */
+    var data (default,null) :String;
+
+    function initCompositionEvent (typeArg :String, canBubbleArg :Bool, cancelableArg :Bool, viewArg :DOMWindow, dataArg :String) :Void;
+
+}

+ 78 - 0
std/js/html/Console.hx

@@ -0,0 +1,78 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** <p>Beginning with Firefox 4, the old <a title="en/Error Console" rel="internal" href="https://developer.mozilla.org/en/Error_Console">Error Console</a> has been deprecated in favor of the new, improved Web&nbsp;Console. The Web Console is something of a heads-up display for the web, letting you view error messages and other logged information. In addition, there are methods you can call to output information to the console, making it a useful debugging aid, and you can evaluate JavaScript on the fly.</p>
+<p><a title="webconsole.png" rel="internal" href="https://developer.mozilla.org/@api/deki/files/4748/=webconsole.png"><img alt="webconsole.png" class="internal default" src="https://developer.mozilla.org/@api/deki/files/4748/=webconsole.png"></a></p>
+<p>The Web Console won't replace more advanced debugging tools like <a class="external" title="http://getfirebug.com/" rel="external" href="http://getfirebug.com/" target="_blank">Firebug</a>; what it does give you, however, is a way to let remote users of your site or web application gather and report console logs and other information to you. It also provides a lightweight way to debug content if you don't happen to have Firebug installed when something goes wrong.</p>
+<div class="note"><strong>Note:</strong> The Error Console is still available; you can re-enable it by changing the <code>devtools.errorconsole.enabled</code> preference to <code>true</code> and restarting the browser.</div><br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/Using_the_Web_Console">MDN</a>. */
+@:native("Console")
+extern class Console
+{
+    var memory (default,null) :MemoryInfo;
+
+    var profiles (default,null) :Array<js.html.ScriptProfile>;
+
+    function assert (condition :Bool) :Void;
+
+    function clear () :Void;
+
+    function count () :Void;
+
+    function debug () :Void;
+
+    function dir () :Void;
+
+    function dirxml () :Void;
+
+    function error () :Void;
+
+    function group () :Void;
+
+    function groupCollapsed () :Void;
+
+    function groupEnd () :Void;
+
+    function info () :Void;
+
+    function log () :Void;
+
+    function markTimeline () :Void;
+
+    function profile (title :String) :Void;
+
+    function profileEnd (title :String) :Void;
+
+    function time (title :String) :Void;
+
+    function timeEnd (title :String) :Void;
+
+    function timeStamp () :Void;
+
+    function trace () :Void;
+
+    function warn () :Void;
+
+}

+ 35 - 0
std/js/html/ContentElement.hx

@@ -0,0 +1,35 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("HTMLContentElement")
+extern class ContentElement extends Element
+{
+    var resetStyleInheritance :Bool;
+
+    var select :String;
+
+    function getDistributedNodes () :NodeList;
+
+}

+ 43 - 0
std/js/html/Coordinates.hx

@@ -0,0 +1,43 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("Coordinates")
+extern class Coordinates
+{
+    var accuracy (default,null) :Float;
+
+    var altitude (default,null) :Float;
+
+    var altitudeAccuracy (default,null) :Float;
+
+    var heading (default,null) :Float;
+
+    var latitude (default,null) :Float;
+
+    var longitude (default,null) :Float;
+
+    var speed (default,null) :Float;
+
+}

+ 39 - 0
std/js/html/Counter.hx

@@ -0,0 +1,39 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** CSS counters are an implementation of <a class="external" rel="external" href="http://www.w3.org/TR/CSS21/generate.html#counters" title="http://www.w3.org/TR/CSS21/generate.html#counters" target="_blank">Automatic counters and numbering</a> in CSS 2.1. The value of a counter is manipulated through the use of <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/counter-reset">counter-reset</a></code>
+ and <code><a rel="custom" href="https://developer.mozilla.org/en/CSS/counter-increment">counter-increment</a></code>
+ and is displayed on a page using the <code>counter()</code> or <code>counters()</code> function of the <code><a title="en/CSS/content" rel="internal" href="https://developer.mozilla.org/en/CSS/content">content</a></code> property.<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/CSS_Counters">MDN</a>. */
+@:native("Counter")
+extern class Counter
+{
+    var identifier (default,null) :String;
+
+    var listStyle (default,null) :String;
+
+    var separator (default,null) :String;
+
+}

+ 33 - 0
std/js/html/Crypto.hx

@@ -0,0 +1,33 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** Non-standard<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/JavaScript_crypto">MDN</a>. */
+@:native("Crypto")
+extern class Crypto
+{
+    function getRandomValues (array :ArrayBufferView) :Void;
+
+}

+ 40 - 0
std/js/html/CustomEvent.hx

@@ -0,0 +1,40 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** The DOM <code>CustomEvent</code> are events initialized by an application for any purpose. It's represented by the <code><a rel="internal" href="https://developer.mozilla.org/Article_not_found?uri=en/XPCOM_Interface_Reference/nsIDOMCustomEvent&amp;ident=nsIDOMCustomEvent" class="new">nsIDOMCustomEvent</a></code>
+&nbsp;interface, which extends the <code><a rel="custom" href="https://developer.mozilla.org/en/XPCOM_Interface_Reference/nsIDOMEvent">nsIDOMEvent</a></code>
+ interface.<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/CustomEvent">MDN</a>. */
+@:native("CustomEvent")
+extern class CustomEvent extends Event
+{
+    /** The data passed when initializing the event. */
+    var detail (default,null) :Dynamic;
+
+    function new (type :String, canBubble :Bool = true, cancelable :Bool = true) :Void;
+
+    function initCustomEvent (typeArg :String, canBubbleArg :Bool, cancelableArg :Bool, detailArg :Dynamic) :Void;
+
+}

+ 35 - 0
std/js/html/DListElement.hx

@@ -0,0 +1,35 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** DOM&nbsp;definition list elements expose the <a title="http://www.w3.org/TR/html5/grouping-content.html#htmldlistelement" class=" external" rel="external nofollow" href="http://www.w3.org/TR/html5/grouping-content.html#htmldlistelement" target="_blank">HTMLDListElement</a> (or <span><a rel="custom nofollow" href="https://developer.mozilla.org/en/HTML">HTML 4</a></span> <a class=" external" rel="external nofollow" href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-52368974" title="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-52368974" target="_blank"><code>HTMLDListElement</code></a>) interface, which provides special properties (beyond the regular <a rel="internal" href="https://developer.mozilla.org/en/DOM/element">element</a> object interface they also have available to them by inheritance) for manipulating definition list elements. In 
+<span><a rel="custom" href="https://developer.mozilla.org/en/HTML/HTML5">HTML5</a></span>, this interface inherits from HTMLElement, but defines no additional members.<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/HTMLDListElement">MDN</a>. */
+@:native("HTMLDListElement")
+extern class DListElement extends Element
+{
+    /** Indicates that spacing between list items should be reduced. */
+    var compact :Bool;
+
+}

+ 65 - 0
std/js/html/DOMApplicationCache.hx

@@ -0,0 +1,65 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("DOMApplicationCache")
+extern class DOMApplicationCache extends EventTarget
+{
+    static inline var CHECKING :Int = 2;
+
+    static inline var DOWNLOADING :Int = 3;
+
+    static inline var IDLE :Int = 1;
+
+    static inline var OBSOLETE :Int = 5;
+
+    static inline var UNCACHED :Int = 0;
+
+    static inline var UPDATEREADY :Int = 4;
+
+    var oncached :EventListener;
+
+    var onchecking :EventListener;
+
+    var ondownloading :EventListener;
+
+    var onerror :EventListener;
+
+    var onnoupdate :EventListener;
+
+    var onobsolete :EventListener;
+
+    var onprogress :EventListener;
+
+    var onupdateready :EventListener;
+
+    var status (default,null) :Int;
+
+    function abort () :Void;
+
+    function swapCache () :Void;
+
+    function update () :Void;
+
+}

+ 87 - 0
std/js/html/DOMCoreException.hx

@@ -0,0 +1,87 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("DOMException")
+extern class DOMCoreException
+{
+    static inline var ABORT_ERR :Int = 20;
+
+    static inline var DATA_CLONE_ERR :Int = 25;
+
+    static inline var DOMSTRING_SIZE_ERR :Int = 2;
+
+    static inline var HIERARCHY_REQUEST_ERR :Int = 3;
+
+    static inline var INDEX_SIZE_ERR :Int = 1;
+
+    static inline var INUSE_ATTRIBUTE_ERR :Int = 10;
+
+    static inline var INVALID_ACCESS_ERR :Int = 15;
+
+    static inline var INVALID_CHARACTER_ERR :Int = 5;
+
+    static inline var INVALID_MODIFICATION_ERR :Int = 13;
+
+    static inline var INVALID_NODE_TYPE_ERR :Int = 24;
+
+    static inline var INVALID_STATE_ERR :Int = 11;
+
+    static inline var NAMESPACE_ERR :Int = 14;
+
+    static inline var NETWORK_ERR :Int = 19;
+
+    static inline var NOT_FOUND_ERR :Int = 8;
+
+    static inline var NOT_SUPPORTED_ERR :Int = 9;
+
+    static inline var NO_DATA_ALLOWED_ERR :Int = 6;
+
+    static inline var NO_MODIFICATION_ALLOWED_ERR :Int = 7;
+
+    static inline var QUOTA_EXCEEDED_ERR :Int = 22;
+
+    static inline var SECURITY_ERR :Int = 18;
+
+    static inline var SYNTAX_ERR :Int = 12;
+
+    static inline var TIMEOUT_ERR :Int = 23;
+
+    static inline var TYPE_MISMATCH_ERR :Int = 17;
+
+    static inline var URL_MISMATCH_ERR :Int = 21;
+
+    static inline var VALIDATION_ERR :Int = 16;
+
+    static inline var WRONG_DOCUMENT_ERR :Int = 4;
+
+    var code (default,null) :Int;
+
+    var message (default,null) :String;
+
+    var name (default,null) :String;
+
+    function toString () :String;
+
+}

+ 31 - 0
std/js/html/DOMError.hx

@@ -0,0 +1,31 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("DOMError")
+extern class DOMError
+{
+    var name (default,null) :String;
+
+}

+ 33 - 0
std/js/html/DOMFileSystem.hx

@@ -0,0 +1,33 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("DOMFileSystem")
+extern class DOMFileSystem
+{
+    var name (default,null) :String;
+
+    var root (default,null) :DirectoryEntry;
+
+}

+ 33 - 0
std/js/html/DOMFileSystemSync.hx

@@ -0,0 +1,33 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("DOMFileSystemSync")
+extern class DOMFileSystemSync
+{
+    var name (default,null) :String;
+
+    var root (default,null) :DirectoryEntrySync;
+
+}

+ 33 - 0
std/js/html/DOMFormData.hx

@@ -0,0 +1,33 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("FormData")
+extern class DOMFormData
+{
+    function new (?arg0 :Dynamic) :Void;
+
+    function append (name :String, value :String, filename :String) :Void;
+
+}

+ 41 - 0
std/js/html/DOMImplementation.hx

@@ -0,0 +1,41 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** Provides methods which are not dependent on any particular DOM instances. Returned by <code><a title="En/DOM/Document.implementation" class="internal" rel="internal" href="https://developer.mozilla.org/en/DOM/document.implementation">document.implementation</a></code>.<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/DOMImplementation">MDN</a>. */
+@:native("DOMImplementation")
+extern class DOMImplementation
+{
+    function createCSSStyleSheet (title :String, media :String) :CSSStyleSheet;
+
+    function createDocument (namespaceURI :String, qualifiedName :String, doctype :DocumentType) :Document;
+
+    function createDocumentType (qualifiedName :String, publicId :String, systemId :String) :DocumentType;
+
+    function createHTMLDocument (title :String) :Document;
+
+    function hasFeature (feature :String, version :String) :Bool;
+
+}

+ 37 - 0
std/js/html/DOMMimeType.hx

@@ -0,0 +1,37 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("MimeType")
+extern class DOMMimeType
+{
+    var description (default,null) :String;
+
+    var enabledPlugin (default,null) :DOMPlugin;
+
+    var suffixes (default,null) :String;
+
+    var type (default,null) :String;
+
+}

+ 35 - 0
std/js/html/DOMMimeTypeArray.hx

@@ -0,0 +1,35 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("MimeTypeArray")
+extern class DOMMimeTypeArray implements ArrayAccess<DOMMimeType>
+{
+    var length (default,null) :Int;
+
+    function item (index :Int) :DOMMimeType;
+
+    function namedItem (name :String) :DOMMimeType;
+
+}

+ 35 - 0
std/js/html/DOMParser.hx

@@ -0,0 +1,35 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** This page redirects to a page that no longer exists <a rel="internal" class="new" href="https://developer.mozilla.org/en/Document_Object_Model_(DOM)/DOMParser">en/Document_Object_Model_(DOM)/DOMParser</a>.<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOMParser">MDN</a>. */
+@:native("DOMParser")
+extern class DOMParser
+{
+    function new () :Void;
+
+    function parseFromString (str :String, contentType :String) :Document;
+
+}

+ 46 - 0
std/js/html/DOMPlugin.hx

@@ -0,0 +1,46 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** The <code>Plugin</code> interface provides information about a browser plugin.<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/Plugin">MDN</a>. */
+@:native("Plugin")
+extern class DOMPlugin implements ArrayAccess<DOMMimeType>
+{
+    /** A human readable description of the plugin. <strong>Read only.</strong> */
+    var description (default,null) :String;
+
+    /** The filename of the plugin file. <strong>Read only.</strong> */
+    var filename (default,null) :String;
+
+    var length (default,null) :Int;
+
+    /** The name of the plugin. <strong>Read only.</strong> */
+    var name (default,null) :String;
+
+    function item (index :Int) :DOMMimeType;
+
+    function namedItem (name :String) :DOMMimeType;
+
+}

+ 37 - 0
std/js/html/DOMPluginArray.hx

@@ -0,0 +1,37 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("PluginArray")
+extern class DOMPluginArray implements ArrayAccess<DOMPlugin>
+{
+    var length (default,null) :Int;
+
+    function item (index :Int) :DOMPlugin;
+
+    function namedItem (name :String) :DOMPlugin;
+
+    function refresh (reload :Bool) :Void;
+
+}

+ 109 - 0
std/js/html/DOMSelection.hx

@@ -0,0 +1,109 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** <p>Selection is the class of the object returned by <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/window.getSelection">window.getSelection()</a></code>
+ and other methods. It represents the text selection in the greater page, possibly spanning multiple elements, when the user drags over static text and other parts of the page. For information about text selection in an individual text editing element, see <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/HTMLInputElement">Input</a></code>
+, <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/HTMLTextAreaElement">TextArea</a></code>
+ and <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/document.activeElement">document.activeElement</a></code>
+ which typically return the parent object returned from <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/window.getSelection">window.getSelection()</a></code>
+.</p>
+<p>A selection object represents the <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/range">ranges</a></code>
+ that the user has selected. Typically, it holds only one range, accessed as follows:</p>
+
+          <pre name="code" class="js">var selObj = window.getSelection();
+var range  = selObj.getRangeAt(0);</pre>
+        
+<ul> <li><code>selObj</code> is a Selection object</li> <li><code>range</code> is a <a title="en/DOM/Range" rel="internal" href="https://developer.mozilla.org/en/DOM/range">Range</a> object</li>
+</ul>
+<p>Calling the <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/Selection/toString">Selection/toString()</a></code>
+ method returns the text contained in the selection, e.g</p>
+
+          <pre name="code" class="js">var selObj = window.getSelection();
+window.alert(selObj);</pre>
+        
+<p>Note that using a selection object as the argument to <code>window.alert</code> will call the object's <code>toString</code> method.</p><br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/Selection">MDN</a>. */
+@:native("Selection")
+extern class DOMSelection
+{
+    /** Returns the node in which the selection begins. */
+    var anchorNode (default,null) :Node;
+
+    /** Returns the number of characters that the selection's anchor is offset within the anchorNode. */
+    var anchorOffset (default,null) :Int;
+
+    var baseNode (default,null) :Node;
+
+    var baseOffset (default,null) :Int;
+
+    var extentNode (default,null) :Node;
+
+    var extentOffset (default,null) :Int;
+
+    /** Returns the node in which the selection ends. */
+    var focusNode (default,null) :Node;
+
+    /** Returns the number of characters that the selection's focus is offset within the focusNode. */
+    var focusOffset (default,null) :Int;
+
+    /** Returns a Boolean indicating whether the selection's start and end points are at the same position. */
+    var isCollapsed (default,null) :Bool;
+
+    /** Returns the number of ranges in the selection. */
+    var rangeCount (default,null) :Int;
+
+    var type (default,null) :String;
+
+    function addRange (range :Range) :Void;
+
+    function collapse (node :Node, index :Int) :Void;
+
+    function collapseToEnd () :Void;
+
+    function collapseToStart () :Void;
+
+    function containsNode (node :Node, allowPartial :Bool) :Bool;
+
+    function deleteFromDocument () :Void;
+
+    function empty () :Void;
+
+    function extend (node :Node, offset :Int) :Void;
+
+    function getRangeAt (index :Int) :Range;
+
+    function modify (alter :String, direction :String, granularity :String) :Void;
+
+    function removeAllRanges () :Void;
+
+    function selectAllChildren (node :Node) :Void;
+
+    function setBaseAndExtent (baseNode :Node, baseOffset :Int, extentNode :Node, extentOffset :Int) :Void;
+
+    function setPosition (node :Node, offset :Int) :Void;
+
+    function toString () :String;
+
+}

+ 31 - 0
std/js/html/DOMSettableTokenList.hx

@@ -0,0 +1,31 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("DOMSettableTokenList")
+extern class DOMSettableTokenList extends DOMTokenList
+{
+    var value :String;
+
+}

+ 35 - 0
std/js/html/DOMStringList.hx

@@ -0,0 +1,35 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("DOMStringList")
+extern class DOMStringList implements ArrayAccess<String>
+{
+    var length (default,null) :Int;
+
+    function contains (string :String) :Bool;
+
+    function item (index :Int) :String;
+
+}

+ 29 - 0
std/js/html/DOMStringMap.hx

@@ -0,0 +1,29 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("DOMStringMap")
+extern class DOMStringMap
+{
+}

+ 46 - 0
std/js/html/DOMTokenList.hx

@@ -0,0 +1,46 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** This type represents a set of space-separated tokens. Commonly returned by <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/element.classList">HTMLElement.classList</a></code>
+, HTMLLinkElement.relList, HTMLAnchorElement.relList or HTMLAreaElement.relList. It is indexed beginning with 0 as with JavaScript arrays. DOMTokenList is always case-sensitive.<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/DOMTokenList">MDN</a>. */
+@:native("DOMTokenList")
+extern class DOMTokenList implements ArrayAccess<String>
+{
+    var length (default,null) :Int;
+
+    function add (tokens :String) :Void;
+
+    function contains (token :String) :Bool;
+
+    function item (index :Int) :String;
+
+    function remove (tokens :String) :Void;
+
+    function toString () :String;
+
+    function toggle (token :String, ?force :Bool) :Bool;
+
+}

+ 37 - 0
std/js/html/DOMURL.hx

@@ -0,0 +1,37 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("URL")
+extern class DOMURL
+{
+    function new () :Void;
+
+    @:overload(function (source :MediaSource) :String {})
+    @:overload(function (stream :MediaStream) :String {})
+    static function createObjectURL (blob :Blob) :String;
+
+    static function revokeObjectURL (url :String) :Void;
+
+}

+ 444 - 0
std/js/html/DOMWindow.hx

@@ -0,0 +1,444 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** <p>This section provides a brief reference for all of the methods, properties, and events available through the DOM <code>window</code> object. The <code>window</code> object implements the <code>Window</code> interface, which in turn inherits from the <code><a class="external" rel="external" href="http://www.w3.org/TR/DOM-Level-2-Views/views.html#Views-AbstractView" title="http://www.w3.org/TR/DOM-Level-2-Views/views.html#Views-AbstractView" target="_blank">AbstractView</a></code> interface. Some additional global functions, namespaces objects, and constructors, not typically associated with the window, but available on it, are listed in the <a title="https://developer.mozilla.org/en/JavaScript/Reference" rel="internal" href="https://developer.mozilla.org/en/JavaScript/Reference">JavaScript Reference</a>.</p>
+<p>The <code>window</code> object represents the window itself. The <code>document</code> property of a <code>window</code> points to the <a title="en/DOM/document" rel="internal" href="https://developer.mozilla.org/en/DOM/document">DOM document</a> loaded in that window. A window for a given document can be obtained using the <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/document.defaultView">document.defaultView</a></code>
+ property.</p>
+<p>In a tabbed browser, such as Firefox, each tab contains its own <code>window</code> object (and if you're writing an extension, the browser window itself is a separate window too - see <a title="en/Working_with_windows_in_chrome_code#Content_windows" rel="internal" href="https://developer.mozilla.org/en/Working_with_windows_in_chrome_code#Content_windows">Working with windows in chrome code</a> for more information). That is, the <code>window</code> object is not shared between tabs in the same window. Some methods, namely <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/window.resizeTo">window.resizeTo</a></code>
+ and <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/window.resizeBy">window.resizeBy</a></code>
+ apply to the whole window and not to the specific tab the <code>window</code> object belongs to. Generally, anything that can't reasonably pertain to a tab pertains to the window instead.</p><br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/window">MDN</a>. */
+@:native("Window")
+extern class DOMWindow extends EventTarget
+{
+    static inline var PERSISTENT :Int = 1;
+
+    static inline var TEMPORARY :Int = 0;
+
+    /** An <code><a rel="custom" href="https://developer.mozilla.org/en/nsIDOMOfflineResourceList">nsIDOMOfflineResourceList</a></code>
+ object providing access to the offline resources for the window. */
+    var applicationCache (default,null) :DOMApplicationCache;
+
+    var clientInformation (default,null) :Navigator;
+
+    /** <dd>This property indicates whether the current window is closed or not.</dd> <dt><a title="en/Components_object" rel="internal" href="https://developer.mozilla.org/en/Components_object">window.Components</a></dt> <dd>The entry point to many <a title="en/XPCOM" rel="internal" href="https://developer.mozilla.org/en/XPCOM">XPCOM</a> features. Some properties, e.g. <a title="en/Components.classes" rel="internal" href="https://developer.mozilla.org/en/Components.classes">classes</a>, are only available to sufficiently privileged code.</dd> */
+    var closed (default,null) :Bool;
+
+    var console (default,null) :Console;
+
+    /** Returns the browser crypto object. */
+    var crypto (default,null) :Crypto;
+
+    /** Gets/sets the status bar text for the given window. */
+    var defaultStatus :String;
+
+    var defaultstatus :String;
+
+    var devicePixelRatio (default,null) :Float;
+
+    /** Returns a reference to the document that the window contains. */
+    var document (default,null) :Document;
+
+    var event (default,null) :Event;
+
+    /** Returns the element in which the window is embedded, or null if the window is not embedded. */
+    var frameElement (default,null) :Element;
+
+    /** Returns an array of the subframes in the current window. */
+    var frames (default,null) :DOMWindow;
+
+    /** Returns a reference to the history object. */
+    var history (default,null) :History;
+
+    var indexedDB (default,null) :js.html.idb.Factory;
+
+    /** Gets the height of the content area of the browser window including, if rendered, the horizontal scrollbar. */
+    var innerHeight (default,null) :Int;
+
+    /** Gets the width of the content area of the browser window including, if rendered, the vertical scrollbar. */
+    var innerWidth (default,null) :Int;
+
+    /** Returns the number of frames in the window. See also <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/window.frames">window.frames</a></code>
+. */
+    var length (default,null) :Int;
+
+    /** Returns a reference to the local storage object used to store data that may only be accessed by the origin that created it. Getter throws DOMException. */
+    var localStorage (default,null) :Storage;
+
+    /** Gets/sets the location, or current URL, of the window object. */
+    var location :Location;
+
+    /** Returns the locationbar object, whose visibility can be toggled in the window. */
+    var locationbar (default,null) :BarInfo;
+
+    /** Returns the menubar object, whose visibility can be toggled in the window. */
+    var menubar (default,null) :BarInfo;
+
+    /** Gets/sets the name of the window. */
+    var name :String;
+
+    /** Returns a reference to the navigator object. */
+    var navigator (default,null) :Navigator;
+
+    var notifications (default,null) :NotificationCenter;
+
+    var offscreenBuffering (default,null) :Bool;
+
+    /** An event handler property for abort events on the window. */
+    var onabort :EventListener;
+
+    var onanimationend :EventListener;
+
+    var onanimationiteration :EventListener;
+
+    var onanimationstart :EventListener;
+
+    /** An event handler property for before-unload events on the window. */
+    var onbeforeunload :EventListener;
+
+    /** An event handler property for blur events on the window. */
+    var onblur :EventListener;
+
+    var oncanplay :EventListener;
+
+    var oncanplaythrough :EventListener;
+
+    /** An event handler property for change events on the window. */
+    var onchange :EventListener;
+
+    /** An event handler property for click events on the window. */
+    var onclick :EventListener;
+
+    /** An event handler property for right-click events on the window. */
+    var oncontextmenu :EventListener;
+
+    var ondblclick :EventListener;
+
+    var ondevicemotion :EventListener;
+
+    var ondeviceorientation :EventListener;
+
+    var ondrag :EventListener;
+
+    var ondragend :EventListener;
+
+    var ondragenter :EventListener;
+
+    var ondragleave :EventListener;
+
+    var ondragover :EventListener;
+
+    var ondragstart :EventListener;
+
+    var ondrop :EventListener;
+
+    var ondurationchange :EventListener;
+
+    var onemptied :EventListener;
+
+    var onended :EventListener;
+
+    /** An event handler property for errors raised on the window. */
+    var onerror :EventListener;
+
+    /** An event handler property for focus events on the window. */
+    var onfocus :EventListener;
+
+    /** An event handler property for hash change events on the window; called when the part of the URL after the hash mark ("#") changes. */
+    var onhashchange :EventListener;
+
+    var oninput :EventListener;
+
+    var oninvalid :EventListener;
+
+    /** An event handler property for keydown events on the window. */
+    var onkeydown :EventListener;
+
+    /** An event handler property for keypress events on the window. */
+    var onkeypress :EventListener;
+
+    /** An event handler property for keyup events on the window. */
+    var onkeyup :EventListener;
+
+    /** An event handler property for window loading. */
+    var onload :EventListener;
+
+    var onloadeddata :EventListener;
+
+    var onloadedmetadata :EventListener;
+
+    var onloadstart :EventListener;
+
+    var onmessage :EventListener;
+
+    /** An event handler property for mousedown events on the window. */
+    var onmousedown :EventListener;
+
+    /** An event handler property for mousemove events on the window. */
+    var onmousemove :EventListener;
+
+    /** An event handler property for mouseout events on the window. */
+    var onmouseout :EventListener;
+
+    /** An event handler property for mouseover events on the window. */
+    var onmouseover :EventListener;
+
+    /** An event handler property for mouseup events on the window. */
+    var onmouseup :EventListener;
+
+    var onmousewheel :EventListener;
+
+    var onoffline :EventListener;
+
+    var ononline :EventListener;
+
+    /** An event handler property for pagehide events on the window. */
+    var onpagehide :EventListener;
+
+    /** An event handler property for pageshow events on the window. */
+    var onpageshow :EventListener;
+
+    var onpause :EventListener;
+
+    var onplay :EventListener;
+
+    var onplaying :EventListener;
+
+    /** An event handler property for popstate events, which are fired when navigating to a session history entry representing a state object. */
+    var onpopstate :EventListener;
+
+    var onprogress :EventListener;
+
+    var onratechange :EventListener;
+
+    /** An event handler property for reset events on the window. */
+    var onreset :EventListener;
+
+    /** An event handler property for window resizing. */
+    var onresize :EventListener;
+
+    /** An event handler property for window scrolling. */
+    var onscroll :EventListener;
+
+    var onsearch :EventListener;
+
+    var onseeked :EventListener;
+
+    var onseeking :EventListener;
+
+    /** An event handler property for window selection. */
+    var onselect :EventListener;
+
+    var onstalled :EventListener;
+
+    var onstorage :EventListener;
+
+    /** An event handler property for submits on window forms. */
+    var onsubmit :EventListener;
+
+    var onsuspend :EventListener;
+
+    var ontimeupdate :EventListener;
+
+    var ontouchcancel :EventListener;
+
+    var ontouchend :EventListener;
+
+    var ontouchmove :EventListener;
+
+    var ontouchstart :EventListener;
+
+    var ontransitionend :EventListener;
+
+    /** An event handler property for unload events on the window. */
+    var onunload :EventListener;
+
+    var onvolumechange :EventListener;
+
+    var onwaiting :EventListener;
+
+    /** Returns a reference to the window that opened this current window. */
+    var opener (default,null) :DOMWindow;
+
+    /** Gets the height of the outside of the browser window. */
+    var outerHeight (default,null) :Int;
+
+    /** Gets the width of the outside of the browser window. */
+    var outerWidth (default,null) :Int;
+
+    var pagePopupController (default,null) :PagePopupController;
+
+    /** An alias for <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/window.scrollX">window.scrollX</a></code>
+. */
+    var pageXOffset (default,null) :Int;
+
+    /** An alias for <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/window.scrollY">window.scrollY</a></code> */
+    var pageYOffset (default,null) :Int;
+
+    /** Returns a reference to the parent of the current window or subframe. */
+    var parent (default,null) :DOMWindow;
+
+    var performance (default,null) :Performance;
+
+    /** Returns the personalbar object, whose visibility can be toggled in the window. */
+    var personalbar (default,null) :BarInfo;
+
+    /** Returns a reference to the screen object associated with the window. */
+    var screen (default,null) :Screen;
+
+    var screenLeft (default,null) :Int;
+
+    var screenTop (default,null) :Int;
+
+    /** Returns the horizontal distance of the left border of the user's browser from the left side of the screen. */
+    var screenX (default,null) :Int;
+
+    /** Returns the vertical distance of the top border of the user's browser from the top side of the screen. */
+    var screenY (default,null) :Int;
+
+    /** Returns the number of pixels that the document has already been scrolled horizontally. */
+    var scrollX (default,null) :Int;
+
+    /** Returns the number of pixels that the document has already been scrolled vertically. */
+    var scrollY (default,null) :Int;
+
+    /** Returns the scrollbars object, whose visibility can be toggled in the window. */
+    var scrollbars (default,null) :BarInfo;
+
+    /** Returns an object reference to the window object itself. */
+    var self (default,null) :DOMWindow;
+
+    /** A storage object for storing data within a single page session. Getter throws DOMException. */
+    var sessionStorage (default,null) :Storage;
+
+    /** Gets/sets the text in the statusbar at the bottom of the browser. */
+    var status :String;
+
+    /** Returns the statusbar object, whose visibility can be toggled in the window. */
+    var statusbar (default,null) :BarInfo;
+
+    var storageInfo (default,null) :StorageInfo;
+
+    var styleMedia (default,null) :StyleMedia;
+
+    /** Returns the toolbar object, whose visibility can be toggled in the window. */
+    var toolbar (default,null) :BarInfo;
+
+    /** <dd>Returns a reference to the topmost window in the window hierarchy. This property is read only.</dd> <dt><code><a rel="custom" href="https://developer.mozilla.org/en/DOM/window.URL">window.URL</a></code>
+ 
+<span title="(Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)
+">Requires Gecko 2.0</span>
+</dt> <dd>A DOM&nbsp;URL&nbsp;object, which provides the <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/window.URL.createObjectURL">window.URL.createObjectURL()</a></code>
+ and <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/window.URL.revokeObjectURL">window.URL.revokeObjectURL()</a></code>
+ methods.</dd> */
+    var top (default,null) :DOMWindow;
+
+    /** <dd>Returns a reference to the current window.</dd> <dt>window[0], window[1], etc.</dt> <dd>Returns a reference to the <code>window</code> object in the frames. See <code><a rel="custom" href="https://developer.mozilla.org/en/DOM/window.frames">window.frames</a></code>
+ for more details.</dd> */
+    var window (default,null) :DOMWindow;
+
+    function alert (message :String) :Void;
+
+    function atob (string :String) :String;
+
+    function blur () :Void;
+
+    function btoa (string :String) :String;
+
+    @:overload(function (id :Int) :Void {})
+    function cancelAnimationFrame (id :Int) :Void;
+
+    function cancelRequestAnimationFrame (id :Int) :Void;
+
+    function captureEvents () :Void;
+
+    function clearInterval (handle :Int) :Void;
+
+    function clearTimeout (handle :Int) :Void;
+
+    function close () :Void;
+
+    function confirm (message :String) :Bool;
+
+    function convertPointFromNodeToPage (node :Node, p :Point) :Point;
+
+    function convertPointFromPageToNode (node :Node, p :Point) :Point;
+
+    function find (string :String, caseSensitive :Bool, backwards :Bool, wrap :Bool, wholeWord :Bool, searchInFrames :Bool, showDialog :Bool) :Bool;
+
+    function focus () :Void;
+
+    function getComputedStyle (element :Element, pseudoElement :String) :CSSStyleDeclaration;
+
+    function getMatchedCSSRules (element :Element, pseudoElement :String) :CSSRuleList;
+
+    function getSelection () :DOMSelection;
+
+    function matchMedia (query :String) :MediaQueryList;
+
+    function moveBy (x :Float, y :Float) :Void;
+
+    function moveTo (x :Float, y :Float) :Void;
+
+    function open (url :String, name :String, ?options :String) :DOMWindow;
+
+    function openDatabase (name :String, version :String, displayName :String, estimatedSize :Int, ?creationCallback :DatabaseCallback) :Database;
+
+    /** Provides a secure means for one window to send a string of data to another window, which need not be within the same domain as the first, in a secure manner. Throws DOMException. */
+    @:overload(function (message :Dynamic, targetOrigin :String) :Void {})
+    function postMessage (message :Dynamic, targetOrigin :String, messagePorts :Array<Dynamic>) :Void;
+
+    function print () :Void;
+
+    function prompt (message :String, defaultValue :String) :String;
+
+    function releaseEvents () :Void;
+
+    @:overload(function (callback_ :RequestAnimationFrameCallback) :Int {})
+    function requestAnimationFrame (callback_ :RequestAnimationFrameCallback) :Int;
+
+    function requestFileSystem (type :Int, size :Int, successCallback :FileSystemCallback, ?errorCallback :ErrorCallback) :Void;
+
+    function resizeBy (x :Float, y :Float) :Void;
+
+    function resizeTo (width :Float, height :Float) :Void;
+
+    function resolveLocalFileSystemURL (url :String, successCallback :EntryCallback, ?errorCallback :ErrorCallback) :Void;
+
+    function scroll (x :Int, y :Int) :Void;
+
+    function scrollBy (x :Int, y :Int) :Void;
+
+    function scrollTo (x :Int, y :Int) :Void;
+
+    function setInterval (handler :Void->Void, timeout :Int) :Int;
+
+    function setTimeout (handler :Void->Void, timeout :Int) :Int;
+
+    function showModalDialog (url :String, ?dialogArgs :Dynamic, ?featureArgs :String) :Dynamic;
+
+    function stop () :Void;
+
+}

+ 35 - 0
std/js/html/DataListElement.hx

@@ -0,0 +1,35 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** DOM Datalist objects expose the <a class=" external" title="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#the-datalist-element" rel="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#the-datalist-element" target="_blank">HTMLDataListElement</a> interface, which provides special properties (beyond the <a href="https://developer.mozilla.org/en/DOM/element" rel="internal">element</a> object interface they also have available to them by inheritance) to manipulate <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/datalist">&lt;datalist&gt;</a></code>
+ elements and their content.<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/HTMLDataListElement">MDN</a>. */
+@:native("HTMLDataListElement")
+extern class DataListElement extends Element
+{
+    /** A collection of the contained option elements. */
+    var options (default,null) :HTMLCollection;
+
+}

+ 39 - 0
std/js/html/DataTransferItem.hx

@@ -0,0 +1,39 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("DataTransferItem")
+extern class DataTransferItem
+{
+    var kind (default,null) :String;
+
+    var type (default,null) :String;
+
+    function getAsEntry () :Entry;
+
+    function getAsFile () :Blob;
+
+    function getAsString (callback_ :StringCallback) :Void;
+
+}

+ 38 - 0
std/js/html/DataTransferItemList.hx

@@ -0,0 +1,38 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("DataTransferItemList")
+extern class DataTransferItemList implements ArrayAccess<DataTransferItem>
+{
+    var length (default,null) :Int;
+
+    @:overload(function (file :File) :Void {})
+    function add (data :String, type :String) :Void;
+
+    function clear () :Void;
+
+    function item (index :Int) :DataTransferItem;
+
+}

+ 92 - 0
std/js/html/DataView.hx

@@ -0,0 +1,92 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** <div><strong>DRAFT</strong>
+<div>This page is not complete.</div>
+</div>
+
+<p></p>
+<div class="note"><strong>Note:</strong> <code>DataView</code> is not yet implemented in Gecko. It is implemented in Chrome 9.</div>
+<p>An <code>ArrayBuffer</code> is a useful object for representing an arbitrary chunk of data. In many cases, such data will be read from disk or from the network, and will not follow the alignment restrictions that are imposed on the <a title="en/JavaScript_typed_arrays/ArrayBufferView" rel="internal" href="https://developer.mozilla.org/en/JavaScript_typed_arrays/ArrayBufferView">Typed Array Views</a> described earlier. In addition, the data will often be heterogeneous in nature and have a defined byte order.</p>
+<p>The <code>DataView</code> view provides a low-level interface for reading such data from and writing it to an <code><a title="en/JavaScript_typed_arrays/ArrayBuffer" rel="internal" href="https://developer.mozilla.org/en/JavaScript_typed_arrays/ArrayBuffer">ArrayBuffer</a></code>.</p><br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/JavaScript_typed_arrays/DataView">MDN</a>. */
+@:native("DataView")
+extern class DataView extends ArrayBufferView
+{
+    /** DataView DataView(<a title="en/JavaScript_typed_arrays/ArrayBuffer" rel="internal" href="https://developer.mozilla.org/en/JavaScript_typed_arrays/ArrayBuffer">ArrayBuffer</a> buffer, optional unsigned long byteOffset, optional unsigned long byteLength);<p>Returns a new <code>DataView</code> object using the passed <a title="en/JavaScript_typed_arrays/ArrayBuffer" rel="internal" href="https://developer.mozilla.org/en/JavaScript_typed_arrays/ArrayBuffer">ArrayBuffer</a> for its storage.</p>
+<pre>DataView DataView(
+&nbsp; ArrayBuffer buffer,
+&nbsp; optional unsigned long byteOffset,
+&nbsp; optional unsigned long byteLength
+);
+</pre>
+<div id="section_6"><span id="Parameters"></span><h6 class="editable">Parameters</h6>
+<dl> <dt><code>buffer</code></dt> <dd>An existing <a title="en/JavaScript_typed_arrays/ArrayBuffer" rel="internal" href="https://developer.mozilla.org/en/JavaScript_typed_arrays/ArrayBuffer"><code>ArrayBuffer</code></a> to use as the storage for the new <code>DataView</code> object.</dd> <dt><code>byteOffset</code> 
+<span title="">Optional</span>
+</dt> <dd>The offset, in bytes, to the first byte in the specified buffer for the new view to reference. If not specified, the view of the buffer will start with the first byte.</dd> <dt><code>byteLength</code> 
+<span title="">Optional</span>
+</dt> <dd>The number of elements in the byte array. If unspecified, length of the view will match the buffer's length.</dd>
+</dl>
+</div><div id="section_7"><span id="Return_value"></span><h6 class="editable">Return value</h6>
+<p>A new <code>DataView</code> object representing the specified data buffer.</p>
+</div><div id="section_8"><span id="Exceptions_thrown"></span><h6 class="editable">Exceptions thrown</h6>
+<dl> <dt><code>INDEX_SIZE_ERR</code></dt> <dd>The <code>byteOffset</code> and <code>byteLength</code> result in the specified view extending past the end of the buffer.</dd>
+</dl>
+</div> */
+    function new (?arg0 :Dynamic, ?arg1 :Dynamic, ?arg2 :Dynamic) :Void;
+
+    function getFloat32 (byteOffset :Int, ?littleEndian :Bool) :Float;
+
+    function getFloat64 (byteOffset :Int, ?littleEndian :Bool) :Float;
+
+    function getInt16 (byteOffset :Int, ?littleEndian :Bool) :Int;
+
+    function getInt32 (byteOffset :Int, ?littleEndian :Bool) :Int;
+
+    function getInt8 () :Dynamic;
+
+    function getUint16 (byteOffset :Int, ?littleEndian :Bool) :Int;
+
+    function getUint32 (byteOffset :Int, ?littleEndian :Bool) :Int;
+
+    function getUint8 () :Dynamic;
+
+    function setFloat32 (byteOffset :Int, value :Float, ?littleEndian :Bool) :Void;
+
+    function setFloat64 (byteOffset :Int, value :Float, ?littleEndian :Bool) :Void;
+
+    function setInt16 (byteOffset :Int, value :Int, ?littleEndian :Bool) :Void;
+
+    function setInt32 (byteOffset :Int, value :Int, ?littleEndian :Bool) :Void;
+
+    function setInt8 () :Void;
+
+    function setUint16 (byteOffset :Int, value :Int, ?littleEndian :Bool) :Void;
+
+    function setUint32 (byteOffset :Int, value :Int, ?littleEndian :Bool) :Void;
+
+    function setUint8 () :Void;
+
+}

+ 42 - 0
std/js/html/Database.hx

@@ -0,0 +1,42 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** <div><p>This content covers features introduced in <a rel="custom" href="https://developer.mozilla.org/en/Firefox_3_for_developers">Firefox 3</a>.</p></div>
+<p></p>
+<p>This document provides a high-level overview of the overall database design of the <a title="en/Places" rel="internal" href="https://developer.mozilla.org/en/Places">Places</a> system. Places is designed to be a complete replacement for the Firefox bookmarks and history systems using <a title="en/Storage" rel="internal" href="https://developer.mozilla.org/en/Storage">Storage.</a></p>
+<p>View the <a class=" external" rel="external" href="http://people.mozilla.org/~dietrich/places-erd.png" title="http://people.mozilla.org/~dietrich/places-erd.png" target="_blank">schema diagram</a>.</p><br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/The_Places_database">MDN</a>. */
+@:native("Database")
+extern class Database
+{
+    var version (default,null) :String;
+
+    function changeVersion (oldVersion :String, newVersion :String, ?callback_ :SQLTransactionCallback, ?errorCallback :SQLTransactionErrorCallback, ?successCallback :VoidCallback) :Void;
+
+    function readTransaction (callback_ :SQLTransactionCallback, ?errorCallback :SQLTransactionErrorCallback, ?successCallback :VoidCallback) :Void;
+
+    function transaction (callback_ :SQLTransactionCallback, ?errorCallback :SQLTransactionErrorCallback, ?successCallback :VoidCallback) :Void;
+
+}

+ 26 - 0
std/js/html/DatabaseCallback.hx

@@ -0,0 +1,26 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+typedef DatabaseCallback = Database -> Bool;

+ 47 - 0
std/js/html/DatabaseSync.hx

@@ -0,0 +1,47 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** <div><strong>DRAFT</strong>
+<div>This page is not complete.</div>
+</div>
+
+<p></p>
+<p>The <code>DatabaseSync</code> interface in the <a title="en/IndexedDB" rel="internal" href="https://developer.mozilla.org/en/IndexedDB">IndexedDB API</a> represents a synchronous <a title="en/IndexedDB#gloss database connection" rel="internal" href="https://developer.mozilla.org/en/IndexedDB#gloss_database_connection">connection to a database</a>.</p><br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/IndexedDB/IDBDatabaseSync">MDN</a>. */
+@:native("DatabaseSync")
+extern class DatabaseSync
+{
+    var lastErrorMessage (default,null) :String;
+
+    /** The version of the connected database. Has the null value when the database is first created. */
+    var version (default,null) :String;
+
+    function changeVersion (oldVersion :String, newVersion :String, ?callback_ :SQLTransactionSyncCallback) :Void;
+
+    function readTransaction (callback_ :SQLTransactionSyncCallback) :Void;
+
+    function transaction (callback_ :SQLTransactionSyncCallback) :Void;
+
+}

+ 33 - 0
std/js/html/DedicatedWorkerContext.hx

@@ -0,0 +1,33 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("DedicatedWorkerContext")
+extern class DedicatedWorkerContext extends WorkerContext
+{
+    var onmessage :EventListener;
+
+    function postMessage (message :Dynamic, ?messagePorts :Array<Dynamic>) :Void;
+
+}

+ 34 - 0
std/js/html/DetailsElement.hx

@@ -0,0 +1,34 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** The HTML <em>details</em> element (<code>&lt;details&gt;</code>) is used as a disclosure widget from which the user the retrieve additional information.<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/HTML/Element/details">MDN</a>. */
+@:native("HTMLDetailsElement")
+extern class DetailsElement extends Element
+{
+    /** This Boolean attribute indicates whether the details will be shown to the user on page load. If omitted the details will be hidden. */
+    var open :Bool;
+
+}

+ 35 - 0
std/js/html/DeviceAcceleration.hx

@@ -0,0 +1,35 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("DeviceAcceleration")
+extern class DeviceAcceleration
+{
+    var x (default,null) :Float;
+
+    var y (default,null) :Float;
+
+    var z (default,null) :Float;
+
+}

+ 45 - 0
std/js/html/DeviceMotionEvent.hx

@@ -0,0 +1,45 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** A <code>DeviceMotionEvent</code> object describes an event that indicates the amount of physical motion of the device that has occurred, and is fired at a set interval (rather than in response to motion). It provides information about the rate of rotation, as well as acceleration along all three axes.<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/DeviceMotionEvent">MDN</a>. */
+@:native("DeviceMotionEvent")
+extern class DeviceMotionEvent extends Event
+{
+    /** The acceleration of the device. This value has taken into account the effect of gravity and removed it from the figures. This value may not exist if the hardware doesn't know how to remove gravity from the acceleration data. <strong>Read only.</strong> */
+    var acceleration (default,null) :DeviceAcceleration;
+
+    /** The acceleration of the device. This value includes the effect of gravity, and may be the only value available on devices that don't have a gyroscope to allow them to properly remove gravity from the data. <strong>Read only.</strong> */
+    var accelerationIncludingGravity (default,null) :DeviceAcceleration;
+
+    /** The interval, in milliseconds, at which the <code>DeviceMotionEvent</code> is fired. The next event will be fired in approximately this amount of time. */
+    var interval (default,null) :Float;
+
+    /** The rates of rotation of the device about all three axes. <strong>Read only.</strong> */
+    var rotationRate (default,null) :DeviceRotationRate;
+
+    function initDeviceMotionEvent (type :String, bubbles :Bool, cancelable :Bool, acceleration :DeviceAcceleration, accelerationIncludingGravity :DeviceAcceleration, rotationRate :DeviceRotationRate, interval :Float) :Void;
+
+}

+ 47 - 0
std/js/html/DeviceOrientationEvent.hx

@@ -0,0 +1,47 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** A <code>DeviceOrientationEvent</code> object describes an event that provides information about the current orientation of the device as compared to the Earth coordinate frame. See <a title="Orientation and motion data explained" rel="internal" href="https://developer.mozilla.org/en/DOM/Orientation_and_motion_data_explained">Orientation and motion data explained</a> for details.<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/DeviceOrientationEvent">MDN</a>. */
+@:native("DeviceOrientationEvent")
+extern class DeviceOrientationEvent extends Event
+{
+    /** This attribute's value is <code>true</code> if the orientation is provided as a difference between the device coordinate frame and the Earth coordinate frame; if the device can't detect the Earth coordinate frame, this value is <code>false</code>. <strong>Read only.</strong> */
+    var absolute (default,null) :Bool;
+
+    /** The current orientation of the device around the Z axis; that is, how far the device is rotated around a line perpendicular to the device. <strong>Read only.</strong> */
+    var alpha (default,null) :Float;
+
+    /** The current orientation of the device around the X axis; that is, how far the device is tipped forward or backward. <strong>Read only.</strong> */
+    var beta (default,null) :Float;
+
+    /** <dl><dd>The current orientation of the device around the Y axis; that is, how far the device is turned left or right. <strong>Read only.</strong></dd>
+</dl>
+<div class="note"><strong>Note:</strong> If the browser is not able to provide notification information, all values are 0.</div> */
+    var gamma (default,null) :Float;
+
+    function initDeviceOrientationEvent (type :String, bubbles :Bool, cancelable :Bool, alpha :Float, beta :Float, gamma :Float, absolute :Bool) :Void;
+
+}

+ 35 - 0
std/js/html/DeviceRotationRate.hx

@@ -0,0 +1,35 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+@:native("DeviceRotationRate")
+extern class DeviceRotationRate
+{
+    var alpha (default,null) :Float;
+
+    var beta (default,null) :Float;
+
+    var gamma (default,null) :Float;
+
+}

+ 35 - 0
std/js/html/DirectoryElement.hx

@@ -0,0 +1,35 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** Obsolete<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/HTML/Element/dir">MDN</a>. */
+@:native("HTMLDirectoryElement")
+extern class DirectoryElement extends Element
+{
+    /** This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent and it doesn't work in all browsers. <div class="note"><strong>Usage note:&nbsp;</strong>Do not use this attribute, as it has been deprecated: the <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/dir">&lt;dir&gt;</a></code>
+ element should be styled using <a title="en/CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a>. To give a similar effect than the <span>compact</span> attribute, the <a title="en/CSS" rel="internal" href="https://developer.mozilla.org/en/CSS">CSS</a> property <a title="en/CSS/line-height" rel="internal" href="https://developer.mozilla.org/en/CSS/line-height">line-height</a> can be used with a value of <span>80%</span>.</div> */
+    var compact :Bool;
+
+}

+ 41 - 0
std/js/html/DirectoryEntry.hx

@@ -0,0 +1,41 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** <div><strong>DRAFT</strong> <div>This page is not complete.</div>
+</div>
+<p>The <code>DirectoryEntry</code> interface of the <a title="en/DOM/File_API/File_System_API" rel="internal" href="https://developer.mozilla.org/en/DOM/File_API/File_System_API">FileSystem API</a> represents a directory in a file system.</p><br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/File_API/File_System_API/DirectoryEntry">MDN</a>. */
+@:native("DirectoryEntry")
+extern class DirectoryEntry extends Entry
+{
+    function createReader () :DirectoryReader;
+
+    function getDirectory (path :String, ?options :Dynamic, ?successCallback :EntryCallback, ?errorCallback :ErrorCallback) :Void;
+
+    function getFile (path :String, ?options :Dynamic, ?successCallback :EntryCallback, ?errorCallback :ErrorCallback) :Void;
+
+    function removeRecursively (successCallback :VoidCallback, ?errorCallback :ErrorCallback) :Void;
+
+}

+ 41 - 0
std/js/html/DirectoryEntrySync.hx

@@ -0,0 +1,41 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** <div><strong>DRAFT</strong> <div>This page is not complete.</div>
+</div>
+<p>The <code>DirectoryEntry</code> interface of the <a title="en/DOM/File_API/File_System_API" rel="internal" href="https://developer.mozilla.org/en/DOM/File_API/File_System_API">FileSystem API</a> represents a directory in a file system.</p><br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/File_API/File_System_API/DirectoryEntrySync">MDN</a>. */
+@:native("DirectoryEntrySync")
+extern class DirectoryEntrySync extends EntrySync
+{
+    function createReader () :DirectoryReaderSync;
+
+    function getDirectory (path :String, flags :Dynamic) :DirectoryEntrySync;
+
+    function getFile (path :String, flags :Dynamic) :FileEntrySync;
+
+    function removeRecursively () :Void;
+
+}

+ 35 - 0
std/js/html/DirectoryReader.hx

@@ -0,0 +1,35 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** <div><strong>`DRAFT</strong> <div>This page is not complete.</div>
+</div>
+<p>The <code>DirectoryReader</code> interface of the <a title="en/DOM/File_API/File_System_API" rel="internal" href="https://developer.mozilla.org/en/DOM/File_API/File_System_API">FileSystem API</a> lets a user list files and directories in a directory.</p><br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/File_API/File_System_API/DirectoryReader">MDN</a>. */
+@:native("DirectoryReader")
+extern class DirectoryReader
+{
+    function readEntries (successCallback :EntriesCallback, ?errorCallback :ErrorCallback) :Void;
+
+}

+ 35 - 0
std/js/html/DirectoryReaderSync.hx

@@ -0,0 +1,35 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** <div><strong>`DRAFT</strong> <div>This page is not complete.</div>
+</div>
+<p>The <code>DirectoryReaderSync</code> interface of the <a title="en/DOM/File_API/File_System_API" rel="internal" href="https://developer.mozilla.org/en/DOM/File_API/File_System_API">FileSystem API</a> lets a user list files and directories in a directory.</p><br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/File_API/File_System_API/DirectoryReaderSync">MDN</a>. */
+@:native("DirectoryReaderSync")
+extern class DirectoryReaderSync
+{
+    function readEntries () :EntryArraySync;
+
+}

+ 36 - 0
std/js/html/DivElement.hx

@@ -0,0 +1,36 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** DOM&nbsp;div (document division) objects expose the <a title="http://www.w3.org/TR/html5/grouping-content.html#htmldivelement" class=" external" rel="external nofollow" href="http://www.w3.org/TR/html5/grouping-content.html#htmldivelement" target="_blank">HTMLDivElement</a> (or 
+<span><a rel="custom" href="https://developer.mozilla.org/en/HTML">HTML 4</a></span> <a class=" external" rel="external nofollow" href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-22445964" title="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-22445964" target="_blank"><code>HTMLDivElement</code></a>) interface, which provides special properties (beyond the regular <a rel="internal" href="https://developer.mozilla.org/en/DOM/element">element</a> object interface they also have available to them by inheritance) for manipulating div elements. In 
+<span><a rel="custom" href="https://developer.mozilla.org/en/HTML/HTML5">HTML5</a></span>, this interface inherits from HTMLElement, but defines no additional members.<br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/HTMLDivElement">MDN</a>. */
+@:native("HTMLDivElement")
+extern class DivElement extends Element
+{
+    /** Enumerated attribute indicating alignment of the element's contents with respect to the surrounding context. */
+    var align :String;
+
+}

+ 531 - 0
std/js/html/Document.hx

@@ -0,0 +1,531 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** <p>Each web page loaded in the browser has its own <strong>document</strong> object. This object serves as an entry point to the web page's content (the <a title="en/Using_the_W3C_DOM_Level_1_Core" rel="internal" href="https://developer.mozilla.org/en/Using_the_W3C_DOM_Level_1_Core">DOM tree</a>, including elements such as <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/body">&lt;body&gt;</a></code>
+ and <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/table">&lt;table&gt;</a></code>
+) and provides functionality global to the document (such as obtaining the page's URL and creating new elements in the document).</p>
+<p>A document object can be obtained from various APIs:</p>
+<ul> <li>Most commonly, you work with the document the script is running in by using <code>document</code> in document's <a title="en/HTML/Element/Script" rel="internal" href="https://developer.mozilla.org/En/HTML/Element/Script">scripts</a>. (The same document can also be referred to as <a title="window.document" rel="internal" href="https://developer.mozilla.org/en/DOM/window.document"><code>window.document</code></a>.)</li> <li>The document of an iframe via the iframe's <code><a title="en/DOM/HTMLIFrameElement#Properties" rel="internal" href="https://developer.mozilla.org/en/DOM/HTMLIFrameElement#Properties">contentDocument</a></code> property.</li> <li>The <a title="en/XMLHttpRequest#Attributes" rel="internal" href="https://developer.mozilla.org/en/nsIXMLHttpRequest#Attributes"><code>responseXML</code> of an <code>XMLHttpRequest</code> object</a>.</li> <li>The document, that given node or element belongs to, can be retrieved using the node's <code><a title="en/DOM/Node.ownerDocument" rel="internal" href="https://developer.mozilla.org/En/DOM/Node.ownerDocument">ownerDocument</a></code> property.</li> <li>...and more.</li>
+</ul>
+<p>Depending on the kind of the document (e.g. <a title="en/HTML" rel="internal" href="https://developer.mozilla.org/en/HTML">HTML</a> or <a title="en/XML" rel="internal" href="https://developer.mozilla.org/en/XML">XML</a>) different APIs may be available on the document object. This theoretical availability of APIs is usually described in terms of <em>implementing interfaces</em> defined in the relevant W3C DOM specifications:</p>
+<ul> <li>All document objects implement the DOM Core <a class="external" rel="external" href="http://www.w3.org/TR/DOM-Level-2-Core/core.html#i-Document" title="http://www.w3.org/TR/DOM-Level-2-Core/core.html#i-Document" target="_blank"><code>Document</code></a> and <code><a title="en/DOM/Node" rel="internal" href="https://developer.mozilla.org/en/DOM/Node">Node</a></code> interfaces, meaning that the "core" properties and methods are available for all kinds of documents.</li> <li>In addition to the generalized DOM Core document interface, HTML documents also implement the <code><a class="external" rel="external" href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-26809268" title="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-26809268" target="_blank">HTMLDocument</a></code> interface, which is a more specialized interface for dealing with HTML documents (e.g., <a title="en/DOM/document.cookie" rel="internal" href="https://developer.mozilla.org/en/DOM/document.cookie">document.cookie</a>, <a title="en/DOM/document.alinkColor" rel="internal" href="https://developer.mozilla.org/en/DOM/document.alinkColor">document.alinkColor</a>).</li> <li><a title="en/XUL" rel="internal" href="https://developer.mozilla.org/en/XUL">XUL</a> documents (available to Mozilla add-on and application developers) implement their own additions to the core Document functionality.</li>
+</ul>
+<p>Methods or properties listed here that are part of a more specialized interface have an asterisk (*) next to them and have additional information in the&nbsp; Availability column.</p>
+<p>Note that some APIs listed below are not available in all browsers for various reasons:</p>
+<ul> <li><strong>Obsolete</strong>: on its way of being removed from supporting browsers.</li> <li><strong>Non-standard</strong>: either an experimental feature not (yet?) agreed upon by all vendors, or a feature targeted specifically at the code running in a specific browser (e.g. Mozilla has a few DOM APIs created for its add-ons and application development).</li> <li>Part of a completed or an emerging standard, but not (yet?) implemented in all browsers or implemented in the newest versions of the browsers.</li>
+</ul>
+<p>Detailed browser compatibility tables are located at the pages describing each property or method.</p><br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/document">MDN</a>. */
+@:native("Document")
+extern class Document extends Node
+{
+    /** Returns a string containing the URL of the current document. */
+    var URL (default,null) :String;
+
+    /** Returns the currently focused element */
+    var activeElement (default,null) :Element;
+
+    /** Returns or sets the color of active links in the document body. */
+    var alinkColor :String;
+
+    var all :HTMLAllCollection;
+
+    /** Returns a list of all of the anchors in the document. */
+    var anchors (default,null) :HTMLCollection;
+
+    /** Returns an ordered list of the applets within a document. */
+    var applets (default,null) :HTMLCollection;
+
+    /** Gets/sets the background color of the current document. */
+    var bgColor :String;
+
+    /** Returns the BODY node of the current document. Setter throws DOMException. */
+    var body :Element;
+
+    /** Returns the character set being used by the document. */
+    var characterSet (default,null) :String;
+
+    var charset :String;
+
+    /** Indicates whether the document is rendered in Quirks or Strict mode. */
+    var compatMode (default,null) :String;
+
+    /** Returns a semicolon-separated list of the cookies for that document or sets a single cookie. Getter throws DOMException. Setter throws DOMException. */
+    var cookie :String;
+
+    var currentFullScreenElement (default,null) :Element;
+
+    var defaultCharset (default,null) :String;
+
+    /** Returns a reference to the window object. */
+    var defaultView (default,null) :DOMWindow;
+
+    /** Gets/sets WYSYWIG editing capability of <a title="en/Midas" rel="internal" href="https://developer.mozilla.org/en/Midas">Midas</a>. It can only be used for HTML documents. */
+    var designMode :String;
+
+    /** Gets/sets directionality (rtl/ltr) of the document */
+    var dir :String;
+
+    /** Returns the Document Type Definition (DTD) of the current document. */
+    var doctype (default,null) :DocumentType;
+
+    /** Returns the Element that is a direct child of document. For HTML documents, this is normally the HTML element. */
+    var documentElement (default,null) :Element;
+
+    /** Returns the document location. */
+    var documentURI (default,null) :String;
+
+    /** Returns the domain of the current document. Setter throws DOMException. */
+    var domain :String;
+
+    /** Returns a list of the embedded OBJECTS within the current document. */
+    var embeds (default,null) :HTMLCollection;
+
+    /** Gets/sets the foreground color, or text color, of the current document. */
+    var fgColor :String;
+
+    /** Returns a list of the FORM elements within the current document. */
+    var forms (default,null) :HTMLCollection;
+
+    var fullScreenKeyboardInputAllowed (default,null) :Bool;
+
+    var fullscreenElement (default,null) :Element;
+
+    var fullscreenEnabled (default,null) :Bool;
+
+    /** Returns the HEAD node of the current document. */
+    var head (default,null) :HeadElement;
+
+    /** Gets/sets the height of the current document. */
+    var height (default,null) :Int;
+
+    var hidden (default,null) :Bool;
+
+    /** Returns a list of the images in the current document. */
+    var images (default,null) :HTMLCollection;
+
+    /** Returns the DOM implementation associated with the current document. */
+    var implementation (default,null) :DOMImplementation;
+
+    /** Returns the encoding used when the document was parsed. */
+    var inputEncoding (default,null) :String;
+
+    var isFullScreen (default,null) :Bool;
+
+    /** Returns the date on which the document was last modified. */
+    var lastModified (default,null) :String;
+
+    /** Gets/sets the color of hyperlinks in the document. */
+    var linkColor :String;
+
+    /** Returns a list of all the hyperlinks in the document. */
+    var links (default,null) :HTMLCollection;
+
+    /** Returns the URI of the current document. */
+    var location :Location;
+
+    var onabort :EventListener;
+
+    var onbeforecopy :EventListener;
+
+    var onbeforecut :EventListener;
+
+    var onbeforepaste :EventListener;
+
+    var onblur :EventListener;
+
+    var onchange :EventListener;
+
+    var onclick :EventListener;
+
+    var oncontextmenu :EventListener;
+
+    var oncopy :EventListener;
+
+    var oncut :EventListener;
+
+    var ondblclick :EventListener;
+
+    var ondrag :EventListener;
+
+    var ondragend :EventListener;
+
+    var ondragenter :EventListener;
+
+    var ondragleave :EventListener;
+
+    var ondragover :EventListener;
+
+    var ondragstart :EventListener;
+
+    var ondrop :EventListener;
+
+    var onerror :EventListener;
+
+    var onfocus :EventListener;
+
+    var onfullscreenchange :EventListener;
+
+    var onfullscreenerror :EventListener;
+
+    var oninput :EventListener;
+
+    var oninvalid :EventListener;
+
+    var onkeydown :EventListener;
+
+    var onkeypress :EventListener;
+
+    var onkeyup :EventListener;
+
+    var onload :EventListener;
+
+    var onmousedown :EventListener;
+
+    var onmousemove :EventListener;
+
+    var onmouseout :EventListener;
+
+    var onmouseover :EventListener;
+
+    var onmouseup :EventListener;
+
+    var onmousewheel :EventListener;
+
+    var onpaste :EventListener;
+
+    var onpointerlockchange :EventListener;
+
+    var onpointerlockerror :EventListener;
+
+    /** <dl><dd>Returns the event handling code for the <code>readystatechange</code> event.</dd>
+</dl>
+<div class="geckoVersionNote"> <p>
+</p><div class="geckoVersionHeading">Gecko 9.0 note<div>(Firefox 9.0 / Thunderbird 9.0 / SeaMonkey 2.6)
+</div></div>
+<p></p> <p>Starting in Gecko 9.0 (Firefox 9.0 / Thunderbird 9.0 / SeaMonkey 2.6)
+, you can now use the syntax <code>if ("onabort" in document)</code> to determine whether or not a given event handler property exists. This is because event handler interfaces have been updated to be proper web IDL interfaces. See <a title="en/DOM/DOM event handlers" rel="internal" href="https://developer.mozilla.org/en/DOM/DOM_event_handlers">DOM event handlers</a> for details.</p>
+</div> */
+    var onreadystatechange :EventListener;
+
+    var onreset :EventListener;
+
+    var onscroll :EventListener;
+
+    var onsearch :EventListener;
+
+    var onselect :EventListener;
+
+    var onselectionchange :EventListener;
+
+    var onselectstart :EventListener;
+
+    var onsubmit :EventListener;
+
+    var ontouchcancel :EventListener;
+
+    var ontouchend :EventListener;
+
+    var ontouchmove :EventListener;
+
+    var ontouchstart :EventListener;
+
+    /** Returns a list of the available plugins. */
+    var plugins (default,null) :HTMLCollection;
+
+    var pointerLockElement (default,null) :Element;
+
+    var preferredStylesheetSet (default,null) :String;
+
+    /** Returns loading status of the document */
+    var readyState (default,null) :String;
+
+    /** Returns the URI of the page that linked to this page. */
+    var referrer (default,null) :String;
+
+    /** Returns all the <code><a rel="custom" href="https://developer.mozilla.org/en/HTML/Element/script">&lt;script&gt;</a></code>
+ elements on the document. */
+    var scripts (default,null) :HTMLCollection;
+
+    var selectedStylesheetSet :String;
+
+    /** Returns a list of the stylesheet objects on the current document. */
+    var styleSheets (default,null) :StyleSheetList;
+
+    /** Returns the title of the current document. */
+    var title :String;
+
+    var visibilityState (default,null) :String;
+
+    /** Gets/sets the color of visited hyperlinks. */
+    var vlinkColor :String;
+
+    /** Returns the width of the current document. */
+    var width (default,null) :Int;
+
+    /** Returns the encoding as determined by the XML declaration.<br> <div class="note">Firefox 10 and later don't implement it anymore.</div> */
+    var xmlEncoding (default,null) :String;
+
+    /** Returns <code>true</code> if the XML declaration specifies the document is standalone (<em>e.g.,</em> An external part of the DTD affects the document's content), else <code>false</code>. Setter throws DOMException. */
+    var xmlStandalone :Bool;
+
+    /** Returns the version number as specified in the XML declaration or <code>"1.0"</code> if the declaration is absent. Setter throws DOMException. */
+    var xmlVersion :String;
+
+    function adoptNode (source :Node) :Node;
+
+    function cancelFullScreen () :Void;
+
+    function captureEvents () :Void;
+
+    function caretRangeFromPoint (x :Int, y :Int) :Range;
+
+    function clear () :Void;
+
+    function close () :Void;
+
+    function createAttribute (name :String) :Attr;
+
+    function createAttributeNS (namespaceURI :String, qualifiedName :String) :Attr;
+
+    function createCDATASection (data :String) :CDATASection;
+
+    function createComment (data :String) :Comment;
+
+    function createDocumentFragment () :DocumentFragment;
+
+    function createElement (tagName :String) :Element;
+
+    function createElementNS (namespaceURI :String, qualifiedName :String) :Element;
+
+    function createEntityReference (name :String) :EntityReference;
+
+    function createEvent (eventType :String) :Event;
+
+    function createExpression (expression :String, resolver :XPathNSResolver) :XPathExpression;
+
+    function createNSResolver (nodeResolver :Node) :XPathNSResolver;
+
+    function createNodeIterator (root :Node, whatToShow :Int, filter :NodeFilter, expandEntityReferences :Bool) :NodeIterator;
+
+    function createProcessingInstruction (target :String, data :String) :ProcessingInstruction;
+
+    function createRange () :Range;
+
+    function createTextNode (data :String) :Text;
+
+    function createTouch (window :DOMWindow, target :EventTarget, identifier :Int, pageX :Int, pageY :Int, screenX :Int, screenY :Int, radiusX :Int, radiusY :Int, rotationAngle :Float, force :Float) :Touch;
+
+    function createTouchList () :TouchList;
+
+    function createTreeWalker (root :Node, whatToShow :Int, filter :NodeFilter, expandEntityReferences :Bool) :TreeWalker;
+
+    function elementFromPoint (x :Int, y :Int) :Element;
+
+    function evaluate (expression :String, contextNode :Node, resolver :XPathNSResolver, type :Int, inResult :XPathResult) :XPathResult;
+
+    function execCommand (command :String, userInterface :Bool, value :String) :Bool;
+
+    function exitFullscreen () :Void;
+
+    function exitPointerLock () :Void;
+
+    function getCSSCanvasContext (contextId :String, name :String, width :Int, height :Int) :CanvasRenderingContext;
+
+    function getElementById (elementId :String) :Element;
+
+    function getElementsByClassName (tagname :String) :NodeList;
+
+    function getElementsByName (elementName :String) :NodeList;
+
+    function getElementsByTagName (tagname :String) :NodeList;
+
+    function getElementsByTagNameNS (namespaceURI :String, localName :String) :NodeList;
+
+    function getOverrideStyle (element :Element, pseudoElement :String) :CSSStyleDeclaration;
+
+    function getSelection () :DOMSelection;
+
+    function hasFocus () :Bool;
+
+    function importNode (importedNode :Node, ?deep :Bool) :Node;
+
+    function open () :Void;
+
+    function queryCommandEnabled (command :String) :Bool;
+
+    function queryCommandIndeterm (command :String) :Bool;
+
+    function queryCommandState (command :String) :Bool;
+
+    function queryCommandSupported (command :String) :Bool;
+
+    function queryCommandValue (command :String) :String;
+
+    function querySelector (selectors :String) :Element;
+
+    function querySelectorAll (selectors :String) :NodeList;
+
+    function releaseEvents () :Void;
+
+    function write (text :String) :Void;
+
+    function writeln (text :String) :Void;
+
+    /** A typed shortcut for <code>createElement("td")</code>. */
+    public inline function createTableCellElement () :TableCellElement { return cast createElement("td"); }
+    /** A typed shortcut for <code>createElement("hr")</code>. */
+    public inline function createHRElement () :HRElement { return cast createElement("hr"); }
+    /** A typed shortcut for <code>createElement("marquee")</code>. */
+    public inline function createMarqueeElement () :MarqueeElement { return cast createElement("marquee"); }
+    /** A typed shortcut for <code>createElement("basefont")</code>. */
+    public inline function createBaseFontElement () :BaseFontElement { return cast createElement("basefont"); }
+    /** A typed shortcut for <code>createElement("select")</code>. */
+    public inline function createSelectElement () :SelectElement { return cast createElement("select"); }
+    /** A typed shortcut for <code>createElement("map")</code>. */
+    public inline function createMapElement () :MapElement { return cast createElement("map"); }
+    /** A typed shortcut for <code>createElement("form")</code>. */
+    public inline function createFormElement () :FormElement { return cast createElement("form"); }
+    /** A typed shortcut for <code>createElement("option")</code>. */
+    public inline function createOptionElement () :OptionElement { return cast createElement("option"); }
+    /** A typed shortcut for <code>createElement("label")</code>. */
+    public inline function createLabelElement () :LabelElement { return cast createElement("label"); }
+    /** A typed shortcut for <code>createElement("meta")</code>. */
+    public inline function createMetaElement () :MetaElement { return cast createElement("meta"); }
+    /** A typed shortcut for <code>createElement("img")</code>. */
+    public inline function createImageElement () :ImageElement { return cast createElement("img"); }
+    /** A typed shortcut for <code>createElement("dl")</code>. */
+    public inline function createDListElement () :DListElement { return cast createElement("dl"); }
+    /** A typed shortcut for <code>createElement("frame")</code>. */
+    public inline function createFrameElement () :FrameElement { return cast createElement("frame"); }
+    /** A typed shortcut for <code>createElement("mod")</code>. */
+    public inline function createModElement () :ModElement { return cast createElement("mod"); }
+    /** A typed shortcut for <code>createElement("ul")</code>. */
+    public inline function createUListElement () :UListElement { return cast createElement("ul"); }
+    /** A typed shortcut for <code>createElement("output")</code>. */
+    public inline function createOutputElement () :OutputElement { return cast createElement("output"); }
+    /** A typed shortcut for <code>createElement("ol")</code>. */
+    public inline function createOListElement () :OListElement { return cast createElement("ol"); }
+    /** A typed shortcut for <code>createElement("shadow")</code>. */
+    public inline function createShadowElement () :ShadowElement { return cast createElement("shadow"); }
+    /** A typed shortcut for <code>createElement("li")</code>. */
+    public inline function createLIElement () :LIElement { return cast createElement("li"); }
+    /** A typed shortcut for <code>createElement("datalist")</code>. */
+    public inline function createDataListElement () :DataListElement { return cast createElement("datalist"); }
+    /** A typed shortcut for <code>createElement("param")</code>. */
+    public inline function createParamElement () :ParamElement { return cast createElement("param"); }
+    /** A typed shortcut for <code>createElement("font")</code>. */
+    public inline function createFontElement () :FontElement { return cast createElement("font"); }
+    /** A typed shortcut for <code>createElement("track")</code>. */
+    public inline function createTrackElement () :TrackElement { return cast createElement("track"); }
+    /** A typed shortcut for <code>createElement("applet")</code>. */
+    public inline function createAppletElement () :AppletElement { return cast createElement("applet"); }
+    /** A typed shortcut for <code>createElement("area")</code>. */
+    public inline function createAreaElement () :AreaElement { return cast createElement("area"); }
+    /** A typed shortcut for <code>createElement("link")</code>. */
+    public inline function createLinkElement () :LinkElement { return cast createElement("link"); }
+    /** A typed shortcut for <code>createElement("div")</code>. */
+    public inline function createDivElement () :DivElement { return cast createElement("div"); }
+    /** A typed shortcut for <code>createElement("title")</code>. */
+    public inline function createTitleElement () :TitleElement { return cast createElement("title"); }
+    /** A typed shortcut for <code>createElement("style")</code>. */
+    public inline function createStyleElement () :StyleElement { return cast createElement("style"); }
+    /** A typed shortcut for <code>createElement("progress")</code>. */
+    public inline function createProgressElement () :ProgressElement { return cast createElement("progress"); }
+    /** A typed shortcut for <code>createElement("button")</code>. */
+    public inline function createButtonElement () :ButtonElement { return cast createElement("button"); }
+    /** A typed shortcut for <code>createElement("fieldset")</code>. */
+    public inline function createFieldSetElement () :FieldSetElement { return cast createElement("fieldset"); }
+    /** A typed shortcut for <code>createElement("a")</code>. */
+    public inline function createAnchorElement () :AnchorElement { return cast createElement("a"); }
+    /** A typed shortcut for <code>createElement("iframe")</code>. */
+    public inline function createIFrameElement () :IFrameElement { return cast createElement("iframe"); }
+    /** A typed shortcut for <code>createElement("span")</code>. */
+    public inline function createSpanElement () :SpanElement { return cast createElement("span"); }
+    /** A typed shortcut for <code>createElement("details")</code>. */
+    public inline function createDetailsElement () :DetailsElement { return cast createElement("details"); }
+    /** A typed shortcut for <code>createElement("body")</code>. */
+    public inline function createBodyElement () :BodyElement { return cast createElement("body"); }
+    /** A typed shortcut for <code>createElement("input")</code>. */
+    public inline function createInputElement () :InputElement { return cast createElement("input"); }
+    /** A typed shortcut for <code>createElement("embed")</code>. */
+    public inline function createEmbedElement () :EmbedElement { return cast createElement("embed"); }
+    /** A typed shortcut for <code>createElement("meter")</code>. */
+    public inline function createMeterElement () :MeterElement { return cast createElement("meter"); }
+    /** A typed shortcut for <code>createElement("pre")</code>. */
+    public inline function createPreElement () :PreElement { return cast createElement("pre"); }
+    /** A typed shortcut for <code>createElement("thead")</code>. */
+    public inline function createTableSectionElement () :TableSectionElement { return cast createElement("thead"); }
+    /** A typed shortcut for <code>createElement("head")</code>. */
+    public inline function createHeadElement () :HeadElement { return cast createElement("head"); }
+    /** A typed shortcut for <code>createElement("base")</code>. */
+    public inline function createBaseElement () :BaseElement { return cast createElement("base"); }
+    /** A typed shortcut for <code>createElement("optgroup")</code>. */
+    public inline function createOptGroupElement () :OptGroupElement { return cast createElement("optgroup"); }
+    /** A typed shortcut for <code>createElement("quote")</code>. */
+    public inline function createQuoteElement () :QuoteElement { return cast createElement("quote"); }
+    /** A typed shortcut for <code>createElement("audio")</code>. */
+    public inline function createAudioElement () :AudioElement { return cast createElement("audio"); }
+    /** A typed shortcut for <code>createElement("video")</code>. */
+    public inline function createVideoElement () :VideoElement { return cast createElement("video"); }
+    /** A typed shortcut for <code>createElement("legend")</code>. */
+    public inline function createLegendElement () :LegendElement { return cast createElement("legend"); }
+    /** A typed shortcut for <code>createElement("menu")</code>. */
+    public inline function createMenuElement () :MenuElement { return cast createElement("menu"); }
+    /** A typed shortcut for <code>createElement("frameset")</code>. */
+    public inline function createFrameSetElement () :FrameSetElement { return cast createElement("frameset"); }
+    /** A typed shortcut for <code>createElement("canvas")</code>. */
+    public inline function createCanvasElement () :CanvasElement { return cast createElement("canvas"); }
+    /** A typed shortcut for <code>createElement("keygen")</code>. */
+    public inline function createKeygenElement () :KeygenElement { return cast createElement("keygen"); }
+    /** A typed shortcut for <code>createElement("col")</code>. */
+    public inline function createTableColElement () :TableColElement { return cast createElement("col"); }
+    /** A typed shortcut for <code>createElement("dir")</code>. */
+    public inline function createDirectoryElement () :DirectoryElement { return cast createElement("dir"); }
+    /** A typed shortcut for <code>createElement("table")</code>. */
+    public inline function createTableElement () :TableElement { return cast createElement("table"); }
+    /** A typed shortcut for <code>createElement("tr")</code>. */
+    public inline function createTableRowElement () :TableRowElement { return cast createElement("tr"); }
+    /** A typed shortcut for <code>createElement("script")</code>. */
+    public inline function createScriptElement () :ScriptElement { return cast createElement("script"); }
+    /** A typed shortcut for <code>createElement("source")</code>. */
+    public inline function createSourceElement () :SourceElement { return cast createElement("source"); }
+    /** A typed shortcut for <code>createElement("p")</code>. */
+    public inline function createParagraphElement () :ParagraphElement { return cast createElement("p"); }
+    /** A typed shortcut for <code>createElement("content")</code>. */
+    public inline function createContentElement () :ContentElement { return cast createElement("content"); }
+    /** A typed shortcut for <code>createElement("br")</code>. */
+    public inline function createBRElement () :BRElement { return cast createElement("br"); }
+    /** A typed shortcut for <code>createElement("html")</code>. */
+    public inline function createHtmlElement () :HtmlElement { return cast createElement("html"); }
+    /** A typed shortcut for <code>createElement("textarea")</code>. */
+    public inline function createTextAreaElement () :TextAreaElement { return cast createElement("textarea"); }
+    /** A typed shortcut for <code>createElement("media")</code>. */
+    public inline function createMediaElement () :MediaElement { return cast createElement("media"); }
+    /** A typed shortcut for <code>createElement("object")</code>. */
+    public inline function createObjectElement () :ObjectElement { return cast createElement("object"); }
+    /** A typed shortcut for <code>createElement("caption")</code>. */
+    public inline function createTableCaptionElement () :TableCaptionElement { return cast createElement("caption"); }
+}

+ 38 - 0
std/js/html/DocumentFragment.hx

@@ -0,0 +1,38 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** <p>DocumentFragment has no properties or methods of its own, but inherits from <a title="En/DOM/Node" class="internal" rel="internal" href="https://developer.mozilla.org/En/DOM/Node"><code>Node</code></a>. </p>
+<p>A <code><a class="external" rel="external" href="http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-B63ED1A3" title="http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-B63ED1A3" target="_blank">DocumentFragment</a></code> is a minimal document object that has no parent. It is used as a light-weight version of document to store well-formed or potentially non-well-formed fragments of XML.</p>
+<p>See <a title="En/DOM/Node" class="internal" rel="internal" href="https://developer.mozilla.org/En/DOM/Node"><code>Node</code></a> for a listing of its properties, constants and methods.</p>
+<p>Various other methods can take a document fragment as an argument (e.g., any <code><a class="external" rel="external" href="http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-1950641247" title="http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-1950641247" target="_blank">Node</a></code> interface methods such as <code><a title="En/DOM/Node.appendChild" rel="internal" href="https://developer.mozilla.org/En/DOM/Node.appendChild">appendChild</a></code> and <code><a title="En/DOM/Node.insertBefore" rel="internal" href="https://developer.mozilla.org/En/DOM/Node.insertBefore">insertBefore</a></code>), in which case the children of the fragment are appended or inserted, not the fragment itself.</p><br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/DocumentFragment">MDN</a>. */
+@:native("DocumentFragment")
+extern class DocumentFragment extends Node
+{
+    function querySelector (selectors :String) :Element;
+
+    function querySelectorAll (selectors :String) :NodeList;
+
+}

+ 46 - 0
std/js/html/DocumentType.hx

@@ -0,0 +1,46 @@
+/*
+ * Copyright (C)2005-2012 Haxe Foundation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+// This file is generated, do not edit!
+package js.html;
+
+/** <p><span>NOTE:&nbsp;This interface is not fully supported in Mozilla at present, including for indicating internalSubset information which Gecko generally does otherwise support.</span></p>
+<p><code>DocumentType</code> inherits <a title="en/DOM/Node" rel="internal" href="https://developer.mozilla.org/en/DOM/Node">Node</a>'s properties, methods, and constants as well as the following properties of its own:</p><br><br>
+Documentation for this class was provided by <a href="https://developer.mozilla.org/en/DOM/DocumentType">MDN</a>. */
+@:native("DocumentType")
+extern class DocumentType extends Node
+{
+    var entities (default,null) :NamedNodeMap;
+
+    var internalSubset (default,null) :String;
+
+    var name (default,null) :String;
+
+    var notations (default,null) :NamedNodeMap;
+
+    var publicId (default,null) :String;
+
+    var systemId (default,null) :String;
+
+    function remove () :Void;
+
+}

Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott