Index: Source/core/html/HTMLOutputElement.idl |
diff --git a/Source/core/html/HTMLOutputElement.idl b/Source/core/html/HTMLOutputElement.idl |
index 75d073b2f22b281c3cb4612d91b3c27325ccc8a8..f85fd0904f4e3ba053214b2408829150c1966927 100644 |
--- a/Source/core/html/HTMLOutputElement.idl |
+++ b/Source/core/html/HTMLOutputElement.idl |
@@ -22,9 +22,11 @@ |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+// https://html.spec.whatwg.org/#htmloutputelement |
+ |
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; |
@@ -36,6 +38,7 @@ interface HTMLOutputElement : HTMLElement { |
readonly attribute DOMString validationMessage; |
boolean checkValidity(); |
boolean reportValidity(); |
+ // TODO(philipj): The error argument should not be nullable. |
void setCustomValidity([TreatUndefinedAs=NullString] DOMString? error); |
readonly attribute NodeList labels; |