Explorar el Código

Bring in WebIDL-based JS externs.

Closes #3765. The generator will be added to a new repo shortly.
Bruno Garcia hace 10 años
padre
commit
884546864d
Se han modificado 100 ficheros con 2515 adiciones y 2609 borrados
  1. 34 0
      std/js/html/AlignSetting.hx
  2. 25 92
      std/js/html/AnchorElement.hx
  3. 7 42
      std/js/html/Animation.hx
  4. 7 8
      std/js/html/AnimationEffect.hx
  5. 8 11
      std/js/html/AnimationEvent.hx
  6. 33 0
      std/js/html/AnimationEventInit.hx
  7. 34 0
      std/js/html/AnimationPlayState.hx
  8. 38 0
      std/js/html/AnimationPlayer.hx
  9. 32 0
      std/js/html/AnimationTimeline.hx
  10. 8 29
      std/js/html/AppletElement.hx
  11. 22 36
      std/js/html/ApplicationCache.hx
  12. 23 62
      std/js/html/AreaElement.hx
  13. 8 10
      std/js/html/ArrayBuffer.hx
  14. 6 14
      std/js/html/ArrayBufferView.hx
  15. 7 24
      std/js/html/Attr.hx
  16. 6 5
      std/js/html/Audio.hx
  17. 36 0
      std/js/html/AudioChannel.hx
  18. 4 10
      std/js/html/AudioElement.hx
  19. 30 0
      std/js/html/AudioStreamTrack.hx
  20. 11 14
      std/js/html/AudioTrack.hx
  21. 36 0
      std/js/html/AudioTrackList.hx
  22. 6 10
      std/js/html/BRElement.hx
  23. 8 5
      std/js/html/BarProp.hx
  24. 6 17
      std/js/html/BaseElement.hx
  25. 9 15
      std/js/html/BatteryManager.hx
  26. 32 0
      std/js/html/BeforeUnloadEvent.hx
  27. 31 0
      std/js/html/BinaryType.hx
  28. 10 19
      std/js/html/Blob.hx
  29. 31 0
      std/js/html/BlobPropertyBag.hx
  30. 23 79
      std/js/html/BodyElement.hx
  31. 8 63
      std/js/html/ButtonElement.hx
  32. 4 16
      std/js/html/CDATASection.hx
  33. 35 0
      std/js/html/CSS.hx
  34. 0 55
      std/js/html/CSSFilterValue.hx
  35. 0 33
      std/js/html/CSSKeyframeRule.hx
  36. 0 39
      std/js/html/CSSKeyframesRule.hx
  37. 0 95
      std/js/html/CSSMatrix.hx
  38. 0 41
      std/js/html/CSSMediaRule.hx
  39. 0 33
      std/js/html/CSSPageRule.hx
  40. 36 66
      std/js/html/CSSPrimitiveValue.hx
  41. 0 62
      std/js/html/CSSRule.hx
  42. 6 9
      std/js/html/CSSRuleList.hx
  43. 686 606
      std/js/html/CSSStyleDeclaration.hx
  44. 0 38
      std/js/html/CSSStyleRule.hx
  45. 9 21
      std/js/html/CSSStyleSheet.hx
  46. 0 73
      std/js/html/CSSTransformValue.hx
  47. 7 11
      std/js/html/CSSValue.hx
  48. 5 6
      std/js/html/CSSValueList.hx
  49. 22 28
      std/js/html/CanvasElement.hx
  50. 5 6
      std/js/html/CanvasGradient.hx
  51. 5 5
      std/js/html/CanvasPattern.hx
  52. 79 205
      std/js/html/CanvasRenderingContext2D.hx
  53. 31 0
      std/js/html/CanvasWindingRule.hx
  54. 34 0
      std/js/html/CaretPosition.hx
  55. 15 17
      std/js/html/CharacterData.hx
  56. 32 0
      std/js/html/ChromeFilePropertyBag.hx
  57. 0 59
      std/js/html/ClientRect.hx
  58. 0 53
      std/js/html/Clipboard.hx
  59. 34 0
      std/js/html/ClipboardEvent.hx
  60. 32 0
      std/js/html/ClipboardEventInit.hx
  61. 10 14
      std/js/html/CloseEvent.hx
  62. 33 0
      std/js/html/CloseEventInit.hx
  63. 33 0
      std/js/html/CommandEvent.hx
  64. 6 6
      std/js/html/Comment.hx
  65. 8 21
      std/js/html/CompositionEvent.hx
  66. 22 52
      std/js/html/Console.hx
  67. 6 8
      std/js/html/ContentElement.hx
  68. 31 0
      std/js/html/ConvertCoordinateOptions.hx
  69. 8 13
      std/js/html/Coordinates.hx
  70. 0 39
      std/js/html/Counter.hx
  71. 31 0
      std/js/html/CreateFileOptions.hx
  72. 8 7
      std/js/html/Crypto.hx
  73. 10 8
      std/js/html/CryptoKey.hx
  74. 9 13
      std/js/html/CustomEvent.hx
  75. 31 0
      std/js/html/CustomEventInit.hx
  76. 6 9
      std/js/html/DListElement.hx
  77. 40 0
      std/js/html/DOMCursor.hx
  78. 8 4
      std/js/html/DOMError.hx
  79. 31 51
      std/js/html/DOMException.hx
  80. 11 15
      std/js/html/DOMImplementation.hx
  81. 51 0
      std/js/html/DOMMatrix.hx
  82. 73 0
      std/js/html/DOMMatrixReadOnly.hx
  83. 9 9
      std/js/html/DOMParser.hx
  84. 0 46
      std/js/html/DOMPlugin.hx
  85. 33 0
      std/js/html/DOMPoint.hx
  86. 33 0
      std/js/html/DOMPointInit.hx
  87. 35 0
      std/js/html/DOMPointReadOnly.hx
  88. 39 0
      std/js/html/DOMQuad.hx
  89. 33 0
      std/js/html/DOMRect.hx
  90. 7 8
      std/js/html/DOMRectList.hx
  91. 39 0
      std/js/html/DOMRectReadOnly.hx
  92. 37 0
      std/js/html/DOMRequest.hx
  93. 31 0
      std/js/html/DOMRequestReadyState.hx
  94. 0 109
      std/js/html/DOMSelection.hx
  95. 5 4
      std/js/html/DOMSettableTokenList.hx
  96. 5 7
      std/js/html/DOMStringList.hx
  97. 6 7
      std/js/html/DOMStringMap.hx
  98. 11 17
      std/js/html/DOMTokenList.hx
  99. 36 0
      std/js/html/DOMTransaction.hx
  100. 34 0
      std/js/html/DOMTransactionEvent.hx

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

@@ -0,0 +1,34 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/VTTCue.webidl line 12:0. Do not edit!
+
+package js.html;
+
+@:enum abstract AlignSetting(String)
+{
+	var START = "start";
+	var MIDDLE = "middle";
+	var END = "end";
+	var LEFT = "left";
+	var RIGHT = "right";
+}

+ 25 - 92
std/js/html/AnchorElement.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,104 +20,37 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/HTMLAnchorElement.webidl line 15:0. 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="/api/js/html/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
+extern class AnchorElement extends HTMLElement
 {
-	/** 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 target : 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 ping : String;
+	var rel : String;
+	var relList(default,null) : DOMTokenList;
 	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 type : String;
+	var text : String;
+	var coords : String;
+	var charset : String;
 	var name : String;
-
+	var rev : String;
+	var shape : String;
+	var href : 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 username : String;
+	var password : String;
+	var host : String;
+	var hostname : String;
+	var port : String;
+	var pathname : String;
 	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;
-
-}
+	var hash : String;
+	var searchParams : URLSearchParams;
+	
+}

+ 7 - 42
std/js/html/Animation.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,49 +20,14 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/Animation.webidl line 14:0. 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;
-
-}
+	var effect(default,null) : AnimationEffect;
+	var target(default,null) : Element;
+	
+}

+ 7 - 8
std/js/html/SharedWorkerContext.hx → std/js/html/AnimationEffect.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,14 +20,13 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/AnimationEffect.webidl line 14:0. Do not edit!
+
 package js.html;
 
-@:native("SharedWorkerContext")
-extern class SharedWorkerContext extends WorkerContext
+@:native("AnimationEffect")
+extern class AnimationEffect
 {
 	var name(default,null) : String;
-
-	var onconnect : EventListener;
-
-}
+	
+}

+ 8 - 11
std/js/html/AnimationEvent.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,20 +20,17 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/AnimationEvent.webidl line 15:0. Do not edit!
+
 package js.html;
 
-/** <code>AnimationEvent</code> objects provide information about events that occur related to <a rel="internal" href="/api/js/html/Animation" 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;
-
-}
+	var pseudoElement(default,null) : String;
+	
+	/** @throws DOMError */
+	function new( type : String, ?eventInitDict : AnimationEventInit ) : Void;
+}

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

@@ -0,0 +1,33 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/AnimationEvent.webidl line 21:0. Do not edit!
+
+package js.html;
+
+typedef AnimationEventInit =
+{
+	> EventInit,
+	@:optional var animationName : String;
+	@:optional var elapsedTime : Float;
+	@:optional var pseudoElement : String;
+}

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

@@ -0,0 +1,34 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/AnimationPlayer.webidl line 13:0. Do not edit!
+
+package js.html;
+
+@:enum abstract AnimationPlayState(String)
+{
+	var IDLE = "idle";
+	var PENDING = "pending";
+	var RUNNING = "running";
+	var PAUSED = "paused";
+	var FINISHED = "finished";
+}

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

@@ -0,0 +1,38 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/AnimationPlayer.webidl line 16:0. Do not edit!
+
+package js.html;
+
+@:native("AnimationPlayer")
+extern class AnimationPlayer
+{
+	var source(default,null) : Animation;
+	var timeline(default,null) : AnimationTimeline;
+	var startTime(default,null) : Float;
+	var currentTime(default,null) : Float;
+	var playState(default,null) : AnimationPlayState;
+	
+	function play() : Void;
+	function pause() : Void;
+}

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

@@ -0,0 +1,32 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/AnimationTimeline.webidl line 14:0. Do not edit!
+
+package js.html;
+
+@:native("AnimationTimeline")
+extern class AnimationTimeline
+{
+	var currentTime(default,null) : Float;
+	
+}

+ 8 - 29
std/js/html/AppletElement.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,44 +20,23 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/HTMLAppletElement.webidl line 16:0. 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
+extern class AppletElement extends HTMLElement
 {
-	/** 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 hspace : Int;
 	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 vspace : Int;
 	var width : String;
-
-}
+	
+}

+ 22 - 36
std/js/html/DOMApplicationCache.hx → std/js/html/ApplicationCache.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,46 +20,32 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/OfflineResourceList.webidl line 5:0. Do not edit!
+
 package js.html;
 
-@:native("DOMApplicationCache")
-extern class DOMApplicationCache extends EventTarget
+@:native("ApplicationCache")
+extern class ApplicationCache extends EventTarget
 {
+	static inline var UNCACHED : Int = 0;
+	static inline var IDLE : Int = 1;
 	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;
-
+	static inline var OBSOLETE : Int = 5;
+	
 	var status(default,null) : Int;
-
-	function abort() : Void;
-
-	function swapCache() : Void;
-
+	var onchecking : haxe.Constraints.Function;
+	var onerror : haxe.Constraints.Function;
+	var onnoupdate : haxe.Constraints.Function;
+	var ondownloading : haxe.Constraints.Function;
+	var onprogress : haxe.Constraints.Function;
+	var onupdateready : haxe.Constraints.Function;
+	var oncached : haxe.Constraints.Function;
+	var onobsolete : haxe.Constraints.Function;
+	
+	/** @throws DOMError */
 	function update() : Void;
-
-}
+	/** @throws DOMError */
+	function swapCache() : Void;
+}

