Nicolas Cannasse 19 роки тому
батько
коміт
e0738a6e81

+ 1 - 33
std/haxe/ImportAll.hx

@@ -168,39 +168,7 @@ import tools.DocView;
 
 import js.Boot;
 import js.Lib;
-
-import js.Anchor;
-import js.Body;
-import js.Button;
-import js.Checkbox;
-import js.Document;
-import js.Event;
-import js.FileUpload;
-import js.Form;
-import js.FormElement;
-import js.Frame;
-import js.Frameset;
-import js.Hidden;
-import js.History;
-import js.HtmlCollection;
-import js.HtmlDom;
-import js.IFrame;
-import js.Image;
-import js.Link;
-import js.Location;
-import js.Navigator;
-import js.Option;
-import js.Password;
-import js.Radio;
-import js.Reset;
-import js.Screen;
-import js.Select;
-import js.Style;
-import js.StyleSheet;
-import js.Submit;
-import js.Text;
-import js.Textarea;
-import js.Window;
+import js.Dom;
 import js.XMLHttpRequest;
 
 #end

+ 0 - 53
std/js/Anchor.hx

@@ -1,53 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class Anchor extends HtmlDom {
-
-	function blur() : Void;
-	function focus() : Void;
-
-	var accessKey : String;
-	var href : String;
-	var id : String;
-	var innerHTML : String;
-	var name: String;
-	var rel : String;
-	var rev : String;
-	var tabIndex : Int;
-	var target : String;
-
-#if ie5
-	var charset : String;
-	var coords : String;
-	var hreflang : String;
-	var shape : String;
-	var type : String;
-#end
-
-	var onblur : Event -> Void;
-	var onfocus : Event -> Void;
-
-}

+ 0 - 45
std/js/Body.hx

@@ -1,45 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class Body extends HtmlDom {
-
-	// IE only, NO W3C var accessKey : String;
-	var aLink : String;
-	var background : String;
-	var bgColor : String;
-	var link : String;
-	var text : String;
-	var vLink : String;
-
-	#if w3c
-	#else true
-	var id : String;
-	var scrollLeft : Int;
-	var scrollTop : Int;
-	#end
-
-
-}

+ 0 - 33
std/js/Button.hx

@@ -1,33 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class Button extends FormElement {
-
-	var onmousedown : Event -> Void;
-	var onmouseup : Event -> Void;
-
-}
-

+ 0 - 33
std/js/Checkbox.hx

@@ -1,33 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class Checkbox extends FormElement {
-
-	var checked : Bool;
-	var defaultChecked : Bool;
-
-}
-

+ 0 - 82
std/js/Document.hx

@@ -1,82 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class Document extends HtmlDom {
-
-	var anchors : HtmlCollection<Anchor>;
-	// applets : Applet is deprecated in Dom2
-	var forms : HtmlCollection<Form>;
-	var images : HtmlCollection<Image>;
-	var links : HtmlCollection<Link>;
-	// plugins : Not in IE, not in W3C
-
-	/* deprecated in Dom2 , use body
-	var alinkColor;
-	var background;
-	var bgColor;
-	var fgColor;
-	var linkColor;
-	var vlinkColor;
-	*/
-
-	var body : Body;
-	var cookie : String;
-	var domain : String;
-	var referrer : String;
-	var title : String;
-
-	// TODO : var URL : String;
-
-	#if w3c
-	#else true
-	// not W3C , need infos : var embeds : HtmlCollection<Embed>;
-	var lastModified : Date;
-	var stylesheets : HtmlCollection<StyleSheet>;
-	function focus() : Void;
-	function getElementsByTag( tag : String ) : HtmlCollection<HtmlDom>;
-	#end
-
-	function open() : Void;
-	function write( str : String ) : Void;
-	function writeln( str : String ) : Void;
-	function close() : Void;
-	function getElementById( id : String ) : HtmlDom;
-	function getElementsByName( name : String ) : HtmlCollection<HtmlDom>;
-	function createElement( name : String ) : HtmlDom;
-
-	var onclick : Event -> Void;
-	var ondblclick : Event -> Void;
-	var onfocus : Event -> Void;
-	var onkeydown : Event -> Void;
-	var onkeyup : Event -> Void;
-	var onmousedown : Event -> Void;
-	var onmousemove : Event -> Void;
-	var onmouseout : Event -> Void;
-	var onmouseover : Event -> Void;
-	var onmouseup : Event -> Void;
-	var onresize : Event -> Void;
-
-}

+ 706 - 0
std/js/Dom.hx

