Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(957)

Unified Diff: core/html/HTMLObjectElement.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/html/HTMLOListElement.idl ('k') | core/html/HTMLOptGroupElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/html/HTMLObjectElement.idl
diff --git a/core/html/HTMLObjectElement.idl b/core/html/HTMLObjectElement.idl
index 4eb6f396a69d528d83e14fa694a56548b98cc95b..a936771f2bad3236c3ffaed226dfcb11c8d89b39 100644
--- a/core/html/HTMLObjectElement.idl
+++ b/core/html/HTMLObjectElement.idl
@@ -18,40 +18,52 @@
* Boston, MA 02110-1301, USA.
*/
+// https://html.spec.whatwg.org/#the-object-element
+
+// TODO(yukishiino): HTMLObjectElement should not have [OverrideBuiltins].
[
Custom=LegacyCallAsFunction,
+ OverrideBuiltins,
] interface HTMLObjectElement : HTMLElement {
- [ImplementedAs=formOwner] readonly attribute HTMLFormElement form;
- [Reflect] attribute DOMString code;
- [Reflect] attribute DOMString align;
- [Reflect] attribute DOMString archive;
- [Reflect, TreatNullAs=EmptyString] attribute DOMString border;
- [Reflect, URL] attribute DOMString codeBase;
- [Reflect] attribute DOMString codeType;
[Reflect, URL] attribute DOMString data;
- [Reflect] attribute boolean declare;
- [Reflect] attribute DOMString height;
- [Reflect] attribute long hspace;
- [Reflect] attribute DOMString name;
- [Reflect] attribute DOMString standby;
[Reflect] attribute DOMString type;
+ // TODO(philipj): attribute boolean typeMustMatch;
+ [Reflect] attribute DOMString name;
[Reflect] attribute DOMString useMap;
- [Reflect] attribute long vspace;
+ [ImplementedAs=formOwner] readonly attribute HTMLFormElement? form;
[Reflect] attribute DOMString width;
+ [Reflect] attribute DOMString height;
+ [CheckSecurity=Node] readonly attribute Document? contentDocument;
+ // TODO(philipj): readonly attribute WindowProxy? contentWindow;
+ [CheckSecurity=Node, RaisesException] Document? getSVGDocument();
+
readonly attribute boolean willValidate;
readonly attribute ValidityState validity;
readonly attribute DOMString validationMessage;
boolean checkValidity();
- void setCustomValidity([TreatUndefinedAs=NullString] DOMString? error);
+ boolean reportValidity();
+ void setCustomValidity(DOMString error);
- // Introduced in DOM Level 2:
- [CheckSecurity=Node] readonly attribute Document contentDocument;
+ // TODO(philipj): legacycaller any (any... arguments); crbug.com/465009
+
+ // obsolete members
+ // https://html.spec.whatwg.org/#HTMLObjectElement-partial
+ [Reflect] attribute DOMString align;
+ [Reflect] attribute DOMString archive;
+ [Reflect] attribute DOMString code;
+ [Reflect] attribute boolean declare;
+ // TODO(philipj): hspace and vspace should be unsigned long.
+ [Reflect] attribute long hspace;
+ [Reflect] attribute DOMString standby;
+ [Reflect] attribute long vspace;
+ [Reflect, URL] attribute DOMString codeBase;
+ [Reflect] attribute DOMString codeType;
+
+ [Reflect, TreatNullAs=EmptyString] attribute DOMString border;
+
+ // TODO(philipj): These getters and setters are not in the spec.
[Custom, NotEnumerable] getter boolean (unsigned long index);
[Custom] setter boolean (unsigned long index, Node value);
[Custom, NotEnumerable] getter Node (DOMString name);
[Custom] setter Node (DOMString name, Node value);
-
- [CheckSecurity=Node, RaisesException] Document getSVGDocument();
-
- [Reflect, RuntimeEnabled=SubresourceIntegrity] attribute DOMString integrity;
};
« no previous file with comments | « core/html/HTMLOListElement.idl ('k') | core/html/HTMLOptGroupElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698