+ 23 - 62
std/js/html/AreaElement.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,72 +20,33 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/HTMLAreaElement.webidl line 16:0. 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="/api/js/html/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
+extern class AreaElement extends HTMLElement
 {
-	/** 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;
-
-}
+	var download : String;
+	var ping : String;
+	var rel : String;
+	var relList(default,null) : DOMTokenList;
+	var noHref : Bool;
+	var href : String;
+	var origin(default,null) : String;
+	var protocol : String;
+	var username : String;
+	var password : String;
+	var host : String;
+	var hostname : String;
+	var port : String;
+	var pathname : String;
+	var search : String;
+	var hash : String;
+	var searchParams : URLSearchParams;
+	
+}

+ 8 - 10
std/js/html/ArrayBuffer.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,19 +20,17 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from typedarray.webidl line 12:0. 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="/api/js/html/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> */
+	static function isView( value : Dynamic ) : Bool;
 	var byteLength(default,null) : Int;
-
-	function new( ?arg0 : Dynamic ) : Void;
-
+	
+	/** @throws DOMError */
+	function new( length : Int ) : Void;
 	function slice( begin : Int, ?end : Int ) : ArrayBuffer;
-
-}
+}

+ 6 - 14
std/js/html/ArrayBufferView.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,23 +20,15 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from typedarray.webidl line 21:0. 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="/api/js/html/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;
-
-}
+	var byteLength(default,null) : Int;
+	
+}

+ 7 - 24
std/js/html/Attr.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,33 +20,16 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/Attr.webidl line 13:0. 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="/api/js/html/Node">Node</a></code>
-. You should not be using any <code><a rel="custom" href="/api/js/html/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 value : String;
 	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;
-
-}
+	var ownerElement(default,null) : Element;
+	
+}

+ 6 - 5
std/js/html/Audio.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,12 +20,13 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from namedConstructors.webidl line 2:0. Do not edit!
+
 package js.html;
 
 @:native("Audio")
 extern class Audio extends AudioElement
 {
-	function new() : Void;
-
-}
+	/** @throws DOMError */
+	function new( ?src : String ) : Void;
+}

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

@@ -0,0 +1,36 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/AudioChannel.webidl line 41:0. Do not edit!
+
+package js.html;
+
+@:enum abstract AudioChannel(String)
+{
+	var NORMAL = "normal";
+	var CONTENT = "content";
+	var NOTIFICATION = "notification";
+	var ALARM = "alarm";
+	var TELEPHONY = "telephony";
+	var RINGER = "ringer";
+	var PUBLICNOTIFICATION = "publicnotification";
+}

+ 4 - 10
std/js/html/AudioElement.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,17 +20,11 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/HTMLAudioElement.webidl line 15:0. 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="/api/js/html/MediaElement" 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="/api/js/html/audio/AudioBuffer">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;
-
-}
+}

+ 30 - 0
std/js/html/AudioStreamTrack.hx

@@ -0,0 +1,30 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/AudioStreamTrack.webidl line 14:0. Do not edit!
+
+package js.html;
+
+@:native("AudioStreamTrack")
+extern class AudioStreamTrack extends MediaStreamTrack
+{
+}

+ 11 - 14
std/js/html/DataTransferItem.hx → std/js/html/AudioTrack.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,20 +20,17 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/AudioTrack.webidl line 11:0. Do not edit!
+
 package js.html;
 
-@:native("DataTransferItem")
-extern class DataTransferItem
+@:native("AudioTrack")
+extern class AudioTrack
 {
+	var id(default,null) : String;
 	var kind(default,null) : String;
-
-	var type(default,null) : String;
-
-	function getAsEntry() : js.html.fs.Entry;
-
-	function getAsFile() : Blob;
-
-	function getAsString( callback_ : StringCallback ) : Void;
-
-}
+	var label(default,null) : String;
+	var language(default,null) : String;
+	var enabled : Bool;
+	
+}

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

@@ -0,0 +1,36 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/AudioTrackList.webidl line 11:0. Do not edit!
+
+package js.html;
+
+@:native("AudioTrackList")
+extern class AudioTrackList extends EventTarget
+{
+	var length(default,null) : Int;
+	var onchange : haxe.Constraints.Function;
+	var onaddtrack : haxe.Constraints.Function;
+	var onremovetrack : haxe.Constraints.Function;
+	
+	function getTrackById( id : String ) : AudioTrack;
+}

+ 6 - 10
std/js/html/BRElement.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,17 +20,13 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/HTMLBRElement.webidl line 16:0. 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
+extern class BRElement extends HTMLElement
 {
-	/** Indicates flow of text around floating objects. */
 	var clear : String;
-
-}
+	
+}

+ 8 - 5
std/js/html/CSSUnknownRule.hx → std/js/html/BarProp.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,10 +20,13 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/BarProp.webidl line 7:0. Do not edit!
+
 package js.html;
 
-@:native("CSSUnknownRule")
-extern class CSSUnknownRule extends CSSRule
+@:native("BarProp")
+extern class BarProp
 {
-}
+	var visible : Bool;
+	
+}

+ 6 - 17
std/js/html/BaseElement.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,25 +20,14 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/HTMLBaseElement.webidl line 15:0. 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="/api/js/html/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
+extern class BaseElement extends HTMLElement
 {
-	/** 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;
-
-}
+	
+}

+ 9 - 15
std/js/html/BatteryManager.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,26 +20,20 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/BatteryManager.webidl line 13:0. 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;
-
-}
+	var onchargingchange : haxe.Constraints.Function;
+	var onchargingtimechange : haxe.Constraints.Function;
+	var ondischargingtimechange : haxe.Constraints.Function;
+	var onlevelchange : haxe.Constraints.Function;
+	
+}

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

@@ -0,0 +1,32 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/BeforeUnloadEvent.webidl line 10:0. Do not edit!
+
+package js.html;
+
+@:native("BeforeUnloadEvent")
+extern class BeforeUnloadEvent extends Event
+{
+	var returnValue : String;
+	
+}

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

@@ -0,0 +1,31 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/WebSocket.webidl line 13:0. Do not edit!
+
+package js.html;
+
+@:enum abstract BinaryType(String)
+{
+	var BLOB = "blob";
+	var ARRAYBUFFER = "arraybuffer";
+}

+ 10 - 19
std/js/html/Blob.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,28 +20,19 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/Blob.webidl line 16:0. 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="/api/js/html/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="/api/js/html/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;
-
-}
+	
+	/** @throws DOMError */
+	@:overload( function() : Void {} )
+	function new( blobParts : Array<haxe.EitherType<ArrayBuffer,haxe.EitherType<ArrayBufferView,haxe.EitherType<Blob,String>>>>, ?options : BlobPropertyBag ) : Void;
+	/** @throws DOMError */
+	function slice( ?start : Int, ?end : Int, ?contentType : String = "" ) : Blob;
+}

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

@@ -0,0 +1,31 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/Blob.webidl line 37:0. Do not edit!
+
+package js.html;
+
+typedef BlobPropertyBag =
+{
+	@:optional var endings : Dynamic/*MISSING EndingTypes*/;
+	@:optional var type : String;
+}

+ 23 - 79
std/js/html/BodyElement.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,87 +20,31 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/HTMLBodyElement.webidl line 14:0. 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="/api/js/html/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
+extern class BodyElement extends HTMLElement
 {
-	/** 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 link : String;
 	var vLink : String;
-
-}
+	var aLink : String;
+	var bgColor : String;
+	var background : String;
+	var onafterprint : haxe.Constraints.Function;
+	var onbeforeprint : haxe.Constraints.Function;
+	var onbeforeunload : Event -> String;
+	var onhashchange : haxe.Constraints.Function;
+	var onlanguagechange : haxe.Constraints.Function;
+	var onmessage : haxe.Constraints.Function;
+	var onoffline : haxe.Constraints.Function;
+	var ononline : haxe.Constraints.Function;
+	var onpagehide : haxe.Constraints.Function;
+	var onpageshow : haxe.Constraints.Function;
+	var onpopstate : haxe.Constraints.Function;
+	var onresize : haxe.Constraints.Function;
+	var onunload : haxe.Constraints.Function;
+	
+}

+ 8 - 63
std/js/html/ButtonElement.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,83 +20,28 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/HTMLButtonElement.webidl line 14:0. 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="/api/js/html/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
+extern class ButtonElement extends HTMLElement
 {
-	/** 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;
-
+	var validity(default,null) : ValidityState;
+	var validationMessage(default,null) : String;
+	
 	function checkValidity() : Bool;
-
 	function setCustomValidity( error : String ) : Void;
-
-}
+}

+ 4 - 16
std/js/html/CDATASection.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,23 +20,11 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/CDATASection.webidl line 7:0. 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
 {
-}
+}

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

@@ -0,0 +1,35 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/CSS.webidl line 13:0. Do not edit!
+
+package js.html;
+
+@:native("CSS")
+extern class CSS
+{
+	/** @throws DOMError */
+	@:overload( function( property : String, value : String ) : Bool {} )
+	static function supports( conditionText : String ) : Bool;
+	/** @throws DOMError */
+	static function escape( ident : String ) : String;
+}

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

@@ -1,55 +0,0 @@
-/*
- * Copyright (C)2005-2014 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;
-
-}

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

@@ -1,33 +0,0 @@
-/*
- * Copyright (C)2005-2014 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;
-
-}

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

@@ -1,39 +0,0 @@
-/*
- * Copyright (C)2005-2014 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;
-
-}

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

@@ -1,95 +0,0 @@
-/*
- * Copyright (C)2005-2014 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( cssValue : String ) : 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;
-
-}

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

@@ -1,41 +0,0 @@
-/*
- * Copyright (C)2005-2014 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;
-
-}

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

@@ -1,33 +0,0 @@
-/*
- * Copyright (C)2005-2014 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;
-
-}

+ 36 - 66
std/js/html/CSSPrimitiveValue.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,84 +20,54 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/CSSPrimitiveValue.webidl line 9:0. 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_UNKNOWN : Int = 0;
+	static inline var CSS_NUMBER : Int = 1;
+	static inline var CSS_PERCENTAGE : Int = 2;
 	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_PX : Int = 5;
+	static inline var CSS_CM : Int = 6;
 	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_IN : Int = 8;
 	static inline var CSS_PT : Int = 9;
-
-	static inline var CSS_PX : Int = 5;
-
+	static inline var CSS_PC : Int = 10;
+	static inline var CSS_DEG : Int = 11;
 	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_GRAD : Int = 13;
+	static inline var CSS_MS : Int = 14;
 	static inline var CSS_S : Int = 15;
-
+	static inline var CSS_HZ : Int = 16;
+	static inline var CSS_KHZ : Int = 17;
+	static inline var CSS_DIMENSION : Int = 18;
 	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;
-
+	static inline var CSS_IDENT : Int = 21;
+	static inline var CSS_ATTR : Int = 22;
+	static inline var CSS_COUNTER : Int = 23;
+	static inline var CSS_RECT : Int = 24;
+	static inline var CSS_RGBCOLOR : Int = 25;
+	
 	var primitiveType(default,null) : Int;
-
-	function getCounterValue() : Counter;
-
-	function getFloatValue( unitType : Int ) : Float;
-
-	function getRGBColorValue() : RGBColor;
-
-	function getRectValue() : Rect;
-
-	function getStringValue() : String;
-
+	
+	/** @throws DOMError */
 	function setFloatValue( unitType : Int, floatValue : Float ) : Void;
-
+	/** @throws DOMError */
+	function getFloatValue( unitType : Int ) : Float;
+	/** @throws DOMError */
 	function setStringValue( stringType : Int, stringValue : String ) : Void;
-
-}
+	/** @throws DOMError */
+	function getStringValue() : String;
+	/** @throws DOMError */
+	function getCounterValue() : Dynamic/*MISSING Counter*/;
+	/** @throws DOMError */
+	function getRectValue() : Rect;
+	/** @throws DOMError */
+	function getRGBColorValue() : RGBColor;
+}

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