@@ -0,0 +1,706 @@
+/*
+ * Copyright (c) 2005, The haXe Project Contributors
+ * All rights reserved.
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ *   - Redistributions of source code must retain the above copyright
+ *     notice, this list of conditions and the following disclaimer.
+ *   - Redistributions in binary form must reproduce the above copyright
+ *     notice, this list of conditions and the following disclaimer in the
+ *     documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
+ * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+ * DAMAGE.
+ */
+package js;
+
+// allow both indexed and dot accessses
+extern class HtmlCollection<T> extends Array<T>, implements Dynamic<T> {
+}
+
+// the base signature for every DOM element
+signature HtmlDom {
+
+	var style : Style;
+	var attributes : HtmlCollection<HtmlDom>; // on IE6 also ?
+	var nodeName : String;
+	var nodeType : Int;
+	var nodeValue : String;
+
+	var parentNode : HtmlDom;
+	var childNodes : Array<HtmlDom>;
+	var firstChild : HtmlDom;
+	var lastChild : HtmlDom;
+	var nextSibling : HtmlDom;
+	var previousSibling : HtmlDom;
+
+	function appendChild( child : HtmlDom ) : Void;
+	function cloneNode( deep : HtmlDom ) : HtmlDom;
+	function hasChildNodes() : Bool;
+	function insertBefore( newChild : HtmlDom, refChild : HtmlDom ) : Void;
+	function removeChild( child : HtmlDom ) : Void;
+	function replaceChild( child : HtmlDom, oldChild : HtmlDom ) : Void;
+
+}
+
+signature FormElement = {> HtmlDom,
+
+	var disabled : Bool;
+	var form : Form;
+	var name : String;
+	var type : String;
+	var value : String;
+
+	#if w3c
+	#else true
+	var id : String;
+	#end
+
+	function blur() : Void;
+	function click() : Void;
+	function focus() : Void;
+
+	var onblur : Event -> Void;
+	var onclick : Event -> Void;
+	var onfocus : Event -> Void;
+
+}
+
+signature Anchor = {> HtmlDom,
+
+	function blur() : Void;
+	function focus() : Void;
+
+	var accessKey : String;
+	var href : String;
+	var id : String;
+	var innerHTML : String;
+	var name: String;
+	var rel : String;
+	var rev : String;
+	var tabIndex : Int;
+	var target : String;
+
+#if ie5
+	var charset : String;
+	var coords : String;
+	var hreflang : String;
+	var shape : String;
+	var type : String;
+#end
+
+	var onblur : Event -> Void;
+	var onfocus : Event -> Void;
+}
+
+signature Body = {> HtmlDom,
+	// IE only, NO W3C var accessKey : String;
+	var aLink : String;
+	var background : String;
+	var bgColor : String;
+	var link : String;
+	var text : String;
+	var vLink : String;
+
+	#if w3c
+	#else true
+	var id : String;
+	var scrollLeft : Int;
+	var scrollTop : Int;
+	#end
+}
+
+signature Button = {> FormElement,
+	var onmousedown : Event -> Void;
+	var onmouseup : Event -> Void;
+}
+
+signature Checkbox = {> FormElement,
+	var checked : Bool;
+	var defaultChecked : Bool;
+}
+
+signature Document = {> HtmlDom,
+	var anchors : HtmlCollection<Anchor>;
+	// applets : Applet is deprecated in Dom2
+	var forms : HtmlCollection<Form>;
+	var images : HtmlCollection<Image>;
+	var links : HtmlCollection<Link>;
+	// plugins : Not in IE, not in W3C
+
+	/* deprecated in Dom2 , use body
+	var alinkColor;
+	var background;
+	var bgColor;
+	var fgColor;
+	var linkColor;
+	var vlinkColor;
+	*/
+
+	var body : Body;
+	var cookie : String;
+	var domain : String;
+	var referrer : String;
+	var title : String;
+
+	// TODO : var URL : String;
+
+	#if w3c
+	#else true
+	// not W3C , need infos : var embeds : HtmlCollection<Embed>;
+	var lastModified : Date;
+	var stylesheets : HtmlCollection<StyleSheet>;
+	function focus() : Void;
+	function getElementsByTag( tag : String ) : HtmlCollection<HtmlDom>;
+	#end
+
+	function open() : Void;
+	function write( str : String ) : Void;
+	function writeln( str : String ) : Void;
+	function close() : Void;
+	function getElementById( id : String ) : HtmlDom;
+	function getElementsByName( name : String ) : HtmlCollection<HtmlDom>;
+	function createElement( name : String ) : HtmlDom;
+
+	var onclick : Event -> Void;
+	var ondblclick : Event -> Void;
+	var onfocus : Event -> Void;
+	var onkeydown : Event -> Void;
+	var onkeyup : Event -> Void;
+	var onmousedown : Event -> Void;
+	var onmousemove : Event -> Void;
+	var onmouseout : Event -> Void;
+	var onmouseover : Event -> Void;
+	var onmouseup : Event -> Void;
+	var onresize : Event -> Void;
+}
+
+signature Event {
+	var target : HtmlDom;
+	var type : String;
+
+	// TO COMPLETE... (need infos)
+	var clientX : Int;
+	var clientY : Int;
+	var screenX : Int;
+	var screenY : Int;
+	var button : Int;
+	var keyCode : Int;
+	var shiftKey : Int;
+	var ctrlKey : Int;
+	var altKey : Int;
+	var cancelBubble : Bool;
+}
+
+signature FileUpload = {> FormElement,
+	var defaultValue : String;
+}
+
+signature Form = {> HtmlDom,
+
+	var elements : HtmlCollection<FormElement>;
+
+	var acceptCharset : String;
+	var action : String;
+	var encoding : String;
+	var enctype : String;
+	var id : String;
+	var length : Int;
+	var method : String;
+	var name : String;
+	var tabIndex : Int;
+	var target : String;
+
+	function reset() : Void;
+	function submit() : Void;
+
+	var onreset : Event -> Void;
+	var onsubmit : Event -> Void;
+
+}
+
+signature Frame = {> HtmlDom,
+
+	var contentDocument : Document;
+	var frameBorder : String;
+	// IE6 only ? var longDesc : String
+	var marginHeight : String;
+	var marginWidth : String;
+	var name : String;
+	var noResize : Bool;
+	var scrolling : String;
+	var src : String;
+
+	#if w3c
+	#else true
+	var id : String;
+	function blur() : Void;
+	function focus() : Void;
+	#end
+
+	/* IE only
+	var onblur : Event -> Void;
+	var onfocus : Event -> Void;
+	*/
+}
+
+signature Frameset = {> HtmlDom,
+	var cols : Int;
+	var rows : Int;
+	#if w3c
+	#else true
+	var id : String;
+	#end
+
+	function blur() : Void;
+	function focus() : Void;
+
+	/* IE only ?
+	var onblur : Event -> Void;
+	var onfocus : Event -> Void;
+	*/
+}
+
+signature Hidden = {> FormElement,
+	var defaultValue : String;
+}
+
+signature History {
+	var length : Int;
+	function back() : Void;
+	function forward() : Void;
+	function go( p : Dynamic ) : Void;
+}
+
+signature IFrame = {> HtmlDom,
+	var contentDocument : Document;
+	var frameBorder : String;
+	var height : Int;
+	var width : Int;
+	// IE6 only ? var longDesc : String
+	var marginHeight : String;
+	var marginWidth : String;
+	var name : String;
+	var scrolling : String;
+	var src : String;
+
+	#if w3c
+	#else true
+	var id : String;
+	var tabIndex : Int;
+	function blur() : Void;
+	function focus() : Void;
+	#end
+
+	/* IE only ?
+	var onblur : Event -> Void;
+	var onfocus : Event -> Void;
+	*/
+}
+
+signature Image = {> HtmlDom,
+	var align : String;
+	var alt : String;
+	var border : String;
+	var height : Int;
+	var hspace : Int;
+	var isMap : Bool;
+	// IE only : var longDesc : String;
+	var name : String;
+	var src : String;
+	var useMap : String;
+	var vspace : Int;
+	var width : Int;
+
+	#if w3c
+	#else true
+	var complete : Bool;
+	var id : String;
+	var lowsrc : String;
+	#end
+
+	/* IE ONLY
+	function blur() : Void;
+	function click() : Void;
+	function focus() : Void;
+	var onblur : Event -> Void;
+	var onclick : Event -> Void;
+	var onfocus : Event -> Void;
+	*/
+
+	var onabort : Event -> Void;
+	var onerror : Event -> Void;
+	var onload : Event -> Void;
+}
+
+signature Link = {> HtmlDom,
+	var charset : String;
+	var disabled : Bool;
+	var href : String;
+	var hreflang : String;
+	var media : String;
+	var rel : String;
+	var rev : String;
+	var target : String;
+	var type : String;
+
+	#if w3c
+	#else true
+	var id : String;
+	var name : String;
+	#end
+
+	var onload : Event -> Void;
+}
+
+signature Location {
+	var hash : String;
+	var host : String;
+	var hostname : String;
+	var href : String;
+	var pathname : String;
+	var port : Int;
+	var protocol : String;
+	var search : String;
+
+	function assign( url : String ) : Void;
+	function reload() : Void;
+	function replace( url : String ) : Void;
+}
+
+signature Navigator {
+	// var plugins : HtmlCollection<???>
+
+	var appCodeName : String;
+	var appName : String;
+	var appVersion : String;
+	var cookieEnabled : Bool;
+	var platform : String;
+	var userAgent : String;
+
+	/* IE only ?
+	var appMinorVersion : String
+	var browserLanguage : String
+	var cpuClass : String;
+	var onLine : Bool;
+	var systemLanguage : String;
+	var userLanguage : String;
+	*/
+
+	function javaEnabled() : Bool;
+	function taintEnabled() : Bool;
+}
+
+signature Option = {> FormElement,
+	var defaultSelected : String;
+	var selected : String;
+	var text : String;
+}
+
+signature Password = {> FormElement,
+	var defaultValue : String;
+	var maxLength : Int;
+	var readOnly : Bool;
+	var size : Int;
+
+	function select() : Void;
+
+	var onkeyup : Event -> Void;
+	var onkeydown : Event -> Void;
+	var onkeypress : Event -> Void;
+}
+
+signature Radio = {> FormElement,
+	var checked : Bool;
+	var defaultChecked : Bool;
+	var size : Int;
+
+	function select() : Void;
+}
+
+signature Reset = {> FormElement,
+	function select() : Void;
+}
+
+signature Screen {
+	var availHeight : Int;
+	var availWidth : Int;
+	var colorDepth : Int;
+	var height : Int;
+	var width : Int;
+
+	// FF only ? var pixelDepth : Int;
+
+	/* IE only ?
+	var bufferDepth : Int;
+	var deviceXDPI : Int;
+	var deviceYDPI : Int;
+	var logicalXDPI : Int;
+	var logicalYDPI : Int;
+	var updateInterval : Int;
+	*/
+}
+
+signature Select = {> FormElement,
+	var options : HtmlCollection<Option>;
+	var length : Int;
+	var multiple : Bool;
+	var selectedIndex : Int;
+	var size : Int;
+
+	function remove( o : Option ) : Void;
+
+	var onChange : Void -> Void;
+}
+
+signature Style {
+	// Position
+	var left : Int;
+	var bottom : Int;
+	var height : Int;
+	var width : Int;
+	var top : Int;
+	var right : Int;
+	var zIndex : Int;
+	var position : Dynamic;
+
+	// BG
+	var background : Dynamic;
+	var backgroundAttachment : Dynamic;
+	var backgroundColor : Dynamic;
+	var backgroundImage : Dynamic;
+	var backgroundPosition : Dynamic;
+	var backgroundRepeat : Dynamic;
+
+	// Border
+	var border : Dynamic;
+	var borderBottom : Dynamic;
+	var borderLeft : Dynamic;
+	var borderRight : Dynamic;
+	var borderTop : Dynamic;
+	var borderBottomColor : Dynamic;
+	var borderLeftColor : Dynamic;
+	var borderRightColor : Dynamic;
+	var borderTopColor : Dynamic;
+	var borderBottomStyle : Dynamic;
+	var borderLeftStyle : Dynamic;
+	var borderRightStyle : Dynamic;
+	var borderTopStyle : Dynamic;
+	var borderBottomWidth : Dynamic;
+	var borderLeftWidth : Dynamic;
+	var borderRightWidth : Dynamic;
+	var borderTopWidth : Dynamic;
+	var borderColor : Dynamic;
+	var borderStyle : String;
+	var borderWidth : Dynamic;
+
+
+	var margin : Dynamic;
+	var marginBottom : Dynamic;
+	var marginLeft : Dynamic;
+	var marginRight : Dynamic;
+	var marginTop : Dynamic;
+
+	var outline : Dynamic;
+	var outlineColor : Dynamic;
+	var outlineStyle : Dynamic;
+	var outlineWidth : Dynamic;
+	var padding : Dynamic;
+	var paddingBottom : Dynamic;
+	var paddingLeft : Dynamic;
+	var paddingRight : Dynamic;
+	var paddingTop : Dynamic;
+
+	var clear : String;
+	var clip : Dynamic;
+	var clipBottom : Dynamic;
+	var clipLeft : Dynamic;
+	var clipRight : Dynamic;
+	var clipTop : Dynamic;
+
+	var content : Dynamic;
+	var counterIncrement : Dynamic;
+	var counterReset : Dynamic;
+	var cssFloat : Dynamic;
+	var cursor : Dynamic;
+	var direction : Dynamic;
+	var display : Dynamic;
+
+	var markerOffset : Dynamic;
+	var marks : Dynamic;
+	var maxHeight : Dynamic;
+	var maxWidth : Dynamic;
+	var minHeight : Dynamic;
+	var minWidth : Dynamic;
+	var overflow : Dynamic;
+	var overflowX : Dynamic;
+	var overflowY : Dynamic;
+	var styleFloat : Dynamic;
+	var verticalAlign : Dynamic;
+	var visibility : Dynamic;
+	var zoom : Dynamic;
+
+	var listStyle : Dynamic;
+	var listStyleImage : Dynamic;
+	var listStylePosition : Dynamic;
+	var listStyleType : String;
+
+	var cssText : Dynamic;
+
+	var color : Dynamic;
+	var font : Dynamic;
+	var fontFamily : Dynamic;
+	var fontSize : Dynamic;
+	var fontSizeAdjust : Dynamic;
+	var fontStretch : Dynamic;
+	var fontStyle : Dynamic;
+	var fontVariant : Dynamic;
+	var fontWeight : Dynamic;
+	var letterSpacing : Dynamic;
+	var lineBreak : Dynamic;
+	var lineHeight : Dynamic;
+	var quotes : Dynamic;
+	var rubyAlign : Dynamic;
+	var rubyOverhang : Dynamic;
+	var rubyPosition : Dynamic;
+	var textAlign : Dynamic;
+	var textAlignLast : Dynamic;
+	var textAutospace : Dynamic;
+	var textDecoration : Dynamic;
+	var textDecorationBlink : Dynamic;
+	var textDecorationLineThrough : Dynamic;
+	var textDecorationLineNone : Dynamic;
+	var textDecorationLineOverline : Dynamic;
+	var textDecorationLineUnderline : Dynamic;
+	var textIndent : Dynamic;
+	var textJustify : Dynamic;
+	var textJustifyTrim : Dynamic;
+	var textKashidaSpace : Dynamic;
+	var textOverflow : Dynamic;
+	var textShadow : Dynamic;
+	var textTransform : Dynamic;
+	var textUnderlinePosition : Dynamic;
+	var unicodeBidi : Dynamic;
+	var whiteSpace : Dynamic;
+	var wordBreak : Dynamic;
+	var wordSpacing : Dynamic;
+	var wordWrap : Dynamic;
+	var writingMode : Dynamic;
+}
+
+signature StyleSheet {
+	var type : String;
+	var disabled : Bool;
+	var href : String;
+	var title : String;
+	// ??? more ???
+}
+
+signature Submit = {> FormElement,
+	function select() : Void;
+	var onselectstart : Event -> Void;
+}
+
+signature Text = {> FormElement,
+	var defaultValue : String;
+	var maxLength : Int;
+	var readOnly : Bool;
+	var size : Int;
+
+	function select() : Void;
+
+	var onchange : Event -> Void;
+	var onkeydown : Event -> Void;
+	var onkeypress : Event -> Void;
+	var onkeyup : Event -> Void;
+	var onselect : Event -> Void;
+}
+
+signature Textarea = {> FormElement,
+	var cols : Int;
+	var rows : Int;
+	var defaultValue : String;
+	var readOnly : Bool;
+
+	function select() : Void;
+
+	var onchange : Event -> Void;
+
+	/* not on IE ?
+	var onkeydown : Event -> Void;
+	var onkeypress : Event -> Void;
+	var onkeyup : Event -> Void;
+	var onkelect : Event -> Void;
+	*/
+}
+
+signature Window {
+
+	var history : History;
+	var location : Location;
+	var document : Document;
+	var navigator : Navigator;
+	var screen : Screen;
+
+	var frames : HtmlCollection<Frame>;
+	var closed : Bool;
+	var defaultStatus : String;
+	var length : Int;
+	var name : String;
+	var opener : Window;
+	var parent : Window;
+
+	var self : Window;
+	var status : String;
+	var top : Window;
+
+	function alert( msg : String ) : Void;
+	function blur() : Void;
+	// clearInterval
+	// clearTimeout
+	function close() : Void;
+	function confirm( msg : String ) : Bool;
+	function focus() : Void;
+	function moveBy( dx : Int, dy : Int ) : Void;
+	function moveTo( x : Int, y : Int ) : Void;
+	function print() : Void;
+	function prompt( msg : String ) : String;
+	// FF1.5 resizeTo
+	function scrollBy( dx : Int, dy : Int ) : Void;
+	function scrollTo( x : Int, y : Int ) : Void;
+	// setInterval
+	// setTimeout
+
+	/* IE only ?
+	clientInformation
+	clipboardData
+	event
+	external
+	dialogArguments
+	dialog....
+	frameElement
+	offscreenBuffering
+	returnValue
+	screenTop
+	createPopup()
+	execScript()
+	navigate(url)
+	resizeBy()
+	scroll();
+	setActive()
+	showHelp()
+	show...()
+	*/
+
+ 	// events : only on FF
+}

