2010-04-26 00:42:00 -07:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 04:12:37 -07: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/. */
|
2010-04-26 00:42:00 -07:00
|
|
|
|
|
|
|
#include "nsIDOMHTMLElement.idl"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The nsIDOMHTMLOutputElement interface is the interface to a HTML
|
|
|
|
* <output> element.
|
|
|
|
*
|
|
|
|
* For more information on this interface, please see
|
2010-11-16 15:45:29 -08:00
|
|
|
* http://www.whatwg.org/specs/web-apps/current-work/#the-output-element
|
2010-04-26 00:42:00 -07:00
|
|
|
*
|
|
|
|
* @status UNDER_DEVELOPMENT
|
|
|
|
*/
|
|
|
|
|
2010-08-21 10:54:53 -07:00
|
|
|
interface nsIDOMValidityState;
|
2010-04-26 00:42:00 -07:00
|
|
|
|
2013-04-13 00:08:47 -07:00
|
|
|
[scriptable, uuid(c4bff576-90b5-44b0-8278-bf4e3010b09a)]
|
2010-04-26 00:42:00 -07:00
|
|
|
interface nsIDOMHTMLOutputElement : nsIDOMHTMLElement
|
|
|
|
{
|
2013-01-15 00:35:59 -08:00
|
|
|
// DOMSettableTokenList
|
|
|
|
readonly attribute nsISupports htmlFor;
|
2010-04-26 00:42:00 -07:00
|
|
|
readonly attribute nsIDOMHTMLFormElement form;
|
|
|
|
attribute DOMString name;
|
|
|
|
|
|
|
|
readonly attribute DOMString type;
|
|
|
|
attribute DOMString defaultValue;
|
|
|
|
attribute DOMString value;
|
|
|
|
|
2010-08-21 10:54:53 -07:00
|
|
|
readonly attribute boolean willValidate;
|
|
|
|
readonly attribute nsIDOMValidityState validity;
|
|
|
|
readonly attribute DOMString validationMessage;
|
|
|
|
boolean checkValidity();
|
|
|
|
void setCustomValidity(in DOMString error);
|
2010-04-26 00:42:00 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The labels IDL attribute will be added with bug 556743.
|
|
|
|
*/
|
|
|
|
//readonly attribute nsIDOMNodeList labels;
|
|
|
|
};
|
|
|
|
|