| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 [Reflect] attribute DOMString height; | 35 [Reflect] attribute DOMString height; |
| 36 [CheckSecurity=Node] readonly attribute Document? contentDocument; | 36 [CheckSecurity=Node] readonly attribute Document? contentDocument; |
| 37 // TODO(philipj): readonly attribute WindowProxy? contentWindow; | 37 // TODO(philipj): readonly attribute WindowProxy? contentWindow; |
| 38 [CheckSecurity=Node, RaisesException] Document? getSVGDocument(); | 38 [CheckSecurity=Node, RaisesException] Document? getSVGDocument(); |
| 39 | 39 |
| 40 readonly attribute boolean willValidate; | 40 readonly attribute boolean willValidate; |
| 41 readonly attribute ValidityState validity; | 41 readonly attribute ValidityState validity; |
| 42 readonly attribute DOMString validationMessage; | 42 readonly attribute DOMString validationMessage; |
| 43 boolean checkValidity(); | 43 boolean checkValidity(); |
| 44 boolean reportValidity(); | 44 boolean reportValidity(); |
| 45 // TODO(philipj): The error argument should not be nullable. | 45 void setCustomValidity(DOMString error); |
| 46 void setCustomValidity([TreatUndefinedAs=NullString] DOMString? error); | |
| 47 | 46 |
| 48 // TODO(philipj): legacycaller any (any... arguments); crbug.com/465009 | 47 // TODO(philipj): legacycaller any (any... arguments); crbug.com/465009 |
| 49 | 48 |
| 50 // obsolete members | 49 // obsolete members |
| 51 // https://html.spec.whatwg.org/#HTMLObjectElement-partial | 50 // https://html.spec.whatwg.org/#HTMLObjectElement-partial |
| 52 [Reflect] attribute DOMString align; | 51 [Reflect] attribute DOMString align; |
| 53 [Reflect] attribute DOMString archive; | 52 [Reflect] attribute DOMString archive; |
| 54 [Reflect] attribute DOMString code; | 53 [Reflect] attribute DOMString code; |
| 55 [Reflect] attribute boolean declare; | 54 [Reflect] attribute boolean declare; |
| 56 // TODO(philipj): hspace and vspace should be unsigned long. | 55 // TODO(philipj): hspace and vspace should be unsigned long. |
| 57 [Reflect] attribute long hspace; | 56 [Reflect] attribute long hspace; |
| 58 [Reflect] attribute DOMString standby; | 57 [Reflect] attribute DOMString standby; |
| 59 [Reflect] attribute long vspace; | 58 [Reflect] attribute long vspace; |
| 60 [Reflect, URL] attribute DOMString codeBase; | 59 [Reflect, URL] attribute DOMString codeBase; |
| 61 [Reflect] attribute DOMString codeType; | 60 [Reflect] attribute DOMString codeType; |
| 62 | 61 |
| 63 [Reflect, TreatNullAs=EmptyString] attribute DOMString border; | 62 [Reflect, TreatNullAs=EmptyString] attribute DOMString border; |
| 64 | 63 |
| 65 // TODO(philipj): These getters and setters are not in the spec. | 64 // TODO(philipj): These getters and setters are not in the spec. |
| 66 [Custom, NotEnumerable] getter boolean (unsigned long index); | 65 [Custom, NotEnumerable] getter boolean (unsigned long index); |
| 67 [Custom] setter boolean (unsigned long index, Node value); | 66 [Custom] setter boolean (unsigned long index, Node value); |
| 68 [Custom, NotEnumerable] getter Node (DOMString name); | 67 [Custom, NotEnumerable] getter Node (DOMString name); |
| 69 [Custom] setter Node (DOMString name, Node value); | 68 [Custom] setter Node (DOMString name, Node value); |
| 70 }; | 69 }; |
| OLD | NEW |