+ 0 - 44
std/js/Event.hx

@@ -1,44 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class Event {
-
-	var target : HtmlDom;
-	var type : String;
-
-	// TO COMPLETE... (need infos)
-	var clientX : Int;
-	var clientY : Int;
-	var screenX : Int;
-	var screenY : Int;
-	var button : Int;
-	var keyCode : Int;
-	var shiftKey : Int;
-	var ctrlKey : Int;
-	var altKey : Int;
-	var cancelBubble : Bool;
-
-}

+ 0 - 32
std/js/FileUpload.hx

@@ -1,32 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class FileUpload extends FormElement {
-
-	var defaultValue : String;
-
-}
-

+ 0 - 48
std/js/Form.hx

@@ -1,48 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class Form extends HtmlDom {
-
-	var elements : HtmlCollection<FormElement>;
-
-	var acceptCharset : String;
-	var action : String;
-	var encoding : String;
-	var enctype : String;
-	var id : String;
-	var length : Int;
-	var method : String;
-	var name : String;
-	var tabIndex : Int;
-	var target : String;
-
-	function reset() : Void;
-	function submit() : Void;
-
-	var onreset : Event -> Void;
-	var onsubmit : Event -> Void;
-
-}

+ 0 - 48
std/js/FormElement.hx

@@ -1,48 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class FormElement extends HtmlDom {
-
-	var disabled : Bool;
-	var form : Form;
-	var name : String;
-	var type : String;
-	var value : String;
-
-	#if w3c
-	#else true
-	var id : String;
-	#end
-
-	function blur() : Void;
-	function click() : Void;
-	function focus() : Void;
-
-	var onblur : Event -> Void;
-	var onclick : Event -> Void;
-	var onfocus : Event -> Void;
-
-}

