From 4fba6cd59cbfc880189d183badb0ee43889d5672 Mon Sep 17 00:00:00 2001 From: "jst%netscape.com" Date: Mon, 22 Jan 2001 02:36:07 +0000 Subject: [PATCH] Interface cleanup, not part of the build yet. git-svn-id: svn://10.0.0.236/trunk@85248 18797224-902f-48f8-a5cc-f745e15eee43 --- .../idl/html/nsIDOMHTMLAnchorElement.idl | 30 ++++++------ .../idl/html/nsIDOMHTMLAppletElement.idl | 24 +++++----- .../public/idl/html/nsIDOMHTMLAreaElement.idl | 18 ++++---- .../public/idl/html/nsIDOMHTMLBRElement.idl | 4 +- .../public/idl/html/nsIDOMHTMLBaseElement.idl | 6 +-- .../idl/html/nsIDOMHTMLBaseFontElement.idl | 8 ++-- .../public/idl/html/nsIDOMHTMLBodyElement.idl | 14 +++--- .../idl/html/nsIDOMHTMLButtonElement.idl | 16 +++---- .../public/idl/html/nsIDOMHTMLCollection.idl | 8 ++-- .../idl/html/nsIDOMHTMLDListElement.idl | 4 +- .../idl/html/nsIDOMHTMLDirectoryElement.idl | 4 +- .../public/idl/html/nsIDOMHTMLDivElement.idl | 4 +- .../public/idl/html/nsIDOMHTMLDocument.idl | 34 +++++++------- .../dom/public/idl/html/nsIDOMHTMLElement.idl | 21 ++------- .../idl/html/nsIDOMHTMLEmbedElement.idl | 16 +++---- .../idl/html/nsIDOMHTMLFieldSetElement.idl | 4 +- .../public/idl/html/nsIDOMHTMLFontElement.idl | 8 ++-- .../idl/html/nsIDOMHTMLFormControlList.idl | 8 ++-- .../public/idl/html/nsIDOMHTMLFormElement.idl | 22 ++++----- .../idl/html/nsIDOMHTMLFrameElement.idl | 20 ++++---- .../idl/html/nsIDOMHTMLFrameSetElement.idl | 6 +-- .../public/idl/html/nsIDOMHTMLHRElement.idl | 10 ++-- .../public/idl/html/nsIDOMHTMLHeadElement.idl | 4 +- .../idl/html/nsIDOMHTMLHeadingElement.idl | 4 +- .../public/idl/html/nsIDOMHTMLHtmlElement.idl | 4 +- .../idl/html/nsIDOMHTMLIFrameElement.idl | 24 +++++----- .../idl/html/nsIDOMHTMLImageElement.idl | 30 ++++++------ .../idl/html/nsIDOMHTMLInputElement.idl | 46 +++++++++---------- .../idl/html/nsIDOMHTMLIsIndexElement.idl | 6 +-- .../public/idl/html/nsIDOMHTMLLIElement.idl | 6 +-- .../idl/html/nsIDOMHTMLLabelElement.idl | 8 ++-- .../idl/html/nsIDOMHTMLLegendElement.idl | 8 ++-- .../public/idl/html/nsIDOMHTMLLinkElement.idl | 20 ++++---- .../public/idl/html/nsIDOMHTMLMapElement.idl | 6 +-- .../public/idl/html/nsIDOMHTMLMenuElement.idl | 4 +- .../public/idl/html/nsIDOMHTMLMetaElement.idl | 10 ++-- .../public/idl/html/nsIDOMHTMLModElement.idl | 6 +-- .../idl/html/nsIDOMHTMLOListElement.idl | 8 ++-- .../idl/html/nsIDOMHTMLObjectElement.idl | 42 ++++++++--------- .../idl/html/nsIDOMHTMLOptGroupElement.idl | 6 +-- .../idl/html/nsIDOMHTMLOptionElement.idl | 20 ++++---- .../idl/html/nsIDOMHTMLParagraphElement.idl | 4 +- .../idl/html/nsIDOMHTMLParamElement.idl | 10 ++-- .../public/idl/html/nsIDOMHTMLPreElement.idl | 4 +- .../idl/html/nsIDOMHTMLQuoteElement.idl | 4 +- .../idl/html/nsIDOMHTMLScriptElement.idl | 16 +++---- .../idl/html/nsIDOMHTMLSelectElement.idl | 33 +++++++------ .../idl/html/nsIDOMHTMLStyleElement.idl | 8 ++-- .../idl/html/nsIDOMHTMLTableCellElement.idl | 32 ++++++------- .../idl/html/nsIDOMHTMLTableColElement.idl | 14 +++--- .../idl/html/nsIDOMHTMLTableElement.idl | 46 +++++++++---------- .../idl/html/nsIDOMHTMLTableRowElement.idl | 22 ++++----- .../idl/html/nsIDOMHTMLTextAreaElement.idl | 30 ++++++------ .../idl/html/nsIDOMHTMLTitleElement.idl | 4 +- .../idl/html/nsIDOMHTMLUListElement.idl | 6 +-- .../idl/html/nsIDOMNSHTMLAnchorElement.idl | 18 ++++---- .../idl/html/nsIDOMNSHTMLAreaElement.idl | 16 +++---- .../idl/html/nsIDOMNSHTMLButtonElement.idl | 6 +-- .../public/idl/html/nsIDOMNSHTMLDocument.idl | 38 ++++++++------- .../idl/html/nsIDOMNSHTMLFormElement.idl | 8 ++-- .../idl/html/nsIDOMNSHTMLImageElement.idl | 20 ++------ .../idl/html/nsIDOMNSHTMLInputElement.idl | 16 +++---- .../idl/html/nsIDOMNSHTMLSelectElement.idl | 6 +-- .../idl/html/nsIDOMNSHTMLTextAreaElement.idl | 4 +- 64 files changed, 384 insertions(+), 532 deletions(-) diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLAnchorElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLAnchorElement.idl index 990a16ab0a1..fbe9195efad 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLAnchorElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLAnchorElement.idl @@ -24,20 +24,18 @@ [scriptable, uuid(a6cf90aa-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLAnchorElement : nsIDOMHTMLElement { - - attribute DOMString accessKey; - attribute DOMString charset; - attribute DOMString coords; - attribute DOMString href; - attribute DOMString hreflang; - attribute DOMString name; - attribute DOMString rel; - attribute DOMString rev; - attribute DOMString shape; - attribute long tabIndex; - attribute DOMString target; - attribute DOMString type; - void blur(); - void focus(); + attribute DOMString accessKey; + attribute DOMString charset; + attribute DOMString coords; + attribute DOMString href; + attribute DOMString hreflang; + attribute DOMString name; + attribute DOMString rel; + attribute DOMString rev; + attribute DOMString shape; + attribute long tabIndex; + attribute DOMString target; + attribute DOMString type; + void blur(); + void focus(); }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLAppletElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLAppletElement.idl index 5cae386a46e..299b587c093 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLAppletElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLAppletElement.idl @@ -24,17 +24,15 @@ [scriptable, uuid(a6cf90ae-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLAppletElement : nsIDOMHTMLElement { - - attribute DOMString align; - attribute DOMString alt; - attribute DOMString archive; - attribute DOMString code; - attribute DOMString codeBase; - attribute DOMString height; - attribute DOMString hspace; - attribute DOMString name; - attribute DOMString object; - attribute DOMString vspace; - attribute DOMString width; + attribute DOMString align; + attribute DOMString alt; + attribute DOMString archive; + attribute DOMString code; + attribute DOMString codeBase; + attribute DOMString height; + attribute DOMString hspace; + attribute DOMString name; + attribute DOMString object; + attribute DOMString vspace; + attribute DOMString width; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLAreaElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLAreaElement.idl index cc72a35bf7b..b53122c4f2b 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLAreaElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLAreaElement.idl @@ -24,14 +24,12 @@ [scriptable, uuid(a6cf90b0-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLAreaElement : nsIDOMHTMLElement { - - attribute DOMString accessKey; - attribute DOMString alt; - attribute DOMString coords; - attribute DOMString href; - attribute boolean noHref; - attribute DOMString shape; - attribute long tabIndex; - attribute DOMString target; + attribute DOMString accessKey; + attribute DOMString alt; + attribute DOMString coords; + attribute DOMString href; + attribute boolean noHref; + attribute DOMString shape; + attribute long tabIndex; + attribute DOMString target; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLBRElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLBRElement.idl index 71ddf764c69..a91abe6154e 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLBRElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLBRElement.idl @@ -24,7 +24,5 @@ [scriptable, uuid(a6cf90a5-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLBRElement : nsIDOMHTMLElement { - - attribute DOMString clear; + attribute DOMString clear; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLBaseElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLBaseElement.idl index d1355ebf2ed..e52d07854d2 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLBaseElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLBaseElement.idl @@ -24,8 +24,6 @@ [scriptable, uuid(a6cf908b-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLBaseElement : nsIDOMHTMLElement { - - attribute DOMString href; - attribute DOMString target; + attribute DOMString href; + attribute DOMString target; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLBaseFontElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLBaseFontElement.idl index f7b2be22979..0d963adb23a 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLBaseFontElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLBaseFontElement.idl @@ -24,9 +24,7 @@ [scriptable, uuid(a6cf90a6-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLBaseFontElement : nsIDOMHTMLElement { - - attribute DOMString color; - attribute DOMString face; - attribute DOMString size; + attribute DOMString color; + attribute DOMString face; + attribute DOMString size; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLBodyElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLBodyElement.idl index 8c3e3e5ef08..0d3566f64f0 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLBodyElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLBodyElement.idl @@ -24,12 +24,10 @@ [scriptable, uuid(a6cf908e-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLBodyElement : nsIDOMHTMLElement { - - attribute DOMString aLink; - attribute DOMString background; - attribute DOMString bgColor; - attribute DOMString link; - attribute DOMString text; - attribute DOMString vLink; + attribute DOMString aLink; + attribute DOMString background; + attribute DOMString bgColor; + attribute DOMString link; + attribute DOMString text; + attribute DOMString vLink; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLButtonElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLButtonElement.idl index c780cb89b0f..0145cfc0ed2 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLButtonElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLButtonElement.idl @@ -24,13 +24,11 @@ [scriptable, uuid(a6cf9095-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLButtonElement : nsIDOMHTMLElement { - - readonly attribute nsIDOMHTMLFormElement form; - attribute DOMString accessKey; - attribute boolean disabled; - attribute DOMString name; - attribute long tabIndex; - readonly attribute DOMString type; - attribute DOMString value; + readonly attribute nsIDOMHTMLFormElement form; + attribute DOMString accessKey; + attribute boolean disabled; + attribute DOMString name; + attribute long tabIndex; + readonly attribute DOMString type; + attribute DOMString value; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLCollection.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLCollection.idl index 01ce170792b..57e0690ed09 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLCollection.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLCollection.idl @@ -24,9 +24,7 @@ [scriptable, uuid(a6cf9083-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLCollection : nsISupports { - - readonly attribute unsigned long length; - nsIDOMNode item(in unsigned long index); - nsIDOMNode namedItem(in DOMString name); + readonly attribute unsigned long length; + nsIDOMNode item(in unsigned long index); + nsIDOMNode namedItem(in DOMString name); }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLDListElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLDListElement.idl index 9e8b79e7657..39547759419 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLDListElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLDListElement.idl @@ -24,7 +24,5 @@ [scriptable, uuid(a6cf909b-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLDListElement : nsIDOMHTMLElement { - - attribute boolean compact; + attribute boolean compact; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLDirectoryElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLDirectoryElement.idl index 37a9ae68925..d4116af2a32 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLDirectoryElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLDirectoryElement.idl @@ -24,7 +24,5 @@ [scriptable, uuid(a6cf909c-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLDirectoryElement : nsIDOMHTMLElement { - - attribute boolean compact; + attribute boolean compact; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLDivElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLDivElement.idl index faa15a51b41..9810d7831a5 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLDivElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLDivElement.idl @@ -24,7 +24,5 @@ [scriptable, uuid(a6cf90a0-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLDivElement : nsIDOMHTMLElement { - - attribute DOMString align; + attribute DOMString align; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLDocument.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLDocument.idl index 73b1df03bd1..3185230eead 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLDocument.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLDocument.idl @@ -24,23 +24,21 @@ [scriptable, uuid(a6cf9084-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLDocument : nsIDOMDocument { + attribute DOMString title; + readonly attribute DOMString referrer; + attribute DOMString domain; + readonly attribute DOMString URL; + attribute nsIDOMHTMLElement body; + readonly attribute nsIDOMHTMLCollection images; + readonly attribute nsIDOMHTMLCollection applets; + readonly attribute nsIDOMHTMLCollection links; + readonly attribute nsIDOMHTMLCollection forms; + readonly attribute nsIDOMHTMLCollection anchors; + attribute DOMString cookie; - attribute DOMString title; - readonly attribute DOMString referrer; - attribute DOMString domain; - readonly attribute DOMString URL; - attribute nsIDOMHTMLElement body; - readonly attribute nsIDOMHTMLCollection images; - readonly attribute nsIDOMHTMLCollection applets; - readonly attribute nsIDOMHTMLCollection links; - readonly attribute nsIDOMHTMLCollection forms; - readonly attribute nsIDOMHTMLCollection anchors; - attribute DOMString cookie; - - [noscript] void open(); - void close(); - [noscript] void write(in DOMString text); - [noscript] void writeln(in DOMString text); - nsIDOMNodeList getElementsByName(in DOMString elementName); + [noscript] void open(); + void close(); + [noscript] void write(in DOMString text); + [noscript] void writeln(in DOMString text); + nsIDOMNodeList getElementsByName(in DOMString elementName); }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLElement.idl index adc7b3a6380..284eb5e58cf 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLElement.idl @@ -24,20 +24,9 @@ [scriptable, uuid(a6cf9085-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLElement : nsIDOMElement { - - attribute DOMString id; - attribute DOMString title; - attribute DOMString lang; - attribute DOMString dir; - attribute DOMString className; - readonly attribute nsIDOMCSSStyleDeclaration style; - - /* Temporary till we find a place for them */ - readonly attribute long offsetTop; - readonly attribute long offsetLeft; - readonly attribute long offsetWidth; - readonly attribute long offsetHeight; - readonly attribute nsIDOMElement offsetParent; - attribute DOMString innerHTML; + attribute DOMString id; + attribute DOMString title; + attribute DOMString lang; + attribute DOMString dir; + attribute DOMString className; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLEmbedElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLEmbedElement.idl index f76ae3d8659..a57248e6812 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLEmbedElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLEmbedElement.idl @@ -24,14 +24,10 @@ [scriptable, uuid(123f90ab-15b3-11d2-456e-00805f8add32)] interface nsIDOMHTMLEmbedElement : nsIDOMHTMLElement { - - void nsIDOMHTMLEmbedElement(); - - attribute DOMString align; - attribute DOMString height; - attribute DOMString name; - attribute DOMString src; - attribute DOMString type; - attribute DOMString width; + attribute DOMString align; + attribute DOMString height; + attribute DOMString name; + attribute DOMString src; + attribute DOMString type; + attribute DOMString width; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLFieldSetElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLFieldSetElement.idl index ea89866379a..4eb0565aa77 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLFieldSetElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLFieldSetElement.idl @@ -24,7 +24,5 @@ [scriptable, uuid(a6cf9097-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLFieldSetElement : nsIDOMHTMLElement { - - readonly attribute nsIDOMHTMLFormElement form; + readonly attribute nsIDOMHTMLFormElement form; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLFontElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLFontElement.idl index a04a0c85f09..dbc1fac835e 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLFontElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLFontElement.idl @@ -24,9 +24,7 @@ [scriptable, uuid(a6cf90a7-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLFontElement : nsIDOMHTMLElement { - - attribute DOMString color; - attribute DOMString face; - attribute DOMString size; + attribute DOMString color; + attribute DOMString face; + attribute DOMString size; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLFormControlList.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLFormControlList.idl index 56e46b103e4..f05ca8e3b01 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLFormControlList.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLFormControlList.idl @@ -22,10 +22,8 @@ #include "nsIDOMHTMLCollection.idl" [scriptable, uuid(a6cf911a-15b3-11d2-932e-00805f8add32)] -interface nsIDOMHTMLFormControlList : nsIDOMHTMLCollection +interface nsIDOMHTMLFormControlList : nsISupports { - - jsval namedItem(/* ... */); - jsval item(/* ... */); + nsISupports namedItem(in DOMString name); + nsISupports item(in unsigned long index); }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLFormElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLFormElement.idl index 74cfaf57fa9..8168a34bcc3 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLFormElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLFormElement.idl @@ -24,16 +24,14 @@ [scriptable, uuid(a6cf908f-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLFormElement : nsIDOMHTMLElement { - - readonly attribute nsIDOMHTMLCollection elements; - readonly attribute long length; - attribute DOMString name; - attribute DOMString acceptCharset; - attribute DOMString action; - attribute DOMString enctype; - attribute DOMString method; - attribute DOMString target; - void submit(); - void reset(); + readonly attribute nsIDOMHTMLCollection elements; + readonly attribute long length; + attribute DOMString name; + attribute DOMString acceptCharset; + attribute DOMString action; + attribute DOMString enctype; + attribute DOMString method; + attribute DOMString target; + void submit(); + void reset(); }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLFrameElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLFrameElement.idl index 2ccf6277520..eb8072845f2 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLFrameElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLFrameElement.idl @@ -24,16 +24,14 @@ [scriptable, uuid(a6cf90b9-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLFrameElement : nsIDOMHTMLElement { - - attribute DOMString frameBorder; - attribute DOMString longDesc; - attribute DOMString marginHeight; - attribute DOMString marginWidth; - attribute DOMString name; - attribute boolean noResize; - attribute DOMString scrolling; - attribute DOMString src; + attribute DOMString frameBorder; + attribute DOMString longDesc; + attribute DOMString marginHeight; + attribute DOMString marginWidth; + attribute DOMString name; + attribute boolean noResize; + attribute DOMString scrolling; + attribute DOMString src; // Introduced in DOM Level 2: - attribute nsIDOMDocument contentDocument; + attribute nsIDOMDocument contentDocument; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLFrameSetElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLFrameSetElement.idl index a461b0f4d93..1f36eb592a7 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLFrameSetElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLFrameSetElement.idl @@ -24,8 +24,6 @@ [scriptable, uuid(a6cf90b8-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLFrameSetElement : nsIDOMHTMLElement { - - attribute DOMString cols; - attribute DOMString rows; + attribute DOMString cols; + attribute DOMString rows; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLHRElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLHRElement.idl index 44005916054..373b020b59f 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLHRElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLHRElement.idl @@ -24,10 +24,8 @@ [scriptable, uuid(a6cf90a8-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLHRElement : nsIDOMHTMLElement { - - attribute DOMString align; - attribute boolean noShade; - attribute DOMString size; - attribute DOMString width; + attribute DOMString align; + attribute boolean noShade; + attribute DOMString size; + attribute DOMString width; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLHeadElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLHeadElement.idl index b6de8a66d22..0e1503076db 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLHeadElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLHeadElement.idl @@ -24,7 +24,5 @@ [scriptable, uuid(a6cf9087-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLHeadElement : nsIDOMHTMLElement { - - attribute DOMString profile; + attribute DOMString profile; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLHeadingElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLHeadingElement.idl index cd6e9bfb86b..3e790ca6c61 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLHeadingElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLHeadingElement.idl @@ -24,7 +24,5 @@ [scriptable, uuid(a6cf90a2-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLHeadingElement : nsIDOMHTMLElement { - - attribute DOMString align; + attribute DOMString align; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLHtmlElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLHtmlElement.idl index 53c77727550..fad64c33dd0 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLHtmlElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLHtmlElement.idl @@ -24,7 +24,5 @@ [scriptable, uuid(a6cf9086-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLHtmlElement : nsIDOMHTMLElement { - - attribute DOMString version; + attribute DOMString version; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLIFrameElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLIFrameElement.idl index 626ce904343..96ca02891a0 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLIFrameElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLIFrameElement.idl @@ -24,18 +24,16 @@ [scriptable, uuid(a6cf90ba-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLIFrameElement : nsIDOMHTMLElement { - - attribute DOMString align; - attribute DOMString frameBorder; - attribute DOMString height; - attribute DOMString longDesc; - attribute DOMString marginHeight; - attribute DOMString marginWidth; - attribute DOMString name; - attribute DOMString scrolling; - attribute DOMString src; - attribute DOMString width; + attribute DOMString align; + attribute DOMString frameBorder; + attribute DOMString height; + attribute DOMString longDesc; + attribute DOMString marginHeight; + attribute DOMString marginWidth; + attribute DOMString name; + attribute DOMString scrolling; + attribute DOMString src; + attribute DOMString width; // Introduced in DOM Level 2: - attribute nsIDOMDocument contentDocument; + attribute nsIDOMDocument contentDocument; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLImageElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLImageElement.idl index e362be84cbf..ee34c8e5089 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLImageElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLImageElement.idl @@ -24,21 +24,17 @@ [scriptable, uuid(a6cf90ab-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLImageElement : nsIDOMHTMLElement { - - void nsIDOMHTMLImageElement(); - - attribute DOMString lowSrc; - attribute DOMString name; - attribute DOMString align; - attribute DOMString alt; - [noscript] attribute DOMString border; - [noscript] attribute DOMString height; - [noscript] attribute DOMString hspace; - attribute boolean isMap; - attribute DOMString longDesc; - [noscript] attribute DOMString src; - [noscript] attribute DOMString vspace; - [noscript] attribute DOMString width; - attribute DOMString useMap; + attribute DOMString lowSrc; + attribute DOMString name; + attribute DOMString align; + attribute DOMString alt; + attribute long border; + attribute long height; + attribute long hspace; + attribute boolean isMap; + attribute DOMString longDesc; + attribute DOMString src; + attribute long vspace; + attribute long width; + attribute DOMString useMap; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLInputElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLInputElement.idl index dfebcd2a790..47f69f6dec1 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLInputElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLInputElement.idl @@ -24,28 +24,26 @@ [scriptable, uuid(a6cf9093-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLInputElement : nsIDOMHTMLElement { - - attribute DOMString defaultValue; - attribute boolean defaultChecked; - readonly attribute nsIDOMHTMLFormElement form; - attribute DOMString accept; - attribute DOMString accessKey; - attribute DOMString align; - attribute DOMString alt; - attribute boolean checked; - attribute boolean disabled; - attribute long maxLength; - attribute DOMString name; - attribute boolean readOnly; - attribute DOMString size; - attribute DOMString src; - attribute long tabIndex; - attribute DOMString type; - attribute DOMString useMap; - attribute DOMString value; - void blur(); - void focus(); - void select(); - void click(); + attribute DOMString defaultValue; + attribute boolean defaultChecked; + readonly attribute nsIDOMHTMLFormElement form; + attribute DOMString accept; + attribute DOMString accessKey; + attribute DOMString align; + attribute DOMString alt; + attribute boolean checked; + attribute boolean disabled; + attribute long maxLength; + attribute DOMString name; + attribute boolean readOnly; + attribute DOMString size; + attribute DOMString src; + attribute long tabIndex; + attribute DOMString type; + attribute DOMString useMap; + attribute DOMString value; + void blur(); + void focus(); + void select(); + void click(); }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLIsIndexElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLIsIndexElement.idl index a59c94379e4..29a120429d2 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLIsIndexElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLIsIndexElement.idl @@ -24,8 +24,6 @@ [scriptable, uuid(a6cf908c-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLIsIndexElement : nsIDOMHTMLElement { - - readonly attribute nsIDOMHTMLFormElement form; - attribute DOMString prompt; + readonly attribute nsIDOMHTMLFormElement form; + attribute DOMString prompt; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLLIElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLLIElement.idl index 1676c575051..5403ffd233d 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLLIElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLLIElement.idl @@ -24,8 +24,6 @@ [scriptable, uuid(a6cf909e-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLLIElement : nsIDOMHTMLElement { - - attribute DOMString type; - attribute long value; + attribute DOMString type; + attribute long value; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLLabelElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLLabelElement.idl index ff4a2fd1a9d..846ea80f4f9 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLLabelElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLLabelElement.idl @@ -24,9 +24,7 @@ [scriptable, uuid(a6cf9096-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLLabelElement : nsIDOMHTMLElement { - - readonly attribute nsIDOMHTMLFormElement form; - attribute DOMString accessKey; - attribute DOMString htmlFor; + readonly attribute nsIDOMHTMLFormElement form; + attribute DOMString accessKey; + attribute DOMString htmlFor; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLLegendElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLLegendElement.idl index 357e2e261d7..27a95ba0c50 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLLegendElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLLegendElement.idl @@ -24,9 +24,7 @@ [scriptable, uuid(a6cf9098-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLLegendElement : nsIDOMHTMLElement { - - readonly attribute nsIDOMHTMLFormElement form; - attribute DOMString accessKey; - attribute DOMString align; + readonly attribute nsIDOMHTMLFormElement form; + attribute DOMString accessKey; + attribute DOMString align; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLLinkElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLLinkElement.idl index 05b9a93b002..159b6994dfb 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLLinkElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLLinkElement.idl @@ -24,15 +24,13 @@ [scriptable, uuid(a6cf9088-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLLinkElement : nsIDOMHTMLElement { - - attribute boolean disabled; - attribute DOMString charset; - attribute DOMString href; - attribute DOMString hreflang; - attribute DOMString media; - attribute DOMString rel; - attribute DOMString rev; - attribute DOMString target; - attribute DOMString type; + attribute boolean disabled; + attribute DOMString charset; + attribute DOMString href; + attribute DOMString hreflang; + attribute DOMString media; + attribute DOMString rel; + attribute DOMString rev; + attribute DOMString target; + attribute DOMString type; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLMapElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLMapElement.idl index 2decab8b9dd..205897a662b 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLMapElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLMapElement.idl @@ -24,8 +24,6 @@ [scriptable, uuid(a6cf90af-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLMapElement : nsIDOMHTMLElement { - - readonly attribute nsIDOMHTMLCollection areas; - attribute DOMString name; + readonly attribute nsIDOMHTMLCollection areas; + attribute DOMString name; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLMenuElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLMenuElement.idl index 78e7db08d4c..2156a1543fc 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLMenuElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLMenuElement.idl @@ -24,7 +24,5 @@ [scriptable, uuid(a6cf909d-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLMenuElement : nsIDOMHTMLElement { - - attribute boolean compact; + attribute boolean compact; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLMetaElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLMetaElement.idl index c51475c1c0c..50b84a1c6f6 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLMetaElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLMetaElement.idl @@ -24,10 +24,8 @@ [scriptable, uuid(a6cf908a-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLMetaElement : nsIDOMHTMLElement { - - attribute DOMString content; - attribute DOMString httpEquiv; - attribute DOMString name; - attribute DOMString scheme; + attribute DOMString content; + attribute DOMString httpEquiv; + attribute DOMString name; + attribute DOMString scheme; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLModElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLModElement.idl index 7d5f82f5fb0..289f48e3e82 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLModElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLModElement.idl @@ -24,8 +24,6 @@ [scriptable, uuid(a6cf90a9-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLModElement : nsIDOMHTMLElement { - - attribute DOMString cite; - attribute DOMString dateTime; + attribute DOMString cite; + attribute DOMString dateTime; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLOListElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLOListElement.idl index cd99a944e61..7235e369517 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLOListElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLOListElement.idl @@ -24,9 +24,7 @@ [scriptable, uuid(a6cf909a-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLOListElement : nsIDOMHTMLElement { - - attribute boolean compact; - attribute long start; - attribute DOMString type; + attribute boolean compact; + attribute long start; + attribute DOMString type; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLObjectElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLObjectElement.idl index fa8a855eb4c..5b9b4dafaaa 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLObjectElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLObjectElement.idl @@ -24,26 +24,24 @@ [scriptable, uuid(a6cf90ac-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLObjectElement : nsIDOMHTMLElement { - - readonly attribute nsIDOMHTMLFormElement form; - attribute DOMString code; - attribute DOMString align; - attribute DOMString archive; - attribute DOMString border; - attribute DOMString codeBase; - attribute DOMString codeType; - attribute DOMString data; - attribute boolean declare; - attribute DOMString height; - attribute DOMString hspace; - attribute DOMString name; - attribute DOMString standby; - attribute long tabIndex; - attribute DOMString type; - attribute DOMString useMap; - attribute DOMString vspace; - attribute DOMString width; - // Introduced in DOM Level 2: - attribute nsIDOMDocument contentDocument; + readonly attribute nsIDOMHTMLFormElement form; + attribute DOMString code; + attribute DOMString align; + attribute DOMString archive; + attribute DOMString border; + attribute DOMString codeBase; + attribute DOMString codeType; + attribute DOMString data; + attribute boolean declare; + attribute DOMString height; + attribute DOMString hspace; + attribute DOMString name; + attribute DOMString standby; + attribute long tabIndex; + attribute DOMString type; + attribute DOMString useMap; + attribute DOMString vspace; + attribute DOMString width; + // Introduced in DOM Level 2: + attribute nsIDOMDocument contentDocument; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLOptGroupElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLOptGroupElement.idl index 8ed6ed7d3f1..3b2aba76f81 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLOptGroupElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLOptGroupElement.idl @@ -24,8 +24,6 @@ [scriptable, uuid(a6cf9091-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLOptGroupElement : nsIDOMHTMLElement { - - attribute boolean disabled; - attribute DOMString label; + attribute boolean disabled; + attribute DOMString label; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLOptionElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLOptionElement.idl index f415fe58e34..ca16bfe963a 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLOptionElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLOptionElement.idl @@ -24,16 +24,12 @@ [scriptable, uuid(a6cf9092-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLOptionElement : nsIDOMHTMLElement { - - void nsIDOMHTMLOptionElement(); - - readonly attribute nsIDOMHTMLFormElement form; - attribute boolean defaultSelected; - attribute DOMString text; - readonly attribute long index; - attribute boolean disabled; - attribute DOMString label; - attribute boolean selected; - attribute DOMString value; + readonly attribute nsIDOMHTMLFormElement form; + attribute boolean defaultSelected; + attribute DOMString text; + readonly attribute long index; + attribute boolean disabled; + attribute DOMString label; + attribute boolean selected; + attribute DOMString value; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLParagraphElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLParagraphElement.idl index 9bb7ecedfb6..b17b6dc8a59 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLParagraphElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLParagraphElement.idl @@ -24,7 +24,5 @@ [scriptable, uuid(a6cf90a1-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLParagraphElement : nsIDOMHTMLElement { - - attribute DOMString align; + attribute DOMString align; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLParamElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLParamElement.idl index f69a0425007..78bfadb7008 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLParamElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLParamElement.idl @@ -24,10 +24,8 @@ [scriptable, uuid(a6cf90ad-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLParamElement : nsIDOMHTMLElement { - - attribute DOMString name; - attribute DOMString type; - attribute DOMString value; - attribute DOMString valueType; + attribute DOMString name; + attribute DOMString type; + attribute DOMString value; + attribute DOMString valueType; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLPreElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLPreElement.idl index 71ec35f6246..ddf0b05efd3 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLPreElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLPreElement.idl @@ -24,7 +24,5 @@ [scriptable, uuid(a6cf90a4-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLPreElement : nsIDOMHTMLElement { - - attribute long width; + attribute long width; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLQuoteElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLQuoteElement.idl index b9ebce8fb79..4588eecfe74 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLQuoteElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLQuoteElement.idl @@ -24,7 +24,5 @@ [scriptable, uuid(a6cf90a3-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLQuoteElement : nsIDOMHTMLElement { - - attribute DOMString cite; + attribute DOMString cite; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLScriptElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLScriptElement.idl index fbd734f3e92..c99d59ebeb5 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLScriptElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLScriptElement.idl @@ -24,13 +24,11 @@ [scriptable, uuid(a6cf90b1-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLScriptElement : nsIDOMHTMLElement { - - attribute DOMString text; - attribute DOMString htmlFor; - attribute DOMString event; - attribute DOMString charset; - attribute boolean defer; - attribute DOMString src; - attribute DOMString type; + attribute DOMString text; + attribute DOMString htmlFor; + attribute DOMString event; + attribute DOMString charset; + attribute boolean defer; + attribute DOMString src; + attribute DOMString type; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLSelectElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLSelectElement.idl index 484fd3ca849..358aeb377c4 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLSelectElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLSelectElement.idl @@ -24,22 +24,21 @@ [scriptable, uuid(a6cf9090-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLSelectElement : nsIDOMHTMLElement { - - readonly attribute DOMString type; - attribute long selectedIndex; - attribute DOMString value; - attribute unsigned long length; - readonly attribute nsIDOMHTMLFormElement form; - readonly attribute nsIDOMNSHTMLOptionCollection options; - attribute boolean disabled; - attribute boolean multiple; - attribute DOMString name; - attribute long size; - attribute long tabIndex; - void add(in nsIDOMHTMLElement element, - in nsIDOMHTMLElement before); - void remove(in long index); - void blur(); - void focus(); + readonly attribute DOMString type; + attribute long selectedIndex; + attribute DOMString value; + attribute unsigned long length; + readonly attribute nsIDOMHTMLFormElement form; + readonly attribute nsIDOMHTMLCollection options; + attribute boolean disabled; + attribute boolean multiple; + attribute DOMString name; + attribute long size; + attribute long tabIndex; + void add(in nsIDOMHTMLElement element, + in nsIDOMHTMLElement before); + void remove(in long index); + void blur(); + void focus(); }; diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLStyleElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLStyleElement.idl index 39c2dfd9d3c..2f016f648a2 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLStyleElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLStyleElement.idl @@ -24,9 +24,7 @@ [scriptable, uuid(a6cf908d-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLStyleElement : nsIDOMHTMLElement { - - attribute boolean disabled; - attribute DOMString media; - attribute DOMString type; + attribute boolean disabled; + attribute DOMString media; + attribute DOMString type; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLTableCellElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLTableCellElement.idl index af2aa649261..f257a28b4c5 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLTableCellElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLTableCellElement.idl @@ -24,21 +24,19 @@ [scriptable, uuid(a6cf90b7-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLTableCellElement : nsIDOMHTMLElement { - - attribute long cellIndex; - attribute DOMString abbr; - attribute DOMString align; - attribute DOMString axis; - attribute DOMString bgColor; - attribute DOMString ch; - attribute DOMString chOff; - attribute long colSpan; - attribute DOMString headers; - attribute DOMString height; - attribute boolean noWrap; - attribute long rowSpan; - attribute DOMString scope; - attribute DOMString vAlign; - attribute DOMString width; + attribute long cellIndex; + attribute DOMString abbr; + attribute DOMString align; + attribute DOMString axis; + attribute DOMString bgColor; + attribute DOMString ch; + attribute DOMString chOff; + attribute long colSpan; + attribute DOMString headers; + attribute DOMString height; + attribute boolean noWrap; + attribute long rowSpan; + attribute DOMString scope; + attribute DOMString vAlign; + attribute DOMString width; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLTableColElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLTableColElement.idl index b121f1acce7..e8292b08ae4 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLTableColElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLTableColElement.idl @@ -24,12 +24,10 @@ [scriptable, uuid(a6cf90b4-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLTableColElement : nsIDOMHTMLElement { - - attribute DOMString align; - attribute DOMString ch; - attribute DOMString chOff; - attribute long span; - attribute DOMString vAlign; - attribute DOMString width; + attribute DOMString align; + attribute DOMString ch; + attribute DOMString chOff; + attribute long span; + attribute DOMString vAlign; + attribute DOMString width; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLTableElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLTableElement.idl index f4259b4c754..d53fb2018dd 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLTableElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLTableElement.idl @@ -24,28 +24,26 @@ [scriptable, uuid(a6cf90b2-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLTableElement : nsIDOMHTMLElement { - - attribute nsIDOMHTMLTableCaptionElement caption; - attribute nsIDOMHTMLTableSectionElement tHead; - attribute nsIDOMHTMLTableSectionElement tFoot; - readonly attribute nsIDOMHTMLCollection rows; - readonly attribute nsIDOMHTMLCollection tBodies; - attribute DOMString align; - attribute DOMString bgColor; - attribute DOMString border; - attribute DOMString cellPadding; - attribute DOMString cellSpacing; - attribute DOMString frame; - attribute DOMString rules; - attribute DOMString summary; - attribute DOMString width; - nsIDOMHTMLElement createTHead(); - void deleteTHead(); - nsIDOMHTMLElement createTFoot(); - void deleteTFoot(); - nsIDOMHTMLElement createCaption(); - void deleteCaption(); - nsIDOMHTMLElement insertRow(in long index); - void deleteRow(in long index); + attribute nsIDOMHTMLTableCaptionElement caption; + attribute nsIDOMHTMLTableSectionElement tHead; + attribute nsIDOMHTMLTableSectionElement tFoot; + readonly attribute nsIDOMHTMLCollection rows; + readonly attribute nsIDOMHTMLCollection tBodies; + attribute DOMString align; + attribute DOMString bgColor; + attribute DOMString border; + attribute DOMString cellPadding; + attribute DOMString cellSpacing; + attribute DOMString frame; + attribute DOMString rules; + attribute DOMString summary; + attribute DOMString width; + nsIDOMHTMLElement createTHead(); + void deleteTHead(); + nsIDOMHTMLElement createTFoot(); + void deleteTFoot(); + nsIDOMHTMLElement createCaption(); + void deleteCaption(); + nsIDOMHTMLElement insertRow(in long index); + void deleteRow(in long index); }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLTableRowElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLTableRowElement.idl index 79bcc220f3e..75154478764 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLTableRowElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLTableRowElement.idl @@ -24,16 +24,14 @@ [scriptable, uuid(a6cf90b6-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLTableRowElement : nsIDOMHTMLElement { - - attribute long rowIndex; - attribute long sectionRowIndex; - attribute nsIDOMHTMLCollection cells; - attribute DOMString align; - attribute DOMString bgColor; - attribute DOMString ch; - attribute DOMString chOff; - attribute DOMString vAlign; - nsIDOMHTMLElement insertCell(in long index); - void deleteCell(in long index); + attribute long rowIndex; + attribute long sectionRowIndex; + attribute nsIDOMHTMLCollection cells; + attribute DOMString align; + attribute DOMString bgColor; + attribute DOMString ch; + attribute DOMString chOff; + attribute DOMString vAlign; + nsIDOMHTMLElement insertCell(in long index); + void deleteCell(in long index); }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLTextAreaElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLTextAreaElement.idl index e9cf72fb5a9..a1d9d34955c 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLTextAreaElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLTextAreaElement.idl @@ -24,20 +24,18 @@ [scriptable, uuid(a6cf9094-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLTextAreaElement : nsIDOMHTMLElement { - - attribute DOMString defaultValue; - readonly attribute nsIDOMHTMLFormElement form; - attribute DOMString accessKey; - attribute long cols; - attribute boolean disabled; - attribute DOMString name; - attribute boolean readOnly; - attribute long rows; - attribute long tabIndex; - readonly attribute DOMString type; - attribute DOMString value; - void blur(); - void focus(); - void select(); + attribute DOMString defaultValue; + readonly attribute nsIDOMHTMLFormElement form; + attribute DOMString accessKey; + attribute long cols; + attribute boolean disabled; + attribute DOMString name; + attribute boolean readOnly; + attribute long rows; + attribute long tabIndex; + readonly attribute DOMString type; + attribute DOMString value; + void blur(); + void focus(); + void select(); }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLTitleElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLTitleElement.idl index d1111c15a76..b2c229f5eb1 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLTitleElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLTitleElement.idl @@ -24,7 +24,5 @@ [scriptable, uuid(a6cf9089-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLTitleElement : nsIDOMHTMLElement { - - attribute DOMString text; + attribute DOMString text; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMHTMLUListElement.idl b/mozilla/dom/public/idl/html/nsIDOMHTMLUListElement.idl index 0bfd7b295e9..5cbda708931 100644 --- a/mozilla/dom/public/idl/html/nsIDOMHTMLUListElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMHTMLUListElement.idl @@ -24,8 +24,6 @@ [scriptable, uuid(a6cf9099-15b3-11d2-932e-00805f8add32)] interface nsIDOMHTMLUListElement : nsIDOMHTMLElement { - - attribute boolean compact; - attribute DOMString type; + attribute boolean compact; + attribute DOMString type; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMNSHTMLAnchorElement.idl b/mozilla/dom/public/idl/html/nsIDOMNSHTMLAnchorElement.idl index 639bb9d9135..ad55a117992 100644 --- a/mozilla/dom/public/idl/html/nsIDOMNSHTMLAnchorElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMNSHTMLAnchorElement.idl @@ -24,14 +24,12 @@ [scriptable, uuid(a6cf911c-15b3-11d2-932e-00805f8add32)] interface nsIDOMNSHTMLAnchorElement : nsISupports { - - readonly attribute DOMString protocol; - readonly attribute DOMString host; - readonly attribute DOMString hostname; - readonly attribute DOMString pathname; - readonly attribute DOMString search; - readonly attribute DOMString port; - readonly attribute DOMString hash; - readonly attribute DOMString text; + readonly attribute DOMString protocol; + readonly attribute DOMString host; + readonly attribute DOMString hostname; + readonly attribute DOMString pathname; + readonly attribute DOMString search; + readonly attribute DOMString port; + readonly attribute DOMString hash; + readonly attribute DOMString text; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMNSHTMLAreaElement.idl b/mozilla/dom/public/idl/html/nsIDOMNSHTMLAreaElement.idl index 27e45721c52..c74ac6269d2 100644 --- a/mozilla/dom/public/idl/html/nsIDOMNSHTMLAreaElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMNSHTMLAreaElement.idl @@ -24,13 +24,11 @@ [scriptable, uuid(a6cf911b-15b3-11d2-932e-00805f8add32)] interface nsIDOMNSHTMLAreaElement : nsISupports { - - readonly attribute DOMString protocol; - readonly attribute DOMString host; - readonly attribute DOMString hostname; - readonly attribute DOMString pathname; - readonly attribute DOMString search; - readonly attribute DOMString port; - readonly attribute DOMString hash; + readonly attribute DOMString protocol; + readonly attribute DOMString host; + readonly attribute DOMString hostname; + readonly attribute DOMString pathname; + readonly attribute DOMString search; + readonly attribute DOMString port; + readonly attribute DOMString hash; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMNSHTMLButtonElement.idl b/mozilla/dom/public/idl/html/nsIDOMNSHTMLButtonElement.idl index 90c178467da..9664a7b7f1e 100644 --- a/mozilla/dom/public/idl/html/nsIDOMNSHTMLButtonElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMNSHTMLButtonElement.idl @@ -24,8 +24,6 @@ [scriptable, uuid(6fd344d0-7e5f-11d2-bd91-00805f8ae3f4)] interface nsIDOMNSHTMLButtonElement : nsISupports { - void blur(); - void focus(); - + void blur(); + void focus(); }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMNSHTMLDocument.idl b/mozilla/dom/public/idl/html/nsIDOMNSHTMLDocument.idl index 6a814b196e2..832f8b32fcf 100644 --- a/mozilla/dom/public/idl/html/nsIDOMNSHTMLDocument.idl +++ b/mozilla/dom/public/idl/html/nsIDOMNSHTMLDocument.idl @@ -24,28 +24,26 @@ [scriptable, uuid(a6cf90c5-15b3-11d2-932e-00805f8add32)] interface nsIDOMNSHTMLDocument : nsISupports { + readonly attribute long width; + readonly attribute long height; + attribute DOMString alinkColor; + attribute DOMString linkColor; + attribute DOMString vlinkColor; + attribute DOMString bgColor; + attribute DOMString fgColor; + readonly attribute DOMString lastModified; - readonly attribute long width; - readonly attribute long height; - attribute DOMString alinkColor; - attribute DOMString linkColor; - attribute DOMString vlinkColor; - attribute DOMString bgColor; - attribute DOMString fgColor; - readonly attribute DOMString lastModified; + readonly attribute nsIDOMHTMLCollection embeds; - readonly attribute nsIDOMHTMLCollection embeds; + DOMString getSelection(); + nsISupports namedItem(in DOMString name); - DOMString getSelection(); - jsval namedItem(/* ... */); + void open(/* ... */); + void write(in DOMString data /*, ... */); + void writeln(in DOMString data /*, ... */); + void clear(); - void open(/* ... */); - void write(/* ... */); - void writeln(/* ... */); - void clear(/* ... */); - - void captureEvents(in long eventFlags); - void releaseEvents(in long eventFlags); - void routeEvent(in nsIDOMEvent evt); + void captureEvents(in long eventFlags); + void releaseEvents(in long eventFlags); + void routeEvent(in nsIDOMEvent evt); }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMNSHTMLFormElement.idl b/mozilla/dom/public/idl/html/nsIDOMNSHTMLFormElement.idl index d2836e215be..8ca9a49db3c 100644 --- a/mozilla/dom/public/idl/html/nsIDOMNSHTMLFormElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMNSHTMLFormElement.idl @@ -24,10 +24,8 @@ [scriptable, uuid(a6cf90c6-15b3-11d2-932e-00805f8add32)] interface nsIDOMNSHTMLFormElement : nsISupports { + readonly attribute DOMString encoding; - readonly attribute DOMString encoding; - - jsval namedItem(/* ... */); - nsIDOMElement item(in unsigned long index); + nsISupports namedItem(in DOMString name); + nsIDOMElement item(in unsigned long index); }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMNSHTMLImageElement.idl b/mozilla/dom/public/idl/html/nsIDOMNSHTMLImageElement.idl index 79f051b21d9..69529873752 100644 --- a/mozilla/dom/public/idl/html/nsIDOMNSHTMLImageElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMNSHTMLImageElement.idl @@ -22,21 +22,11 @@ #include "domstubs.idl" [scriptable, uuid(a6cf90c7-15b3-11d2-932e-00805f8add32)] -interface Image : nsISupports +interface nsIDOMNSHTMLImageElement : nsISupports { + attribute DOMString lowsrc; + readonly attribute boolean complete; - void Image(); - attribute DOMString lowsrc; - readonly attribute boolean complete; - - /* Needed for backwards compatibility */ - attribute long border; - attribute long height; - attribute long hspace; - attribute long vspace; - attribute long width; - - readonly attribute long naturalHeight; - readonly attribute long naturalWidth; + readonly attribute long naturalHeight; + readonly attribute long naturalWidth; }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMNSHTMLInputElement.idl b/mozilla/dom/public/idl/html/nsIDOMNSHTMLInputElement.idl index b8617224b0b..f48f08e48ce 100644 --- a/mozilla/dom/public/idl/html/nsIDOMNSHTMLInputElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMNSHTMLInputElement.idl @@ -24,18 +24,18 @@ [scriptable, uuid(993d2efc-a768-11d3-bccd-0060b0fc76bd)] interface nsIDOMNSHTMLInputElement : nsISupports { - - readonly attribute nsIControllers controllers; + readonly attribute nsIControllers controllers; - readonly attribute long textLength; + readonly attribute long textLength; - attribute long selectionStart; - attribute long selectionEnd; + attribute long selectionStart; + attribute long selectionEnd; - /* XXX The nsIDOMEventListener arg should be flagged as function */ + /* XXX The nsIDOMEventListener arg should be flagged as function */ + /* convenience */ - void setSelectionRange(in long selectionStart, in long selectionEnd); + void setSelectionRange(in long selectionStart, + in long selectionEnd); }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMNSHTMLSelectElement.idl b/mozilla/dom/public/idl/html/nsIDOMNSHTMLSelectElement.idl index 16edeee4271..c6660c59426 100644 --- a/mozilla/dom/public/idl/html/nsIDOMNSHTMLSelectElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMNSHTMLSelectElement.idl @@ -24,8 +24,6 @@ [scriptable, uuid(a6cf9105-15b3-11d2-932e-00805f8add32)] interface nsIDOMNSHTMLSelectElement : nsISupports { - - nsIDOMNode item(in unsigned long index); - nsIDOMNode namedItem(in DOMString name); + nsIDOMNode item(in unsigned long index); + nsIDOMNode namedItem(in DOMString name); }; - diff --git a/mozilla/dom/public/idl/html/nsIDOMNSHTMLTextAreaElement.idl b/mozilla/dom/public/idl/html/nsIDOMNSHTMLTextAreaElement.idl index 044d326caa2..d681fa75e22 100644 --- a/mozilla/dom/public/idl/html/nsIDOMNSHTMLTextAreaElement.idl +++ b/mozilla/dom/public/idl/html/nsIDOMNSHTMLTextAreaElement.idl @@ -24,7 +24,5 @@ [scriptable, uuid(ca066b44-9ddf-11d3-bccc-0060b0fc76bd)] interface nsIDOMNSHTMLTextAreaElement : nsISupports { - - readonly attribute nsIControllers controllers; + readonly attribute nsIControllers controllers; }; -