@@ -1,62 +0,0 @@
-/*
- * Copyright (C)2005-2014 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="/api/js/html/CSSStyleSheet">CSS style sheet's</a> <code><a title="en/DOM/CSSStyleSheet/cssRules" rel="internal" href="/api/js/html/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;
-
-}

+ 6 - 9
std/js/html/CSSRuleList.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,16 +20,13 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/CSSRuleList.webidl line 7:0. 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="/api/js/html/CSSKeyframeRule">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>
+extern class CSSRuleList implements ArrayAccess<Dynamic/*MISSING CSSRule*/>
 {
 	var length(default,null) : Int;
-
-	function item( index : Int ) : CSSRule;
-
-}
+	
+}

+ 686 - 606
std/js/html/CSSStyleDeclaration.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,615 +20,695 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/CSSStyleDeclaration.webidl line 12:0. 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="/api/js/html/CSSKeyframeRule" rel="internal" title="en/DOM/cssRule">cssRule</a></code> in a <a href="/api/js/html/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>overflow-y </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 top and bottom edges. */
-	var overflowY : 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;
-
-}
+	var parentRule(default,null) : Dynamic/*MISSING CSSRule*/;
+	
+	/** Shorthand for the "align-content" CSS property. */
+	var alignContent :String;
+	/** Shorthand for the "align-items" CSS property. */
+	var alignItems :String;
+	/** Shorthand for the "align-self" CSS property. */
+	var alignSelf :String;
+	/** Shorthand for the "alignment-adjust" CSS property. */
+	var alignmentAdjust :String;
+	/** Shorthand for the "alignment-baseline" CSS property. */
+	var alignmentBaseline :String;
+	/** Shorthand for the "all" CSS property. */
+	var all :String;
+	/** Shorthand for the "anchor-point" CSS property. */
+	var anchorPoint :String;
+	/** Shorthand for the "animation" CSS property. */
+	var animation :String;
+	/** Shorthand for the "animation-delay" CSS property. */
+	var animationDelay :String;
+	/** Shorthand for the "animation-direction" CSS property. */
+	var animationDirection :String;
+	/** Shorthand for the "animation-duration" CSS property. */
+	var animationDuration :String;
+	/** Shorthand for the "animation-fill-mode" CSS property. */
+	var animationFillMode :String;
+	/** Shorthand for the "animation-iteration-count" CSS property. */
+	var animationIterationCount :String;
+	/** Shorthand for the "animation-name" CSS property. */
+	var animationName :String;
+	/** Shorthand for the "animation-play-state" CSS property. */
+	var animationPlayState :String;
+	/** Shorthand for the "animation-timing-function" CSS property. */
+	var animationTimingFunction :String;
+	/** Shorthand for the "azimuth" CSS property. */
+	var azimuth :String;
+	/** Shorthand for the "backface-visibility" CSS property. */
+	var backfaceVisibility :String;
+	/** Shorthand for the "background" CSS property. */
+	var background :String;
+	/** Shorthand for the "background-attachment" CSS property. */
+	var backgroundAttachment :String;
+	/** Shorthand for the "background-clip" CSS property. */
+	var backgroundClip :String;
+	/** Shorthand for the "background-color" CSS property. */
+	var backgroundColor :String;
+	/** Shorthand for the "background-image" CSS property. */
+	var backgroundImage :String;
+	/** Shorthand for the "background-origin" CSS property. */
+	var backgroundOrigin :String;
+	/** Shorthand for the "background-position" CSS property. */
+	var backgroundPosition :String;
+	/** Shorthand for the "background-repeat" CSS property. */
+	var backgroundRepeat :String;
+	/** Shorthand for the "background-size" CSS property. */
+	var backgroundSize :String;
+	/** Shorthand for the "baseline-shift" CSS property. */
+	var baselineShift :String;
+	/** Shorthand for the "binding" CSS property. */
+	var binding :String;
+	/** Shorthand for the "bleed" CSS property. */
+	var bleed :String;
+	/** Shorthand for the "bookmark-label" CSS property. */
+	var bookmarkLabel :String;
+	/** Shorthand for the "bookmark-level" CSS property. */
+	var bookmarkLevel :String;
+	/** Shorthand for the "bookmark-state" CSS property. */
+	var bookmarkState :String;
+	/** Shorthand for the "border" CSS property. */
+	var border :String;
+	/** Shorthand for the "border-bottom" CSS property. */
+	var borderBottom :String;
+	/** Shorthand for the "border-bottom-color" CSS property. */
+	var borderBottomColor :String;
+	/** Shorthand for the "border-bottom-left-radius" CSS property. */
+	var borderBottomLeftRadius :String;
+	/** Shorthand for the "border-bottom-right-radius" CSS property. */
+	var borderBottomRightRadius :String;
+	/** Shorthand for the "border-bottom-style" CSS property. */
+	var borderBottomStyle :String;
+	/** Shorthand for the "border-bottom-width" CSS property. */
+	var borderBottomWidth :String;
+	/** Shorthand for the "border-collapse" CSS property. */
+	var borderCollapse :String;
+	/** Shorthand for the "border-color" CSS property. */
+	var borderColor :String;
+	/** Shorthand for the "border-image" CSS property. */
+	var borderImage :String;
+	/** Shorthand for the "border-image-outset" CSS property. */
+	var borderImageOutset :String;
+	/** Shorthand for the "border-image-repeat" CSS property. */
+	var borderImageRepeat :String;
+	/** Shorthand for the "border-image-slice" CSS property. */
+	var borderImageSlice :String;
+	/** Shorthand for the "border-image-source" CSS property. */
+	var borderImageSource :String;
+	/** Shorthand for the "border-image-width" CSS property. */
+	var borderImageWidth :String;
+	/** Shorthand for the "border-left" CSS property. */
+	var borderLeft :String;
+	/** Shorthand for the "border-left-color" CSS property. */
+	var borderLeftColor :String;
+	/** Shorthand for the "border-left-style" CSS property. */
+	var borderLeftStyle :String;
+	/** Shorthand for the "border-left-width" CSS property. */
+	var borderLeftWidth :String;
+	/** Shorthand for the "border-radius" CSS property. */
+	var borderRadius :String;
+	/** Shorthand for the "border-right" CSS property. */
+	var borderRight :String;
+	/** Shorthand for the "border-right-color" CSS property. */
+	var borderRightColor :String;
+	/** Shorthand for the "border-right-style" CSS property. */
+	var borderRightStyle :String;
+	/** Shorthand for the "border-right-width" CSS property. */
+	var borderRightWidth :String;
+	/** Shorthand for the "border-spacing" CSS property. */
+	var borderSpacing :String;
+	/** Shorthand for the "border-style" CSS property. */
+	var borderStyle :String;
+	/** Shorthand for the "border-top" CSS property. */
+	var borderTop :String;
+	/** Shorthand for the "border-top-color" CSS property. */
+	var borderTopColor :String;
+	/** Shorthand for the "border-top-left-radius" CSS property. */
+	var borderTopLeftRadius :String;
+	/** Shorthand for the "border-top-right-radius" CSS property. */
+	var borderTopRightRadius :String;
+	/** Shorthand for the "border-top-style" CSS property. */
+	var borderTopStyle :String;
+	/** Shorthand for the "border-top-width" CSS property. */
+	var borderTopWidth :String;
+	/** Shorthand for the "border-width" CSS property. */
+	var borderWidth :String;
+	/** Shorthand for the "bottom" CSS property. */
+	var bottom :String;
+	/** Shorthand for the "box-decoration-break" CSS property. */
+	var boxDecorationBreak :String;
+	/** Shorthand for the "box-shadow" CSS property. */
+	var boxShadow :String;
+	/** Shorthand for the "box-sizing" CSS property. */
+	var boxSizing :String;
+	/** Shorthand for the "box-snap" CSS property. */
+	var boxSnap :String;
+	/** Shorthand for the "box-suppress" CSS property. */
+	var boxSuppress :String;
+	/** Shorthand for the "break-after" CSS property. */
+	var breakAfter :String;
+	/** Shorthand for the "break-before" CSS property. */
+	var breakBefore :String;
+	/** Shorthand for the "break-inside" CSS property. */
+	var breakInside :String;
+	/** Shorthand for the "caption-side" CSS property. */
+	var captionSide :String;
+	/** Shorthand for the "chains" CSS property. */
+	var chains :String;
+	/** Shorthand for the "clear" CSS property. */
+	var clear :String;
+	/** Shorthand for the "clip" CSS property. */
+	var clip :String;
+	/** Shorthand for the "clip-path" CSS property. */
+	var clipPath :String;
+	/** Shorthand for the "clip-rule" CSS property. */
+	var clipRule :String;
+	/** Shorthand for the "color" CSS property. */
+	var color :String;
+	/** Shorthand for the "color-interpolation-filters" CSS property. */
+	var colorInterpolationFilters :String;
+	/** Shorthand for the "column-count" CSS property. */
+	var columnCount :String;
+	/** Shorthand for the "column-fill" CSS property. */
+	var columnFill :String;
+	/** Shorthand for the "column-gap" CSS property. */
+	var columnGap :String;
+	/** Shorthand for the "column-rule" CSS property. */
+	var columnRule :String;
+	/** Shorthand for the "column-rule-color" CSS property. */
+	var columnRuleColor :String;
+	/** Shorthand for the "column-rule-style" CSS property. */
+	var columnRuleStyle :String;
+	/** Shorthand for the "column-rule-width" CSS property. */
+	var columnRuleWidth :String;
+	/** Shorthand for the "column-span" CSS property. */
+	var columnSpan :String;
+	/** Shorthand for the "column-width" CSS property. */
+	var columnWidth :String;
+	/** Shorthand for the "columns" CSS property. */
+	var columns :String;
+	/** Shorthand for the "contain" CSS property. */
+	var contain :String;
+	/** Shorthand for the "content" CSS property. */
+	var content :String;
+	/** Shorthand for the "counter-increment" CSS property. */
+	var counterIncrement :String;
+	/** Shorthand for the "counter-reset" CSS property. */
+	var counterReset :String;
+	/** Shorthand for the "counter-set" CSS property. */
+	var counterSet :String;
+	/** Shorthand for the "crop" CSS property. */
+	var crop :String;
+	/** Shorthand for the "cue" CSS property. */
+	var cue :String;
+	/** Shorthand for the "cue-after" CSS property. */
+	var cueAfter :String;
+	/** Shorthand for the "cue-before" CSS property. */
+	var cueBefore :String;
+	/** Shorthand for the "cursor" CSS property. */
+	var cursor :String;
+	/** Shorthand for the "direction" CSS property. */
+	var direction :String;
+	/** Shorthand for the "display" CSS property. */
+	var display :String;
+	/** Shorthand for the "display-inside" CSS property. */
+	var displayInside :String;
+	/** Shorthand for the "display-list" CSS property. */
+	var displayList :String;
+	/** Shorthand for the "display-outside" CSS property. */
+	var displayOutside :String;
+	/** Shorthand for the "dominant-baseline" CSS property. */
+	var dominantBaseline :String;
+	/** Shorthand for the "elevation" CSS property. */
+	var elevation :String;
+	/** Shorthand for the "empty-cells" CSS property. */
+	var emptyCells :String;
+	/** Shorthand for the "filter" CSS property. */
+	var filter :String;
+	/** Shorthand for the "flex" CSS property. */
+	var flex :String;
+	/** Shorthand for the "flex-basis" CSS property. */
+	var flexBasis :String;
+	/** Shorthand for the "flex-direction" CSS property. */
+	var flexDirection :String;
+	/** Shorthand for the "flex-flow" CSS property. */
+	var flexFlow :String;
+	/** Shorthand for the "flex-grow" CSS property. */
+	var flexGrow :String;
+	/** Shorthand for the "flex-shrink" CSS property. */
+	var flexShrink :String;
+	/** Shorthand for the "flex-wrap" CSS property. */
+	var flexWrap :String;
+	/** Shorthand for the "float" CSS property. */
+	var float :String;
+	/** Shorthand for the "float-offset" CSS property. */
+	var floatOffset :String;
+	/** Shorthand for the "flood-color" CSS property. */
+	var floodColor :String;
+	/** Shorthand for the "flood-opacity" CSS property. */
+	var floodOpacity :String;
+	/** Shorthand for the "flow-from" CSS property. */
+	var flowFrom :String;
+	/** Shorthand for the "flow-into" CSS property. */
+	var flowInto :String;
+	/** Shorthand for the "font" CSS property. */
+	var font :String;
+	/** Shorthand for the "font-family" CSS property. */
+	var fontFamily :String;
+	/** Shorthand for the "font-feature-settings" CSS property. */
+	var fontFeatureSettings :String;
+	/** Shorthand for the "font-kerning" CSS property. */
+	var fontKerning :String;
+	/** Shorthand for the "font-language-override" CSS property. */
+	var fontLanguageOverride :String;
+	/** Shorthand for the "font-size" CSS property. */
+	var fontSize :String;
+	/** Shorthand for the "font-size-adjust" CSS property. */
+	var fontSizeAdjust :String;
+	/** Shorthand for the "font-stretch" CSS property. */
+	var fontStretch :String;
+	/** Shorthand for the "font-style" CSS property. */
+	var fontStyle :String;
+	/** Shorthand for the "font-synthesis" CSS property. */
+	var fontSynthesis :String;
+	/** Shorthand for the "font-variant" CSS property. */
+	var fontVariant :String;
+	/** Shorthand for the "font-variant-alternates" CSS property. */
+	var fontVariantAlternates :String;
+	/** Shorthand for the "font-variant-caps" CSS property. */
+	var fontVariantCaps :String;
+	/** Shorthand for the "font-variant-east-asian" CSS property. */
+	var fontVariantEastAsian :String;
+	/** Shorthand for the "font-variant-ligatures" CSS property. */
+	var fontVariantLigatures :String;
+	/** Shorthand for the "font-variant-numeric" CSS property. */
+	var fontVariantNumeric :String;
+	/** Shorthand for the "font-variant-position" CSS property. */
+	var fontVariantPosition :String;
+	/** Shorthand for the "font-weight" CSS property. */
+	var fontWeight :String;
+	/** Shorthand for the "grid" CSS property. */
+	var grid :String;
+	/** Shorthand for the "grid-area" CSS property. */
+	var gridArea :String;
+	/** Shorthand for the "grid-auto-columns" CSS property. */
+	var gridAutoColumns :String;
+	/** Shorthand for the "grid-auto-flow" CSS property. */
+	var gridAutoFlow :String;
+	/** Shorthand for the "grid-auto-rows" CSS property. */
+	var gridAutoRows :String;
+	/** Shorthand for the "grid-column" CSS property. */
+	var gridColumn :String;
+	/** Shorthand for the "grid-column-end" CSS property. */
+	var gridColumnEnd :String;
+	/** Shorthand for the "grid-column-start" CSS property. */
+	var gridColumnStart :String;
+	/** Shorthand for the "grid-row" CSS property. */
+	var gridRow :String;
+	/** Shorthand for the "grid-row-end" CSS property. */
+	var gridRowEnd :String;
+	/** Shorthand for the "grid-row-start" CSS property. */
+	var gridRowStart :String;
+	/** Shorthand for the "grid-template" CSS property. */
+	var gridTemplate :String;
+	/** Shorthand for the "grid-template-areas" CSS property. */
+	var gridTemplateAreas :String;
+	/** Shorthand for the "grid-template-columns" CSS property. */
+	var gridTemplateColumns :String;
+	/** Shorthand for the "grid-template-rows" CSS property. */
+	var gridTemplateRows :String;
+	/** Shorthand for the "hanging-punctuation" CSS property. */
+	var hangingPunctuation :String;
+	/** Shorthand for the "height" CSS property. */
+	var height :String;
+	/** Shorthand for the "hyphens" CSS property. */
+	var hyphens :String;
+	/** Shorthand for the "icon" CSS property. */
+	var icon :String;
+	/** Shorthand for the "image-orientation" CSS property. */
+	var imageOrientation :String;
+	/** Shorthand for the "image-resolution" CSS property. */
+	var imageResolution :String;
+	/** Shorthand for the "ime-mode" CSS property. */
+	var imeMode :String;
+	/** Shorthand for the "initial-letters" CSS property. */
+	var initialLetters :String;
+	/** Shorthand for the "inline-box-align" CSS property. */
+	var inlineBoxAlign :String;
+	/** Shorthand for the "justify-content" CSS property. */
+	var justifyContent :String;
+	/** Shorthand for the "justify-items" CSS property. */
+	var justifyItems :String;
+	/** Shorthand for the "justify-self" CSS property. */
+	var justifySelf :String;
+	/** Shorthand for the "left" CSS property. */
+	var left :String;
+	/** Shorthand for the "letter-spacing" CSS property. */
+	var letterSpacing :String;
+	/** Shorthand for the "lighting-color" CSS property. */
+	var lightingColor :String;
+	/** Shorthand for the "line-box-contain" CSS property. */
+	var lineBoxContain :String;
+	/** Shorthand for the "line-break" CSS property. */
+	var lineBreak :String;
+	/** Shorthand for the "line-grid" CSS property. */
+	var lineGrid :String;
+	/** Shorthand for the "line-height" CSS property. */
+	var lineHeight :String;
+	/** Shorthand for the "line-snap" CSS property. */
+	var lineSnap :String;
+	/** Shorthand for the "line-stacking" CSS property. */
+	var lineStacking :String;
+	/** Shorthand for the "line-stacking-ruby" CSS property. */
+	var lineStackingRuby :String;
+	/** Shorthand for the "line-stacking-shift" CSS property. */
+	var lineStackingShift :String;
+	/** Shorthand for the "line-stacking-strategy" CSS property. */
+	var lineStackingStrategy :String;
+	/** Shorthand for the "list-style" CSS property. */
+	var listStyle :String;
+	/** Shorthand for the "list-style-image" CSS property. */
+	var listStyleImage :String;
+	/** Shorthand for the "list-style-position" CSS property. */
+	var listStylePosition :String;
+	/** Shorthand for the "list-style-type" CSS property. */
+	var listStyleType :String;
+	/** Shorthand for the "margin" CSS property. */
+	var margin :String;
+	/** Shorthand for the "margin-bottom" CSS property. */
+	var marginBottom :String;
+	/** Shorthand for the "margin-left" CSS property. */
+	var marginLeft :String;
+	/** Shorthand for the "margin-right" CSS property. */
+	var marginRight :String;
+	/** Shorthand for the "margin-top" CSS property. */
+	var marginTop :String;
+	/** Shorthand for the "marker-offset" CSS property. */
+	var markerOffset :String;
+	/** Shorthand for the "marker-side" CSS property. */
+	var markerSide :String;
+	/** Shorthand for the "marks" CSS property. */
+	var marks :String;
+	/** Shorthand for the "mask" CSS property. */
+	var mask :String;
+	/** Shorthand for the "mask-box" CSS property. */
+	var maskBox :String;
+	/** Shorthand for the "mask-box-outset" CSS property. */
+	var maskBoxOutset :String;
+	/** Shorthand for the "mask-box-repeat" CSS property. */
+	var maskBoxRepeat :String;
+	/** Shorthand for the "mask-box-slice" CSS property. */
+	var maskBoxSlice :String;
+	/** Shorthand for the "mask-box-source" CSS property. */
+	var maskBoxSource :String;
+	/** Shorthand for the "mask-box-width" CSS property. */
+	var maskBoxWidth :String;
+	/** Shorthand for the "mask-clip" CSS property. */
+	var maskClip :String;
+	/** Shorthand for the "mask-image" CSS property. */
+	var maskImage :String;
+	/** Shorthand for the "mask-origin" CSS property. */
+	var maskOrigin :String;
+	/** Shorthand for the "mask-position" CSS property. */
+	var maskPosition :String;
+	/** Shorthand for the "mask-repeat" CSS property. */
+	var maskRepeat :String;
+	/** Shorthand for the "mask-size" CSS property. */
+	var maskSize :String;
+	/** Shorthand for the "mask-source-type" CSS property. */
+	var maskSourceType :String;
+	/** Shorthand for the "mask-type" CSS property. */
+	var maskType :String;
+	/** Shorthand for the "max-height" CSS property. */
+	var maxHeight :String;
+	/** Shorthand for the "max-lines" CSS property. */
+	var maxLines :String;
+	/** Shorthand for the "max-width" CSS property. */
+	var maxWidth :String;
+	/** Shorthand for the "min-height" CSS property. */
+	var minHeight :String;
+	/** Shorthand for the "min-width" CSS property. */
+	var minWidth :String;
+	/** Shorthand for the "move-to" CSS property. */
+	var moveTo :String;
+	/** Shorthand for the "nav-down" CSS property. */
+	var navDown :String;
+	/** Shorthand for the "nav-index" CSS property. */
+	var navIndex :String;
+	/** Shorthand for the "nav-left" CSS property. */
+	var navLeft :String;
+	/** Shorthand for the "nav-right" CSS property. */
+	var navRight :String;
+	/** Shorthand for the "nav-up" CSS property. */
+	var navUp :String;
+	/** Shorthand for the "object-fit" CSS property. */
+	var objectFit :String;
+	/** Shorthand for the "object-position" CSS property. */
+	var objectPosition :String;
+	/** Shorthand for the "opacity" CSS property. */
+	var opacity :String;
+	/** Shorthand for the "order" CSS property. */
+	var order :String;
+	/** Shorthand for the "orphans" CSS property. */
+	var orphans :String;
+	/** Shorthand for the "outline" CSS property. */
+	var outline :String;
+	/** Shorthand for the "outline-color" CSS property. */
+	var outlineColor :String;
+	/** Shorthand for the "outline-offset" CSS property. */
+	var outlineOffset :String;
+	/** Shorthand for the "outline-style" CSS property. */
+	var outlineStyle :String;
+	/** Shorthand for the "outline-width" CSS property. */
+	var outlineWidth :String;
+	/** Shorthand for the "overflow" CSS property. */
+	var overflow :String;
+	/** Shorthand for the "overflow-wrap" CSS property. */
+	var overflowWrap :String;
+	/** Shorthand for the "overflow-x" CSS property. */
+	var overflowX :String;
+	/** Shorthand for the "overflow-y" CSS property. */
+	var overflowY :String;
+	/** Shorthand for the "padding" CSS property. */
+	var padding :String;
+	/** Shorthand for the "padding-bottom" CSS property. */
+	var paddingBottom :String;
+	/** Shorthand for the "padding-left" CSS property. */
+	var paddingLeft :String;
+	/** Shorthand for the "padding-right" CSS property. */
+	var paddingRight :String;
+	/** Shorthand for the "padding-top" CSS property. */
+	var paddingTop :String;
+	/** Shorthand for the "page" CSS property. */
+	var page :String;
+	/** Shorthand for the "page-break-after" CSS property. */
+	var pageBreakAfter :String;
+	/** Shorthand for the "page-break-before" CSS property. */
+	var pageBreakBefore :String;
+	/** Shorthand for the "page-break-inside" CSS property. */
+	var pageBreakInside :String;
+	/** Shorthand for the "page-policy" CSS property. */
+	var pagePolicy :String;
+	/** Shorthand for the "pause" CSS property. */
+	var pause :String;
+	/** Shorthand for the "pause-after" CSS property. */
+	var pauseAfter :String;
+	/** Shorthand for the "pause-before" CSS property. */
+	var pauseBefore :String;
+	/** Shorthand for the "perspective" CSS property. */
+	var perspective :String;
+	/** Shorthand for the "perspective-origin" CSS property. */
+	var perspectiveOrigin :String;
+	/** Shorthand for the "pitch" CSS property. */
+	var pitch :String;
+	/** Shorthand for the "pitch-range" CSS property. */
+	var pitchRange :String;
+	/** Shorthand for the "play-during" CSS property. */
+	var playDuring :String;
+	/** Shorthand for the "position" CSS property. */
+	var position :String;
+	/** Shorthand for the "presentation-level" CSS property. */
+	var presentationLevel :String;
+	/** Shorthand for the "quotes" CSS property. */
+	var quotes :String;
+	/** Shorthand for the "region-fragment" CSS property. */
+	var regionFragment :String;
+	/** Shorthand for the "resize" CSS property. */
+	var resize :String;
+	/** Shorthand for the "rest" CSS property. */
+	var rest :String;
+	/** Shorthand for the "rest-after" CSS property. */
+	var restAfter :String;
+	/** Shorthand for the "rest-before" CSS property. */
+	var restBefore :String;
+	/** Shorthand for the "richness" CSS property. */
+	var richness :String;
+	/** Shorthand for the "right" CSS property. */
+	var right :String;
+	/** Shorthand for the "rotation" CSS property. */
+	var rotation :String;
+	/** Shorthand for the "rotation-point" CSS property. */
+	var rotationPoint :String;
+	/** Shorthand for the "ruby-align" CSS property. */
+	var rubyAlign :String;
+	/** Shorthand for the "ruby-merge" CSS property. */
+	var rubyMerge :String;
+	/** Shorthand for the "ruby-position" CSS property. */
+	var rubyPosition :String;
+	/** Shorthand for the "shape-image-threshold" CSS property. */
+	var shapeImageThreshold :String;
+	/** Shorthand for the "shape-outside" CSS property. */
+	var shapeOutside :String;
+	/** Shorthand for the "shape-margin" CSS property. */
+	var shapeMargin :String;
+	/** Shorthand for the "size" CSS property. */
+	var size :String;
+	/** Shorthand for the "speak" CSS property. */
+	var speak :String;
+	/** Shorthand for the "speak-as" CSS property. */
+	var speakAs :String;
+	/** Shorthand for the "speak-header" CSS property. */
+	var speakHeader :String;
+	/** Shorthand for the "speak-numeral" CSS property. */
+	var speakNumeral :String;
+	/** Shorthand for the "speak-punctuation" CSS property. */
+	var speakPunctuation :String;
+	/** Shorthand for the "speech-rate" CSS property. */
+	var speechRate :String;
+	/** Shorthand for the "stress" CSS property. */
+	var stress :String;
+	/** Shorthand for the "string-set" CSS property. */
+	var stringSet :String;
+	/** Shorthand for the "tab-size" CSS property. */
+	var tabSize :String;
+	/** Shorthand for the "table-layout" CSS property. */
+	var tableLayout :String;
+	/** Shorthand for the "text-align" CSS property. */
+	var textAlign :String;
+	/** Shorthand for the "text-align-last" CSS property. */
+	var textAlignLast :String;
+	/** Shorthand for the "text-combine-upright" CSS property. */
+	var textCombineUpright :String;
+	/** Shorthand for the "text-decoration" CSS property. */
+	var textDecoration :String;
+	/** Shorthand for the "text-decoration-color" CSS property. */
+	var textDecorationColor :String;
+	/** Shorthand for the "text-decoration-line" CSS property. */
+	var textDecorationLine :String;
+	/** Shorthand for the "text-decoration-skip" CSS property. */
+	var textDecorationSkip :String;
+	/** Shorthand for the "text-decoration-style" CSS property. */
+	var textDecorationStyle :String;
+	/** Shorthand for the "text-emphasis" CSS property. */
+	var textEmphasis :String;
+	/** Shorthand for the "text-emphasis-color" CSS property. */
+	var textEmphasisColor :String;
+	/** Shorthand for the "text-emphasis-position" CSS property. */
+	var textEmphasisPosition :String;
+	/** Shorthand for the "text-emphasis-style" CSS property. */
+	var textEmphasisStyle :String;
+	/** Shorthand for the "text-height" CSS property. */
+	var textHeight :String;
+	/** Shorthand for the "text-indent" CSS property. */
+	var textIndent :String;
+	/** Shorthand for the "text-justify" CSS property. */
+	var textJustify :String;
+	/** Shorthand for the "text-orientation" CSS property. */
+	var textOrientation :String;
+	/** Shorthand for the "text-overflow" CSS property. */
+	var textOverflow :String;
+	/** Shorthand for the "text-shadow" CSS property. */
+	var textShadow :String;
+	/** Shorthand for the "text-space-collapse" CSS property. */
+	var textSpaceCollapse :String;
+	/** Shorthand for the "text-transform" CSS property. */
+	var textTransform :String;
+	/** Shorthand for the "text-underline-position" CSS property. */
+	var textUnderlinePosition :String;
+	/** Shorthand for the "text-wrap" CSS property. */
+	var textWrap :String;
+	/** Shorthand for the "top" CSS property. */
+	var top :String;
+	/** Shorthand for the "transform" CSS property. */
+	var transform :String;
+	/** Shorthand for the "transform-origin" CSS property. */
+	var transformOrigin :String;
+	/** Shorthand for the "transform-style" CSS property. */
+	var transformStyle :String;
+	/** Shorthand for the "transition" CSS property. */
+	var transition :String;
+	/** Shorthand for the "transition-delay" CSS property. */
+	var transitionDelay :String;
+	/** Shorthand for the "transition-duration" CSS property. */
+	var transitionDuration :String;
+	/** Shorthand for the "transition-property" CSS property. */
+	var transitionProperty :String;
+	/** Shorthand for the "transition-timing-function" CSS property. */
+	var transitionTimingFunction :String;
+	/** Shorthand for the "unicode-bidi" CSS property. */
+	var unicodeBidi :String;
+	/** Shorthand for the "vertical-align" CSS property. */
+	var verticalAlign :String;
+	/** Shorthand for the "visibility" CSS property. */
+	var visibility :String;
+	/** Shorthand for the "voice-balance" CSS property. */
+	var voiceBalance :String;
+	/** Shorthand for the "voice-duration" CSS property. */
+	var voiceDuration :String;
+	/** Shorthand for the "voice-family" CSS property. */
+	var voiceFamily :String;
+	/** Shorthand for the "voice-pitch" CSS property. */
+	var voicePitch :String;
+	/** Shorthand for the "voice-range" CSS property. */
+	var voiceRange :String;
+	/** Shorthand for the "voice-rate" CSS property. */
+	var voiceRate :String;
+	/** Shorthand for the "voice-stress" CSS property. */
+	var voiceStress :String;
+	/** Shorthand for the "voice-volume" CSS property. */
+	var voiceVolume :String;
+	/** Shorthand for the "volume" CSS property. */
+	var volume :String;
+	/** Shorthand for the "white-space" CSS property. */
+	var whiteSpace :String;
+	/** Shorthand for the "widows" CSS property. */
+	var widows :String;
+	/** Shorthand for the "width" CSS property. */
+	var width :String;
+	/** Shorthand for the "will-change" CSS property. */
+	var willChange :String;
+	/** Shorthand for the "word-break" CSS property. */
+	var wordBreak :String;
+	/** Shorthand for the "word-spacing" CSS property. */
+	var wordSpacing :String;
+	/** Shorthand for the "word-wrap" CSS property. */
+	var wordWrap :String;
+	/** Shorthand for the "wrap-flow" CSS property. */
+	var wrapFlow :String;
+	/** Shorthand for the "wrap-through" CSS property. */
+	var wrapThrough :String;
+	/** Shorthand for the "writing-mode" CSS property. */
+	var writingMode :String;
+	/** Shorthand for the "z-index" CSS property. */
+	var zIndex :String;
+	
+	/** @throws DOMError */
+	function getPropertyValue( property : String ) : String;
+	/** @throws DOMError */
+	function getPropertyCSSValue( property : String ) : CSSValue;
+	function getPropertyPriority( property : String ) : String;
+	/** @throws DOMError */
+	function setProperty( property : String, value : String, ?priority : String = "" ) : Void;
+	/** @throws DOMError */
+	function removeProperty( property : String ) : String;
+}

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