+ 0 - 51
std/js/Frame.hx

@@ -1,51 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class Frame extends HtmlDom {
-
-	var contentDocument : Document;
-	var frameBorder : String;
-	// IE6 only ? var longDesc : String
-	var marginHeight : String;
-	var marginWidth : String;
-	var name : String;
-	var noResize : Bool;
-	var scrolling : String;
-	var src : String;
-
-	#if w3c
-	#else true
-	var id : String;
-	function blur() : Void;
-	function focus() : Void;
-	#end
-
-	/* IE only
-	var onblur : Event -> Void;
-	var onfocus : Event -> Void;
-	*/
-}
-

+ 0 - 44
std/js/Frameset.hx

@@ -1,44 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class Frameset extends HtmlDom {
-
-	var cols : Int;
-	var rows : Int;
-	#if w3c
-	#else true
-	var id : String;
-	#end
-
-	function blur() : Void;
-	function focus() : Void;
-
-	/* IE only ?
-	var onblur : Event -> Void;
-	var onfocus : Event -> Void;
-	*/
-
-}

+ 0 - 32
std/js/Hidden.hx

@@ -1,32 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class Hidden extends FormElement {
-
-	var defaultValue : String;
-
-}
-

+ 0 - 33
std/js/History.hx

@@ -1,33 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class History {
-
-	var length : Int;
-	function back() : Void;
-	function forward() : Void;
-	function go( p : Dynamic ) : Void;
-}

