1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/webidl/HTMLOutputElement.webidl Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this file, 1.7 + * You can obtain one at http://mozilla.org/MPL/2.0/. 1.8 + * 1.9 + * The origin of this IDL file is 1.10 + * http://www.whatwg.org/specs/web-apps/current-work/#the-output-element 1.11 + * 1.12 + * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and 1.13 + * Opera Software ASA. You are granted a license to use, reproduce 1.14 + * and create derivative works of this document. 1.15 + */ 1.16 + 1.17 +// http://www.whatwg.org/specs/web-apps/current-work/#the-output-element 1.18 +interface HTMLOutputElement : HTMLElement { 1.19 + [PutForwards=value, Constant] 1.20 + readonly attribute DOMSettableTokenList htmlFor; 1.21 + readonly attribute HTMLFormElement? form; 1.22 + [SetterThrows, Pure] 1.23 + attribute DOMString name; 1.24 + 1.25 + [Constant] 1.26 + readonly attribute DOMString type; 1.27 + [SetterThrows, Pure] 1.28 + attribute DOMString defaultValue; 1.29 + [SetterThrows, Pure] 1.30 + attribute DOMString value; 1.31 + 1.32 + readonly attribute boolean willValidate; 1.33 + readonly attribute ValidityState validity; 1.34 + readonly attribute DOMString validationMessage; 1.35 + boolean checkValidity(); 1.36 + void setCustomValidity(DOMString error); 1.37 + 1.38 +// Not yet implemented (bug 556743). 1.39 +// readonly attribute NodeList labels; 1.40 +};