@@ -1,38 +0,0 @@
-/*
- * Copyright (C)2005-2014 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;
-
-}

+ 9 - 21
std/js/html/CSSStyleSheet.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,30 +20,18 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/CSSStyleSheet.webidl line 12:0. 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="/api/js/html/CSSKeyframeRule">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="/api/js/html/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="/api/js/html/StyleSheetList">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 ownerRule(default,null) : Dynamic/*MISSING CSSRule*/;
 	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;
-
+	
+	/** @throws DOMError */
 	function insertRule( rule : String, index : Int ) : Int;
-
-	function removeRule( index : Int ) : Void;
-
-}
+	/** @throws DOMError */
+	function deleteRule( index : Int ) : Void;
+}

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

@@ -1,73 +0,0 @@
-/*
- * Copyright (C)2005-2014 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;
-
-}

+ 7 - 11
std/js/html/CSSValue.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,23 +20,19 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/CSSValue.webidl line 7:0. 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. */
+	static inline var CSS_CUSTOM : Int = 3;
+	
 	var cssText : String;
-
 	var cssValueType(default,null) : Int;
-
-}
+	
+}

+ 5 - 6
std/js/html/CSSValueList.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,14 +20,13 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/CSSValueList.webidl line 7:0. 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;
-
-}
+	
+}