+ 0 - 29
std/js/HtmlCollection.hx

@@ -1,29 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class HtmlCollection<T> extends Array<T>, implements Dynamic<T> {
-
-}

+ 0 - 49
std/js/HtmlDom.hx

@@ -1,49 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class HtmlDom {
-
-	var style : Style;
-	var attributes : HtmlCollection<HtmlDom>; // on IE6 also ?
-	var nodeName : String;
-	var nodeType : Int;
-	var nodeValue : String;
-
-	var parentNode : HtmlDom;
-	var childNodes : Array<HtmlDom>;
-	var firstChild : HtmlDom;
-	var lastChild : HtmlDom;
-	var nextSibling : HtmlDom;
-	var previousSibling : HtmlDom;
-
-	function appendChild( child : HtmlDom ) : Void;
-	function cloneNode( deep : HtmlDom ) : HtmlDom;
-	function hasChildNodes() : Bool;
-	function insertBefore( newChild : HtmlDom, refChild : HtmlDom ) : Void;
-	function removeChild( child : HtmlDom ) : Void;
-	function replaceChild( child : HtmlDom, oldChild : HtmlDom ) : Void;
-
-}

+ 0 - 53
std/js/IFrame.hx

@@ -1,53 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class IFrame extends HtmlDom {
-
-	var contentDocument : Document;
-	var frameBorder : String;
-	var height : Int;
-	var width : Int;
-	// IE6 only ? var longDesc : String
-	var marginHeight : String;
-	var marginWidth : String;
-	var name : String;
-	var scrolling : String;
-	var src : String;
-
-	#if w3c
-	#else true
-	var id : String;
-	var tabIndex : Int;
-	function blur() : Void;
-	function focus() : Void;
-	#end
-
-	/* IE only ?
-	var onblur : Event -> Void;
-	var onfocus : Event -> Void;
-	*/
-}
-

