Index: core/html/HTMLOutputElement.idl |
diff --git a/core/html/HTMLOutputElement.idl b/core/html/HTMLOutputElement.idl |
index c9fe3b26553ef6cd30bb481fa8cc61325b55a82d..957a9aa8fee0d9f623036f01fd5b8ae7db7a7c52 100644 |
--- a/core/html/HTMLOutputElement.idl |
+++ b/core/html/HTMLOutputElement.idl |
@@ -22,9 +22,11 @@ |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+// https://html.spec.whatwg.org/#the-output-element |
+ |
interface HTMLOutputElement : HTMLElement { |
[PutForwards=value] readonly attribute DOMSettableTokenList htmlFor; |
- [ImplementedAs=formOwner] readonly attribute HTMLFormElement form; |
+ [ImplementedAs=formOwner] readonly attribute HTMLFormElement? form; |
[Reflect] attribute DOMString name; |
readonly attribute DOMString type; |
@@ -35,7 +37,8 @@ interface HTMLOutputElement : HTMLElement { |
readonly attribute ValidityState validity; |
readonly attribute DOMString validationMessage; |
boolean checkValidity(); |
- void setCustomValidity([TreatUndefinedAs=NullString] DOMString? error); |
+ boolean reportValidity(); |
+ void setCustomValidity(DOMString error); |
readonly attribute NodeList labels; |
}; |