+ 22 - 28
std/js/html/CanvasElement.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,45 +20,39 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/HTMLCanvasElement.webidl line 17:0. 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="/api/js/html/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
+extern class CanvasElement extends HTMLElement
 {
-	/** 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"); }
-
-	public inline function getContextWebGL( ?attribs :js.html.webgl.ContextAttributes ) :js.html.webgl.RenderingContext {
+	var height : Int;
+	
+	/** @throws DOMError */
+	function getContext( contextId : String, ?contextOptions : Dynamic ) : Dynamic/*MISSING nsISupports*/;
+	/** @throws DOMError */
+	function toDataURL( ?type : String = "", ?encoderOptions : Dynamic ) : String;
+	/** @throws DOMError */
+	function toBlob( callback : Blob -> Void, ?type : String = "", ?encoderOptions : Dynamic ) : Void;
+	
+	/** Shorthand for getting a CanvasRenderingContext2D. */
+	inline function getContext2d( ?attribs : {} ) : CanvasRenderingContext2D {
+		return cast getContext("2d", attribs);
+	}
+	/** Shorthand for getting a js.html.webgl.RenderingContext. */
+	inline function getContextWebGL( ?attribs : js.html.webgl.ContextAttributes ) : js.html.webgl.RenderingContext {
 		return CanvasUtil.getContextWebGL(this, attribs);
 	}
 }
 
 private class CanvasUtil {
-	public static function getContextWebGL( canvas :CanvasElement, attribs :Dynamic ) {
+	public static function getContextWebGL( canvas :CanvasElement, attribs :{} ) {
 		for (name in ["webgl", "experimental-webgl"]) {
-			var ctx = (untyped canvas).getContext(name, attribs);
+			var ctx = canvas.getContext(name, attribs);
 			if (ctx != null) return ctx;
 		}
 		return null;
 	}
-}
+}

+ 5 - 6
std/js/html/CanvasGradient.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,14 +20,13 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/CanvasRenderingContext2D.webidl line 285:0. 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="/api/js/html/CanvasRenderingContext2D">CanvasRenderingContext2D</a>'s <a title="en/DOM/CanvasRenderingContext2D.createLinearGradient" rel="internal" href="/api/js/html/CanvasRenderingContext2D">createLinearGradient</a> or <a title="en/DOM/CanvasRenderingContext2D.createRadialGradient" rel="internal" href="/api/js/html/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
 {
+	/** @throws DOMError */
 	function addColorStop( offset : Float, color : String ) : Void;
-
-}
+}