+ 0 - 62
std/js/Image.hx

@@ -1,62 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class Image extends HtmlDom {
-
-	var align : String;
-	var alt : String;
-	var border : String;
-	var height : Int;
-	var hspace : Int;
-	var isMap : Bool;
-	// IE only : var longDesc : String;
-	var name : String;
-	var src : String;
-	var useMap : String;
-	var vspace : Int;
-	var width : Int;
-
-	#if w3c
-	#else true
-	var complete : Bool;
-	var id : String;
-	var lowsrc : String;
-	#end
-
-	/* IE ONLY
-	function blur() : Void;
-	function click() : Void;
-	function focus() : Void;
-	var onblur : Event -> Void;
-	var onclick : Event -> Void;
-	var onfocus : Event -> Void;
-	*/
-
-	var onabort : Event -> Void;
-	var onerror : Event -> Void;
-	var onload : Event -> Void;
-
-}

+ 2 - 0
std/js/Lib.hx

@@ -24,6 +24,8 @@
  */
 package js;
 
+import js.Dom;
+
 class Lib {
 
 	public static var isIE : Bool;

+ 0 - 47
std/js/Link.hx

@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class Link extends HtmlDom {
-
-	var charset : String;
-	var disabled : Bool;
-	var href : String;
-	var hreflang : String;
-	var media : String;
-	var rel : String;
-	var rev : String;
-	var target : String;
-	var type : String;
-
-	#if w3c
-	#else true
-	var id : String;
-	var name : String;
-	#end
-
-	var onload : Event -> Void;
-
-}

+ 0 - 42
std/js/Location.hx

@@ -1,42 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class Location {
-
-	var hash : String;
-	var host : String;
-	var hostname : String;
-	var href : String;
-	var pathname : String;
-	var port : Int;
-	var protocol : String;
-	var search : String;
-
-	function assign( url : String ) : Void;
-	function reload() : Void;
-	function replace( url : String ) : Void;
-
-}

+ 0 - 50
std/js/Navigator.hx

@@ -1,50 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class Navigator {
-
-	// var plugins : HtmlCollection<???>
-
-	var appCodeName : String;
-	var appName : String;
-	var appVersion : String;
-	var cookieEnabled : Bool;
-	var platform : String;
-	var userAgent : String;
-
-	/* IE only ?
-	var appMinorVersion : String
-	var browserLanguage : String
-	var cpuClass : String;
-	var onLine : Bool;
-	var systemLanguage : String;
-	var userLanguage : String;
-	*/
-
-	function javaEnabled() : Bool;
-	function taintEnabled() : Bool;
-
-}

+ 0 - 34
std/js/Option.hx

@@ -1,34 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class Option extends FormElement {
-
-	var defaultSelected : String;
-	var selected : String;
-	var text : String;
-
-}
-

+ 0 - 41
std/js/Password.hx

@@ -1,41 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class Password extends FormElement {
-
-	var defaultValue : String;
-	var maxLength : Int;
-	var readOnly : Bool;
-	var size : Int;
-
-	function select() : Void;
-
-	var onkeyup : Event -> Void;
-	var onkeydown : Event -> Void;
-	var onkeypress : Event -> Void;
-
-}
-

+ 0 - 36
std/js/Radio.hx

@@ -1,36 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class Radio extends FormElement {
-
-	var checked : Bool;
-	var defaultChecked : Bool;
-	var size : Int;
-
-	function select() : Void;
-
-}
-

+ 0 - 31
std/js/Reset.hx

@@ -1,31 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class Reset extends FormElement {
-
-	function select() : Void;
-}
-

+ 0 - 46
std/js/Screen.hx

@@ -1,46 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class Screen {
-
-	var availHeight : Int;
-	var availWidth : Int;
-	var colorDepth : Int;
-	var height : Int;
-	var width : Int;
-
-	// FF only ? var pixelDepth : Int;
-
-	/* IE only ?
-	var bufferDepth : Int;
-	var deviceXDPI : Int;
-	var deviceYDPI : Int;
-	var logicalXDPI : Int;
-	var logicalYDPI : Int;
-	var updateInterval : Int;
-	*/
-
-}

+ 0 - 40
std/js/Select.hx

@@ -1,40 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class Select extends FormElement {
-
-	var options : HtmlCollection<Option>;
-	var length : Int;
-	var multiple : Bool;
-	var selectedIndex : Int;
-	var size : Int;
-
-	function remove( o : Option ) : Void;
-
-	var onChange : Void -> Void;
-
-}
-

+ 0 - 162
std/js/Style.hx

@@ -1,162 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class Style {
-
-	// Position
-	var left : Int;
-	var bottom : Int;
-	var height : Int;
-	var width : Int;
-	var top : Int;
-	var right : Int;
-	var zIndex : Int;
-	var position : Dynamic;
-
-	// BG
-	var background : Dynamic;
-	var backgroundAttachment : Dynamic;
-	var backgroundColor : Dynamic;
-	var backgroundImage : Dynamic;
-	var backgroundPosition : Dynamic;
-	var backgroundRepeat : Dynamic;
-
-	// Border
-	var border : Dynamic;
-	var borderBottom : Dynamic;
-	var borderLeft : Dynamic;
-	var borderRight : Dynamic;
-	var borderTop : Dynamic;
-	var borderBottomColor : Dynamic;
-	var borderLeftColor : Dynamic;
-	var borderRightColor : Dynamic;
-	var borderTopColor : Dynamic;
-	var borderBottomStyle : Dynamic;
-	var borderLeftStyle : Dynamic;
-	var borderRightStyle : Dynamic;
-	var borderTopStyle : Dynamic;
-	var borderBottomWidth : Dynamic;
-	var borderLeftWidth : Dynamic;
-	var borderRightWidth : Dynamic;
-	var borderTopWidth : Dynamic;
-	var borderColor : Dynamic;
-	var borderStyle : String;
-	var borderWidth : Dynamic;
-
-
-	var margin : Dynamic;
-	var marginBottom : Dynamic;
-	var marginLeft : Dynamic;
-	var marginRight : Dynamic;
-	var marginTop : Dynamic;
-
-	var outline : Dynamic;
-	var outlineColor : Dynamic;
-	var outlineStyle : Dynamic;
-	var outlineWidth : Dynamic;
-	var padding : Dynamic;
-	var paddingBottom : Dynamic;
-	var paddingLeft : Dynamic;
-	var paddingRight : Dynamic;
-	var paddingTop : Dynamic;
-
-	var clear : String;
-	var clip : Dynamic;
-	var clipBottom : Dynamic;
-	var clipLeft : Dynamic;
-	var clipRight : Dynamic;
-	var clipTop : Dynamic;
-
-	var content : Dynamic;
-	var counterIncrement : Dynamic;
-	var counterReset : Dynamic;
-	var cssFloat : Dynamic;
-	var cursor : Dynamic;
-	var direction : Dynamic;
-	var display : Dynamic;
-
-	var markerOffset : Dynamic;
-	var marks : Dynamic;
-	var maxHeight : Dynamic;
-	var maxWidth : Dynamic;
-	var minHeight : Dynamic;
-	var minWidth : Dynamic;
-	var overflow : Dynamic;
-	var overflowX : Dynamic;
-	var overflowY : Dynamic;
-	var styleFloat : Dynamic;
-	var verticalAlign : Dynamic;
-	var visibility : Dynamic;
-	var zoom : Dynamic;
-
-	var listStyle : Dynamic;
-	var listStyleImage : Dynamic;
-	var listStylePosition : Dynamic;
-	var listStyleType : String;
-
-	var cssText : Dynamic;
-
-	var color : Dynamic;
-	var font : Dynamic;
-	var fontFamily : Dynamic;
-	var fontSize : Dynamic;
-	var fontSizeAdjust : Dynamic;
-	var fontStretch : Dynamic;
-	var fontStyle : Dynamic;
-	var fontVariant : Dynamic;
-	var fontWeight : Dynamic;
-	var letterSpacing : Dynamic;
-	var lineBreak : Dynamic;
-	var lineHeight : Dynamic;
-	var quotes : Dynamic;
-	var rubyAlign : Dynamic;
-	var rubyOverhang : Dynamic;
-	var rubyPosition : Dynamic;
-	var textAlign : Dynamic;
-	var textAlignLast : Dynamic;
-	var textAutospace : Dynamic;
-	var textDecoration : Dynamic;
-	var textDecorationBlink : Dynamic;
-	var textDecorationLineThrough : Dynamic;
-	var textDecorationLineNone : Dynamic;
-	var textDecorationLineOverline : Dynamic;
-	var textDecorationLineUnderline : Dynamic;
-	var textIndent : Dynamic;
-	var textJustify : Dynamic;
-	var textJustifyTrim : Dynamic;
-	var textKashidaSpace : Dynamic;
-	var textOverflow : Dynamic;
-	var textShadow : Dynamic;
-	var textTransform : Dynamic;
-	var textUnderlinePosition : Dynamic;
-	var unicodeBidi : Dynamic;
-	var whiteSpace : Dynamic;
-	var wordBreak : Dynamic;
-	var wordSpacing : Dynamic;
-	var wordWrap : Dynamic;
-	var writingMode : Dynamic;
-
-}

+ 0 - 34
std/js/StyleSheet.hx

@@ -1,34 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class StyleSheet {
-
-	var type : String;
-	var disabled : Bool;
-	var href : String;
-	var title : String;
-	// ??? more ???
-}

+ 0 - 32
std/js/Submit.hx

@@ -1,32 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class Submit extends FormElement {
-
-	function select() : Void;
-	var onselectstart : Event -> Void;
-}
-

+ 0 - 43
std/js/Text.hx

@@ -1,43 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class Text extends FormElement {
-
-	var defaultValue : String;
-	var maxLength : Int;
-	var readOnly : Bool;
-	var size : Int;
-
-	function select() : Void;
-
-	var onchange : Event -> Void;
-	var onkeydown : Event -> Void;
-	var onkeypress : Event -> Void;
-	var onkeyup : Event -> Void;
-	var onselect : Event -> Void;
-
-}
-

+ 0 - 46
std/js/Textarea.hx

@@ -1,46 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class Textarea extends FormElement {
-
-	var cols : Int;
-	var rows : Int;
-	var defaultValue : String;
-	var readOnly : Bool;
-
-	function select() : Void;
-
-	var onchange : Event -> Void;
-
-	/* not on IE ?
-	var onkeydown : Event -> Void;
-	var onkeypress : Event -> Void;
-	var onkeyup : Event -> Void;
-	var onkelect : Event -> Void;
-	*/
-
-}
-

+ 0 - 87
std/js/Window.hx

@@ -1,87 +0,0 @@
-/*
- * Copyright (c) 2005, The haXe Project Contributors
- * All rights reserved.
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- *   - Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- *   - Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
- */
-package js;
-
-extern class Window {
-
-	var history : History;
-	var location : Location;
-	var document : Document;
-	var navigator : Navigator;
-	var screen : Screen;
-
-	var frames : HtmlCollection<Frame>;
-	var closed : Bool;
-	var defaultStatus : String;
-	var length : Int;
-	var name : String;
-	var opener : Window;
-	var parent : Window;
-
-	var self : Window;
-	var status : String;
-	var top : Window;
-
-	function alert( msg : String ) : Void;
-	function blur() : Void;
-	// clearInterval
-	// clearTimeout
-	function close() : Void;
-	function confirm( msg : String ) : Bool;
-	function focus() : Void;
-	function moveBy( dx : Int, dy : Int ) : Void;
-	function moveTo( x : Int, y : Int ) : Void;
-	function print() : Void;
-	function prompt( msg : String ) : String;
-	// FF1.5 resizeTo
-	function scrollBy( dx : Int, dy : Int ) : Void;
-	function scrollTo( x : Int, y : Int ) : Void;
-	// setInterval
-	// setTimeout
-
-	/* IE only ?
-	clientInformation
-	clipboardData
-	event
-	external
-	dialogArguments
-	dialog....
-	frameElement
-	offscreenBuffering
-	returnValue
-	screenTop
-	createPopup()
-	execScript()
-	navigate(url)
-	resizeBy()
-	scroll();
-	setActive()
-	showHelp()
-	show...()
-	*/
-
- 	// events : only on FF
-}
-