Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 17:42:36 +00:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 11:12:37 +00:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2001-01-21 09:21:24 +00:00
|
|
|
|
|
|
|
#include "nsIDOMHTMLElement.idl"
|
|
|
|
|
2003-03-14 07:00:53 +00:00
|
|
|
/**
|
|
|
|
* The nsIDOMHTMLObjectElement interface is the interface to a [X]HTML
|
|
|
|
* object element.
|
|
|
|
*
|
2010-11-16 23:45:29 +00:00
|
|
|
* This interface is trying to follow the DOM Level 2 HTML specification:
|
2003-03-14 07:00:53 +00:00
|
|
|
* http://www.w3.org/TR/DOM-Level-2-HTML/
|
2010-11-16 23:45:29 +00:00
|
|
|
*
|
|
|
|
* with changes from the work-in-progress WHATWG HTML specification:
|
|
|
|
* http://www.whatwg.org/specs/web-apps/current-work/
|
2003-03-14 07:00:53 +00:00
|
|
|
*/
|
|
|
|
|
2010-08-28 00:36:45 +00:00
|
|
|
interface nsIDOMValidityState;
|
|
|
|
|
2013-03-10 08:00:33 +00:00
|
|
|
[scriptable, uuid(bf05cb92-234e-4626-bf48-89a9033fe6cc)]
|
2001-01-21 09:21:24 +00:00
|
|
|
interface nsIDOMHTMLObjectElement : nsIDOMHTMLElement
|
|
|
|
{
|
2001-01-22 02:36:07 +00:00
|
|
|
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;
|
2002-12-17 13:29:39 +00:00
|
|
|
attribute long hspace;
|
2001-01-22 02:36:07 +00:00
|
|
|
attribute DOMString name;
|
|
|
|
attribute DOMString standby;
|
|
|
|
attribute DOMString type;
|
|
|
|
attribute DOMString useMap;
|
2002-12-17 13:29:39 +00:00
|
|
|
attribute long vspace;
|
2001-01-22 02:36:07 +00:00
|
|
|
attribute DOMString width;
|
|
|
|
// Introduced in DOM Level 2:
|
2003-03-14 07:00:53 +00:00
|
|
|
readonly attribute nsIDOMDocument contentDocument;
|
2010-08-28 00:36:45 +00:00
|
|
|
|
|
|
|
// The following lines are parte of the constraint validation API, see:
|
2010-11-16 23:45:29 +00:00
|
|
|
// http://www.whatwg.org/specs/web-apps/current-work/#the-constraint-validation-api
|
2010-08-28 00:36:45 +00:00
|
|
|
readonly attribute boolean willValidate;
|
|
|
|
readonly attribute nsIDOMValidityState validity;
|
|
|
|
readonly attribute DOMString validationMessage;
|
|
|
|
boolean checkValidity();
|
|
|
|
void setCustomValidity(in DOMString error);
|
2001-01-21 09:21:24 +00:00
|
|
|
};
|