+ 5 - 5
std/js/html/CanvasPattern.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,12 +20,12 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/CanvasRenderingContext2D.webidl line 292:0. Do not edit!
+
 package js.html;
 
-/** This is an opaque object created by <a title="en/DOM/CanvasRenderingContext2D" rel="internal" href="/api/js/html/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
 {
-}
+	function setTransform( matrix : js.html.svg.Matrix ) : Void;
+}

+ 79 - 205
std/js/html/CanvasRenderingContext2D.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,225 +20,99 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/CanvasRenderingContext2D.webidl line 28:0. 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
+extern class CanvasRenderingContext2D
 {
-	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 canvas(default,null) : CanvasElement;
 	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 strokeStyle : haxe.EitherType<String,haxe.EitherType<CanvasGradient,CanvasPattern>>;
+	var fillStyle : haxe.EitherType<String,haxe.EitherType<CanvasGradient,CanvasPattern>>;
+	var shadowOffsetX : Float;
+	var shadowOffsetY : Float;
+	var shadowBlur : Float;
+	var shadowColor : String;
+	var filter : String;
+	var lineWidth : Float;
 	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 lineDashOffset : Float;
+	var font : String;
 	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 save() : Void;
+	function restore() : Void;
+	/** @throws DOMError */
+	function scale( x : Float, y : Float ) : Void;
+	/** @throws DOMError */
+	function rotate( angle : Float ) : Void;
+	/** @throws DOMError */
+	function translate( x : Float, y : Float ) : Void;
+	/** @throws DOMError */
+	function transform( a : Float, b : Float, c : Float, d : Float, e : Float, f : Float ) : Void;
+	/** @throws DOMError */
+	function setTransform( a : Float, b : Float, c : Float, d : Float, e : Float, f : Float ) : Void;
+	/** @throws DOMError */
+	function resetTransform() : Void;
 	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;
-
+	/** @throws DOMError */
 	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;
-
+	/** @throws DOMError */
+	function createPattern( image : haxe.EitherType<ImageElement,haxe.EitherType<CanvasElement,VideoElement>>, repetition : String ) : CanvasPattern;
+	function clearRect( x : Float, y : Float, w : Float, h : Float ) : Void;
+	function fillRect( x : Float, y : Float, w : Float, h : Float ) : Void;
+	function strokeRect( x : Float, y : Float, w : Float, h : Float ) : Void;
+	function beginPath() : Void;
+	@:overload( function( ?winding : CanvasWindingRule = "nonzero" ) : Void {} )
+	function fill( path : Path2D, ?winding : CanvasWindingRule = "nonzero" ) : Void;
+	@:overload( function() : Void {} )
+	function stroke( path : Path2D ) : Void;
+	function drawFocusIfNeeded( element : Element ) : Void;
+	function drawCustomFocusRing( element : Element ) : Bool;
+	@:overload( function( ?winding : CanvasWindingRule = "nonzero" ) : Void {} )
+	function clip( path : Path2D, ?winding : CanvasWindingRule = "nonzero" ) : Void;
+	@:overload( function( x : Float, y : Float, ?winding : CanvasWindingRule = "nonzero" ) : Bool {} )
+	function isPointInPath( path : Path2D, x : Float, y : Float, ?winding : CanvasWindingRule = "nonzero" ) : Bool;
+	@:overload( function( x : Float, y : Float ) : Bool {} )
+	function isPointInStroke( path : Path2D, x : Float, y : Float ) : Bool;
+	/** @throws DOMError */
 	function fillText( text : String, x : Float, y : Float, ?maxWidth : Float ) : Void;
-
+	/** @throws DOMError */
+	function strokeText( text : String, x : Float, y : Float, ?maxWidth : Float ) : Void;
+	/** @throws DOMError */
+	function measureText( text : String ) : TextMetrics;
+	/** @throws DOMError */
+	@:overload( function( image : haxe.EitherType<ImageElement,haxe.EitherType<CanvasElement,VideoElement>>, dx : Float, dy : Float ) : Void {} )
+	@:overload( function( image : haxe.EitherType<ImageElement,haxe.EitherType<CanvasElement,VideoElement>>, dx : Float, dy : Float, dw : Float, dh : Float ) : Void {} )
+	function drawImage( image : haxe.EitherType<ImageElement,haxe.EitherType<CanvasElement,VideoElement>>, sx : Float, sy : Float, sw : Float, sh : Float, dx : Float, dy : Float, dw : Float, dh : Float ) : Void;
+	/** @throws DOMError */
+	function addHitRegion( ?options : HitRegionOptions ) : Void;
+	function removeHitRegion( id : String ) : Void;
+	function clearHitRegions() : Void;
+	/** @throws DOMError */
+	@:overload( function( sw : Float, sh : Float ) : ImageData {} )
+	function createImageData( imagedata : ImageData ) : ImageData;
+	/** @throws DOMError */
 	function getImageData( sx : Float, sy : Float, sw : Float, sh : Float ) : ImageData;
-
-	function getImageDataHD( sx : Float, sy : Float, sw : Float, sh : Float ) : ImageData;
-
+	/** @throws DOMError */
+	@: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;
+	function setLineDash( segments : Array<Float> ) : Void;
 	function getLineDash() : Array<Float>;
-
-	function isPointInPath( x : Float, y : Float ) : Bool;
-
-	function lineTo( x : Float, y : Float ) : Void;
-
-	function measureText( text : String ) : TextMetrics;
-
+	function closePath() : Void;
 	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 lineTo( x : Float, y : 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;
-
-}
+	function bezierCurveTo( cp1x : Float, cp1y : Float, cp2x : Float, cp2y : Float, x : Float, y : Float ) : Void;
+	/** @throws DOMError */
+	function arcTo( x1 : Float, y1 : Float, x2 : Float, y2 : Float, radius : Float ) : Void;
+	function rect( x : Float, y : Float, w : Float, h : Float ) : Void;
+	/** @throws DOMError */
+	function arc( x : Float, y : Float, radius : Float, startAngle : Float, endAngle : Float, ?anticlockwise : Bool = false ) : Void;
+}

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

@@ -0,0 +1,31 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/CanvasRenderingContext2D.webidl line 14:0. Do not edit!
+
+package js.html;
+
+@:enum abstract CanvasWindingRule(String)
+{
+	var NONZERO = "nonzero";
+	var EVENODD = "evenodd";
+}

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

@@ -0,0 +1,34 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/CaretPosition.webidl line 5:0. Do not edit!
+
+package js.html;
+
+@:native("CaretPosition")
+extern class CaretPosition
+{
+	var offsetNode(default,null) : Node;
+	var offset(default,null) : Int;
+	
+	function getClientRect() : DOMRect;
+}

+ 15 - 17
std/js/html/CharacterData.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,29 +20,27 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/CharacterData.webidl line 13:0. 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="/api/js/html/CDATASection">CDATASection</a></code> all implement CharacterData, which in turn also implements <code><a class="internal" title="En/DOM/Node" rel="internal" href="/api/js/html/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;
-
+	var previousElementSibling(default,null) : Element;
+	var nextElementSibling(default,null) : Element;
+	
+	/** @throws DOMError */
+	function substringData( offset : Int, count : Int ) : String;
+	/** @throws DOMError */
 	function appendData( data : String ) : Void;
-
-	function deleteData( offset : Int, length : Int ) : Void;
-
+	/** @throws DOMError */
 	function insertData( offset : Int, data : String ) : Void;
-
+	/** @throws DOMError */
+	function deleteData( offset : Int, count : Int ) : Void;
+	/** @throws DOMError */
+	function replaceData( offset : Int, count : Int, data : String ) : Void;
 	function remove() : Void;
-
-	function replaceData( offset : Int, length : Int, data : String ) : Void;
-
-	function substringData( offset : Int, length : Int ) : String;
-
-}
+}

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

@@ -0,0 +1,32 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/File.webidl line 35:0. Do not edit!
+
+package js.html;
+
+typedef ChromeFilePropertyBag =
+{
+	> FilePropertyBag,
+	@:optional var name : String;
+	@:optional var temporary : Bool;
+}

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

@@ -1,59 +0,0 @@
-/*
- * Copyright (C)2005-2014 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;
-
-}

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

@@ -1,53 +0,0 @@
-/*
- * Copyright (C)2005-2014 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;
-
-}

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

@@ -0,0 +1,34 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/ClipboardEvent.webidl line 14:0. Do not edit!
+
+package js.html;
+
+@:native("ClipboardEvent")
+extern class ClipboardEvent extends Event
+{
+	var clipboardData(default,null) : DataTransfer;
+	
+	/** @throws DOMError */
+	function new( type : String, ?eventInitDict : ClipboardEventInit ) : Void;
+}

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

@@ -0,0 +1,32 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/ClipboardEvent.webidl line 19:0. Do not edit!
+
+package js.html;
+
+typedef ClipboardEventInit =
+{
+	> EventInit,
+	@:optional var data : String;
+	@:optional var dataType : String;
+}

+ 10 - 14
std/js/html/CloseEvent.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,23 +20,19 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/CloseEvent.webidl line 14:0. 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 wasClean(default,null) : Bool;
 	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;
-
-}
+	
+	/** @throws DOMError */
+	function new( type : String, ?eventInitDict : CloseEventInit ) : Void;
+	/** @throws DOMError */
+	function initCloseEvent( aType : String, aCanBubble : Bool, aCancelable : Bool, aWasClean : Bool, aReasonCode : Int, aReason : String ) : Void;
+}

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

@@ -0,0 +1,33 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/CloseEvent.webidl line 29:0. Do not edit!
+
+package js.html;
+
+typedef CloseEventInit =
+{
+	> EventInit,
+	@:optional var code : Int;
+	@:optional var reason : String;
+	@:optional var wasClean : Bool;
+}

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

@@ -0,0 +1,33 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/CommandEvent.webidl line 7:0. Do not edit!
+
+package js.html;
+
+@:native("CommandEvent")
+extern class CommandEvent extends Event
+{
+	var command(default,null) : String;
+	
+	function initCommandEvent( type : String, canBubble : Bool, cancelable : Bool, command : String ) : Void;
+}

+ 6 - 6
std/js/html/Comment.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,13 +20,13 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/Comment.webidl line 14:0. 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="/api/js/html/CharacterData">CharacterData</a> (which inherits from <a title="en/DOM/Node" rel="internal" href="/api/js/html/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
 {
-}
+	/** @throws DOMError */
+	function new( ?data : String = "" ) : Void;
+}

+ 8 - 21
std/js/html/CompositionEvent.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,29 +20,16 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
-package js.html;
+// This file is generated from mozilla/CompositionEvent.webidl line 12:0. Do not edit!
 
-/** <div><div>
+package js.html;
 
-<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;
-
-}
+	var locale(default,null) : String;
+	
+	/** @throws DOMError */
+	function initCompositionEvent( typeArg : String, canBubbleArg : Bool, cancelableArg : Bool, viewArg : Window, dataArg : String, localeArg : String ) : Void;
+}

