servo/components/script/dom/webidls/HTMLOutputElement.webidl
2017-06-15 21:16:57 -06:00

24 lines
906 B
Text

/* 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/. */
// https://html.spec.whatwg.org/multipage/#htmloutputelement
[HTMLConstructor]
interface HTMLOutputElement : HTMLElement {
// [SameObject, PutForwards=value] readonly attribute DOMTokenList htmlFor;
readonly attribute HTMLFormElement? form;
// attribute DOMString name;
//readonly attribute DOMString type;
// attribute DOMString defaultValue;
// attribute DOMString value;
//readonly attribute boolean willValidate;
readonly attribute ValidityState validity;
//readonly attribute DOMString validationMessage;
//boolean checkValidity();
//boolean reportValidity();
//void setCustomValidity(DOMString error);
readonly attribute NodeList labels;
};