+ 22 - 52
std/js/html/Console.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,59 +20,29 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/Console.webidl line 9:0. 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 , ?p1 : Dynamic, ?p2 : Dynamic, ?p3 : Dynamic, ?p4 : Dynamic, ?p5 : Dynamic) : Void;
-
-	function clear(?p1 : Dynamic, ?p2 : Dynamic, ?p3 : Dynamic, ?p4 : Dynamic, ?p5 : Dynamic) : Void;
-
-	function count(?p1 : Dynamic, ?p2 : Dynamic, ?p3 : Dynamic, ?p4 : Dynamic, ?p5 : Dynamic) : Void;
-
-	function debug(?p1 : Dynamic, ?p2 : Dynamic, ?p3 : Dynamic, ?p4 : Dynamic, ?p5 : Dynamic) : Void;
-
-	function dir(?p1 : Dynamic, ?p2 : Dynamic, ?p3 : Dynamic, ?p4 : Dynamic, ?p5 : Dynamic) : Void;
-
-	function dirxml(?p1 : Dynamic, ?p2 : Dynamic, ?p3 : Dynamic, ?p4 : Dynamic, ?p5 : Dynamic) : Void;
-
-	function error(?p1 : Dynamic, ?p2 : Dynamic, ?p3 : Dynamic, ?p4 : Dynamic, ?p5 : Dynamic) : Void;
-
-	function group(?p1 : Dynamic, ?p2 : Dynamic, ?p3 : Dynamic, ?p4 : Dynamic, ?p5 : Dynamic) : Void;
-
-	function groupCollapsed(?p1 : Dynamic, ?p2 : Dynamic, ?p3 : Dynamic, ?p4 : Dynamic, ?p5 : Dynamic) : Void;
-
-	function groupEnd() : Void;
-
-	function info(?p1 : Dynamic, ?p2 : Dynamic, ?p3 : Dynamic, ?p4 : Dynamic, ?p5 : Dynamic) : Void;
-
-	function log(?p1 : Dynamic, ?p2 : Dynamic, ?p3 : Dynamic, ?p4 : Dynamic, ?p5 : Dynamic) : Void;
-
-	function markTimeline(?p1 : Dynamic, ?p2 : Dynamic, ?p3 : Dynamic, ?p4 : Dynamic, ?p5 : Dynamic) : Void;
-
-	function profile( title : String ) : Void;
-
-	function profileEnd( title : String ) : Void;
-
-	function time( title : String ) : Void;
-
-	function timeEnd( title : String , ?p1 : Dynamic, ?p2 : Dynamic, ?p3 : Dynamic, ?p4 : Dynamic, ?p5 : Dynamic) : Void;
-
-	function timeStamp(?p1 : Dynamic, ?p2 : Dynamic, ?p3 : Dynamic, ?p4 : Dynamic, ?p5 : Dynamic) : Void;
-
-	function trace(?p1 : Dynamic, ?p2 : Dynamic, ?p3 : Dynamic, ?p4 : Dynamic, ?p5 : Dynamic) : Void;
-
-	function warn(?p1 : Dynamic, ?p2 : Dynamic, ?p3 : Dynamic, ?p4 : Dynamic, ?p5 : Dynamic) : Void;
-
-}
+	function log( ?data : Dynamic ) : Void;
+	function info( ?data : Dynamic ) : Void;
+	function warn( ?data : Dynamic ) : Void;
+	function error( ?data : Dynamic ) : Void;
+	function exception( ?data : Dynamic ) : Void;
+	function debug( ?data : Dynamic ) : Void;
+	function table( ?data : Dynamic ) : Void;
+	function trace() : Void;
+	function dir( ?data : Dynamic ) : Void;
+	function group( ?data : Dynamic ) : Void;
+	function groupCollapsed( ?data : Dynamic ) : Void;
+	function groupEnd( ?data : Dynamic ) : Void;
+	function time( ?time : Dynamic ) : Void;
+	function timeEnd( ?time : Dynamic ) : Void;
+	function profile( ?data : Dynamic ) : Void;
+	function profileEnd( ?data : Dynamic ) : Void;
+	function assert( condition : Bool, ?data : Dynamic ) : Void;
+	function count( ?data : Dynamic ) : Void;
+}

+ 6 - 8
std/js/html/ContentElement.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,16 +20,14 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/HTMLContentElement.webidl line 14:0. Do not edit!
+
 package js.html;
 
 @:native("HTMLContentElement")
-extern class ContentElement extends Element
+extern class ContentElement extends HTMLElement
 {
-	var resetStyleInheritance : Bool;
-
 	var select : String;
-
+	
 	function getDistributedNodes() : NodeList;
-
-}
+}

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

@@ -0,0 +1,31 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/GeometryUtils.webidl line 19:0. Do not edit!
+
+package js.html;
+
+typedef ConvertCoordinateOptions =
+{
+	@:optional var fromBox : Dynamic/*MISSING CSSBoxType*/;
+	@:optional var toBox : Dynamic/*MISSING CSSBoxType*/;
+}

+ 8 - 13
std/js/html/Coordinates.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,24 +20,19 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/Coordinates.webidl line 14:0. Do not edit!
+
 package js.html;
 
 @:native("Coordinates")
 extern class Coordinates
 {
-	var accuracy(default,null) : Float;
-
+	var latitude(default,null) : Float;
+	var longitude(default,null) : Float;
 	var altitude(default,null) : Float;
-
+	var accuracy(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;
-
-}
+	
+}

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

@@ -1,39 +0,0 @@
-/*
- * Copyright (C)2005-2014 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;
-
-}

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

@@ -0,0 +1,31 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/Directory.webidl line 95:0. Do not edit!
+
+package js.html;
+
+typedef CreateFileOptions =
+{
+	@:optional var data : haxe.EitherType<String,haxe.EitherType<Blob,haxe.EitherType<ArrayBuffer,ArrayBufferView>>>;
+	@:optional var ifExists : Dynamic/*MISSING CreateIfExistsMode*/;
+}

+ 8 - 7
std/js/html/Crypto.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,14 +20,15 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/Crypto.webidl line 18:0. 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;
-
-}
+	var subtle(default,null) : SubtleCrypto;
+	
+	/** @throws DOMError */
+	function getRandomValues( array : ArrayBufferView ) : ArrayBufferView;
+}

+ 10 - 8
std/js/html/StyleMedia.hx → std/js/html/CryptoKey.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,14 +20,16 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/SubtleCrypto.webidl line 142:0. Do not edit!
+
 package js.html;
 
-@:native("StyleMedia")
-extern class StyleMedia
+@:native("CryptoKey")
+extern class CryptoKey
 {
 	var type(default,null) : String;
-
-	function matchMedium( mediaquery : String ) : Bool;
-
-}
+	var extractable(default,null) : Bool;
+	var algorithm(default,null) : Dynamic;
+	var usages(default,null) : Array<String>;
+	
+}

+ 9 - 13
std/js/html/CustomEvent.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,21 +20,17 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/CustomEvent.webidl line 14:0. 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;
-
-}
+	
+	/** @throws DOMError */
+	function new( type : String, ?eventInitDict : CustomEventInit ) : Void;
+	/** @throws DOMError */
+	function initCustomEvent( type : String, canBubble : Bool, cancelable : Bool, detail : Dynamic ) : Void;
+}

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

@@ -0,0 +1,31 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/CustomEvent.webidl line 26:0. Do not edit!
+
+package js.html;
+
+typedef CustomEventInit =
+{
+	> EventInit,
+	@:optional var detail : Dynamic;
+}

+ 6 - 9
std/js/html/DListElement.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,16 +20,13 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/HTMLDListElement.webidl line 16:0. 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="/api/js/html/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
+extern class DListElement extends HTMLElement
 {
-	/** Indicates that spacing between list items should be reduced. */
 	var compact : Bool;
-
-}
+	
+}

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

@@ -0,0 +1,40 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/DOMCursor.webidl line 6:0. Do not edit!
+
+package js.html;
+
+@:native("DOMCursor")
+extern class DOMCursor extends EventTarget
+{
+	var done(default,null) : Bool;
+	var readyState(default,null) : DOMRequestReadyState;
+	var result(default,null) : Dynamic;
+	var error(default,null) : DOMError;
+	var onsuccess : haxe.Constraints.Function;
+	var onerror : haxe.Constraints.Function;
+	
+	/** @throws DOMError */
+	@:native("continue")
+	function continue_() : Void;
+}

+ 8 - 4
std/js/html/DOMError.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,12 +20,16 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/DOMError.webidl line 15:0. Do not edit!
+
 package js.html;
 
 @:native("DOMError")
 extern class DOMError
 {
 	var name(default,null) : String;
-
-}
+	var message(default,null) : String;
+	
+	/** @throws DOMError */
+	function new( name : String, ?message : String = "" ) : Void;
+}

+ 31 - 51
std/js/html/DOMCoreException.hx → std/js/html/DOMException.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,68 +20,48 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/DOMException.webidl line 78:0. Do not edit!
+
 package js.html;
 
 @:native("DOMException")
-extern class DOMCoreException
+extern class DOMException
 {
-	static inline var ABORT_ERR : Int = 20;
-
-	static inline var DATA_CLONE_ERR : Int = 25;
-
+	static inline var INDEX_SIZE_ERR : Int = 1;
 	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 WRONG_DOCUMENT_ERR : Int = 4;
 	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 NOT_FOUND_ERR : Int = 8;
+	static inline var NOT_SUPPORTED_ERR : Int = 9;
+	static inline var INUSE_ATTRIBUTE_ERR : Int = 10;
+	static inline var INVALID_STATE_ERR : Int = 11;
 	static inline var SYNTAX_ERR : Int = 12;
-
-	static inline var TIMEOUT_ERR : Int = 23;
-
+	static inline var INVALID_MODIFICATION_ERR : Int = 13;
+	static inline var NAMESPACE_ERR : Int = 14;
+	static inline var INVALID_ACCESS_ERR : Int = 15;
+	static inline var VALIDATION_ERR : Int = 16;
 	static inline var TYPE_MISMATCH_ERR : Int = 17;
-
+	static inline var SECURITY_ERR : Int = 18;
+	static inline var NETWORK_ERR : Int = 19;
+	static inline var ABORT_ERR : Int = 20;
 	static inline var URL_MISMATCH_ERR : Int = 21;
-
-	static inline var VALIDATION_ERR : Int = 16;
-
-	static inline var WRONG_DOCUMENT_ERR : Int = 4;
-
+	static inline var QUOTA_EXCEEDED_ERR : Int = 22;
+	static inline var TIMEOUT_ERR : Int = 23;
+	static inline var INVALID_NODE_TYPE_ERR : Int = 24;
+	static inline var DATA_CLONE_ERR : Int = 25;
+	
 	var code(default,null) : Int;
-
 	var message(default,null) : String;
-
+	var result(default,null) : Int;
 	var name(default,null) : String;
-
-	function toString() : String;
-
-}
+	var filename(default,null) : String;
+	var lineNumber(default,null) : Int;
+	var columnNumber(default,null) : Int;
+	var inner(default,null) : Dynamic/*MISSING nsISupports*/;
+	var data(default,null) : Dynamic/*MISSING nsISupports*/;
+	var stack(default,null) : String;
+	
+}

+ 11 - 15
std/js/html/DOMImplementation.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,22 +20,18 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/DOMImplementation.webidl line 14:0. 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;
-
-}
+	function hasFeature( feature : String, version : String ) : Bool;
+	/** @throws DOMError */
+	function createDocumentType( qualifiedName : String, publicId : String, systemId : String ) : DocumentType;
+	/** @throws DOMError */
+	function createDocument( namespace_ : String, qualifiedName : String, ?doctype : DocumentType ) : Document;
+	/** @throws DOMError */
+	function createHTMLDocument( ?title : String ) : Document;
+}

+ 51 - 0
std/js/html/DOMMatrix.hx

@@ -0,0 +1,51 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/DOMMatrix.webidl line 89:0. Do not edit!
+
+package js.html;
+
+@:native("DOMMatrix")
+extern class DOMMatrix extends DOMMatrixReadOnly
+{
+	/** @throws DOMError */
+	@:overload( function() : Void {} )
+	@:overload( function( transformList : String ) : Void {} )
+	@:overload( function( other : DOMMatrixReadOnly ) : Void {} )
+	@:overload( function( array32 : Float32Array ) : Void {} )
+	@:overload( function( array64 : Float64Array ) : Void {} )
+	function new( numberSequence : Array<Float> ) : Void;
+	function multiplySelf( other : DOMMatrix ) : DOMMatrix;
+	function preMultiplySelf( other : DOMMatrix ) : DOMMatrix;
+	function translateSelf( tx : Float, ty : Float, ?tz : Float = 0.0 ) : DOMMatrix;
+	function scaleSelf( scale : Float, ?originX : Float = 0.0, ?originY : Float = 0.0 ) : DOMMatrix;
+	function scale3dSelf( scale : Float, ?originX : Float = 0.0, ?originY : Float = 0.0, ?originZ : Float = 0.0 ) : DOMMatrix;
+	function scaleNonUniformSelf( scaleX : Float, ?scaleY : Float = 1.0, ?scaleZ : Float = 1.0, ?originX : Float = 0.0, ?originY : Float = 0.0, ?originZ : Float = 0.0 ) : DOMMatrix;
+	function rotateSelf( angle : Float, ?originX : Float = 0.0, ?originY : Float = 0.0 ) : DOMMatrix;
+	function rotateFromVectorSelf( x : Float, y : Float ) : DOMMatrix;
+	function rotateAxisAngleSelf( x : Float, y : Float, z : Float, angle : Float ) : DOMMatrix;
+	function skewXSelf( sx : Float ) : DOMMatrix;
+	function skewYSelf( sy : Float ) : DOMMatrix;
+	function invertSelf() : DOMMatrix;
+	/** @throws DOMError */
+	function setMatrixValue( transformList : String ) : DOMMatrix;
+}

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

@@ -0,0 +1,73 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/DOMMatrix.webidl line 14:0. Do not edit!
+
+package js.html;
+
+@:native("DOMMatrixReadOnly")
+extern class DOMMatrixReadOnly
+{
+	var a(default,null) : Float;
+	var b(default,null) : Float;
+	var c(default,null) : Float;
+	var d(default,null) : Float;
+	var e(default,null) : Float;
+	var f(default,null) : Float;
+	var m11(default,null) : Float;
+	var m12(default,null) : Float;
+	var m13(default,null) : Float;
+	var m14(default,null) : Float;
+	var m21(default,null) : Float;
+	var m22(default,null) : Float;
+	var m23(default,null) : Float;
+	var m24(default,null) : Float;
+	var m31(default,null) : Float;
+	var m32(default,null) : Float;
+	var m33(default,null) : Float;
+	var m34(default,null) : Float;
+	var m41(default,null) : Float;
+	var m42(default,null) : Float;
+	var m43(default,null) : Float;
+	var m44(default,null) : Float;
+	var is2D(default,null) : Bool;
+	var identity(default,null) : Bool;
+	
+	function translate( tx : Float, ty : Float, ?tz : Float = 0.0 ) : DOMMatrix;
+	function scale( scale : Float, ?originX : Float = 0.0, ?originY : Float = 0.0 ) : DOMMatrix;
+	function scale3d( scale : Float, ?originX : Float = 0.0, ?originY : Float = 0.0, ?originZ : Float = 0.0 ) : DOMMatrix;
+	function scaleNonUniform( scaleX : Float, ?scaleY : Float = 1.0, ?scaleZ : Float = 1.0, ?originX : Float = 0.0, ?originY : Float = 0.0, ?originZ : Float = 0.0 ) : DOMMatrix;
+	function rotate( angle : Float, ?originX : Float = 0.0, ?originY : Float = 0.0 ) : DOMMatrix;
+	function rotateFromVector( x : Float, y : Float ) : DOMMatrix;
+	function rotateAxisAngle( x : Float, y : Float, z : Float, angle : Float ) : DOMMatrix;
+	function skewX( sx : Float ) : DOMMatrix;
+	function skewY( sy : Float ) : DOMMatrix;
+	function multiply( other : DOMMatrix ) : DOMMatrix;
+	function flipX() : DOMMatrix;
+	function flipY() : DOMMatrix;
+	function inverse() : DOMMatrix;
+	function transformPoint( ?point : DOMPointInit ) : DOMPoint;
+	/** @throws DOMError */
+	function toFloat32Array() : Float32Array;
+	/** @throws DOMError */
+	function toFloat64Array() : Float64Array;
+}

+ 9 - 9
std/js/html/DOMParser.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,16 +20,16 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/DOMParser.webidl line 25:0. 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;
-
-}
+	/** @throws DOMError */
+	@:overload( function() : Void {} )
+	function new( prin : Dynamic/*MISSING Principal*/, ?documentURI : Dynamic/*MISSING URI*/, ?baseURI : Dynamic/*MISSING URI*/ ) : Void;
+	/** @throws DOMError */
+	function parseFromString( str : String, type : SupportedType ) : Document;
+}

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

@@ -1,46 +0,0 @@
-/*
- * Copyright (C)2005-2014 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;
-
-}

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

@@ -0,0 +1,33 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/DOMPoint.webidl line 25:0. Do not edit!
+
+package js.html;
+
+@:native("DOMPoint")
+extern class DOMPoint extends DOMPointReadOnly
+{
+	/** @throws DOMError */
+	@:overload( function( ?point : DOMPointInit ) : Void {} )
+	function new( x : Float, y : Float, ?z : Float = 0.0, ?w : Float = 1.0 ) : Void;
+}

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

@@ -0,0 +1,33 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/DOMPoint.webidl line 32:0. Do not edit!
+
+package js.html;
+
+typedef DOMPointInit =
+{
+	@:optional var w : Float;
+	@:optional var x : Float;
+	@:optional var y : Float;
+	@:optional var z : Float;
+}

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

@@ -0,0 +1,35 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/DOMPoint.webidl line 14:0. Do not edit!
+
+package js.html;
+
+@:native("DOMPointReadOnly")
+extern class DOMPointReadOnly
+{
+	var x(default,null) : Float;
+	var y(default,null) : Float;
+	var z(default,null) : Float;
+	var w(default,null) : Float;
+	
+}

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

@@ -0,0 +1,39 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/DOMQuad.webidl line 17:0. Do not edit!
+
+package js.html;
+
+@:native("DOMQuad")
+extern class DOMQuad
+{
+	var p1(default,null) : DOMPoint;
+	var p2(default,null) : DOMPoint;
+	var p3(default,null) : DOMPoint;
+	var p4(default,null) : DOMPoint;
+	var bounds(default,null) : DOMRectReadOnly;
+	
+	/** @throws DOMError */
+	@:overload( function( ?p1 : DOMPointInit, ?p2 : DOMPointInit, ?p3 : DOMPointInit, ?p4 : DOMPointInit ) : Void {} )
+	function new( rect : DOMRectReadOnly ) : Void;
+}

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

@@ -0,0 +1,33 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/DOMRect.webidl line 16:0. Do not edit!
+
+package js.html;
+
+@:native("DOMRect")
+extern class DOMRect extends DOMRectReadOnly
+{
+	/** @throws DOMError */
+	@:overload( function() : Void {} )
+	function new( x : Float, y : Float, width : Float, height : Float ) : Void;
+}

+ 7 - 8
std/js/html/GamepadList.hx → std/js/html/DOMRectList.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,14 +20,13 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/DOMRectList.webidl line 8:0. Do not edit!
+
 package js.html;
 
-@:native("GamepadList")
-extern class GamepadList implements ArrayAccess<Gamepad>
+@:native("DOMRectList")
+extern class DOMRectList implements ArrayAccess<DOMRect>
 {
 	var length(default,null) : Int;
-
-	function item( index : Int ) : Gamepad;
-
-}
+	
+}

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

@@ -0,0 +1,39 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/DOMRect.webidl line 23:0. Do not edit!
+
+package js.html;
+
+@:native("DOMRectReadOnly")
+extern class DOMRectReadOnly
+{
+	var x(default,null) : Float;
+	var y(default,null) : Float;
+	var width(default,null) : Float;
+	var height(default,null) : Float;
+	var top(default,null) : Float;
+	var right(default,null) : Float;
+	var bottom(default,null) : Float;
+	var left(default,null) : Float;
+	
+}

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

@@ -0,0 +1,37 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/DOMRequest.webidl line 19:0. Do not edit!
+
+package js.html;
+
+@:native("DOMRequest")
+extern class DOMRequest extends EventTarget
+{
+	var readyState(default,null) : DOMRequestReadyState;
+	var result(default,null) : Dynamic;
+	var error(default,null) : DOMError;
+	var onsuccess : haxe.Constraints.Function;
+	var onerror : haxe.Constraints.Function;
+	
+	function then( ?fulfillCallback : haxe.Constraints.Function, ?rejectCallback : haxe.Constraints.Function ) : Promise/*<Any>*/;
+}

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

@@ -0,0 +1,31 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/DOMRequest.webidl line 6:0. Do not edit!
+
+package js.html;
+
+@:enum abstract DOMRequestReadyState(String)
+{
+	var PENDING = "pending";
+	var DONE = "done";
+}

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

@@ -1,109 +0,0 @@
-/*
- * Copyright (C)2005-2014 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="/api/js/html/InputElement">Input</a></code>
-, <code><a rel="custom" href="/api/js/html/TextAreaElement">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="/api/js/html/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="/api/js/html/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;
-
-}

+ 5 - 4
std/js/html/DOMSettableTokenList.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,12 +20,13 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/DOMSettableTokenList.webidl line 13:0. Do not edit!
+
 package js.html;
 
 @:native("DOMSettableTokenList")
 extern class DOMSettableTokenList extends DOMTokenList
 {
 	var value : String;
-
-}
+	
+}

+ 5 - 7
std/js/html/DOMStringList.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,16 +20,14 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/DOMStringList.webidl line 13:0. 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;
-
-}
+}

+ 6 - 7
std/js/html/BarInfo.hx → std/js/html/DOMStringMap.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,12 +20,11 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/DOMStringMap.webidl line 15:0. Do not edit!
+
 package js.html;
 
-@:native("BarInfo")
-extern class BarInfo
+@:native("DOMStringMap")
+extern class DOMStringMap
 {
-	var visible(default,null) : Bool;
-
-}
+}

+ 11 - 17
std/js/html/DOMTokenList.hx

@@ -1,5 +1,5 @@
 /*
- * Copyright (C)2005-2014 Haxe Foundation
+ * Copyright (C)2005-2015 Haxe Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -20,27 +20,21 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-// This file is generated, do not edit!
+// This file is generated from mozilla/DOMTokenList.webidl line 13:0. 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;
-
+	
+	/** @throws DOMError */
 	function contains( token : String ) : Bool;
-
-	function item( index : Int ) : String;
-
-	function remove( tokens : String ) : Void;
-
-	function toString() : String;
-
+	/** @throws DOMError */
+	function add( ?tokens : String ) : Void;
+	/** @throws DOMError */
+	function remove( ?tokens : String ) : Void;
+	/** @throws DOMError */
 	function toggle( token : String, ?force : Bool ) : Bool;
-
-}
+}

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

@@ -0,0 +1,36 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/DOMTransaction.webidl line 15:9. Do not edit!
+
+package js.html;
+
+@:native("DOMTransaction")
+extern class DOMTransaction
+{
+	var label(default,null) : String;
+	var executeAutomatic(default,null) : Void -> Void;
+	var execute(default,null) : Void -> Void;
+	var undo(default,null) : Void -> Void;
+	var redo(default,null) : Void -> Void;
+	
+}

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

@@ -0,0 +1,34 @@
+/*
+ * Copyright (C)2005-2015 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 from mozilla/DOMTransactionEvent.webidl line 8:0. Do not edit!
+
+package js.html;
+
+@:native("DOMTransactionEvent")
+extern class DOMTransactionEvent extends Event
+{
+	var transactions(default,null) : Dynamic;
+	
+	/** @throws DOMError */
+	function new( type : String, ?eventInitDict : DOMTransactionEventInit ) : Void;
+}

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio