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

Unified Diff: core/html/HTMLDocument.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/HTMLDivElement.idl ('k') | core/html/HTMLElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/html/HTMLDocument.idl
diff --git a/core/html/HTMLDocument.idl b/core/html/HTMLDocument.idl
index e166240d089267d56a6893a4d0de4a2074585a13..1b73bc81db7ae852ea5116c288e412b0bab7c450 100644
--- a/core/html/HTMLDocument.idl
+++ b/core/html/HTMLDocument.idl
@@ -18,32 +18,25 @@
* Boston, MA 02110-1301, USA.
*/
-interface HTMLDocument : Document {
- [Custom, CustomElementCallbacks] void open();
- [RaisesException] void close();
-
- // We support multiple DOMString arguments to match FF / IE, e.g.:
- // document.write("a", "b", "c") --> document.write("abc")
- // document.write() --> document.write("")
- [CallWith=ActiveWindow, CustomElementCallbacks, RaisesException] void write(DOMString... text);
- [CallWith=ActiveWindow, CustomElementCallbacks, RaisesException] void writeln(DOMString... text);
+// FIXME: "For historical reasons, Window objects must also have a
+// writable, configurable, non-enumerable property named HTMLDocument
+// whose value is the Document interface object."
+// https://html.spec.whatwg.org/#the-window-object
- // Extensions
+interface HTMLDocument : Document {
+ // https://html.spec.whatwg.org/#Document-partial
- [Replaceable, ImplementedAs=allForBinding] readonly attribute HTMLAllCollection all;
+ // FIXME: *Color should have [TreatNullAs=EmptyString].
+ [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString fgColor;
+ [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString linkColor;
+ [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString vlinkColor;
+ [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString alinkColor;
+ [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString bgColor;
[MeasureAs=DocumentClear] void clear();
-
[MeasureAs=DocumentCaptureEvents] void captureEvents();
[MeasureAs=DocumentReleaseEvents] void releaseEvents();
- readonly attribute DOMString compatMode;
-
- // Deprecated attributes
- [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString bgColor;
- [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString fgColor;
- [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString alinkColor;
- [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString linkColor;
- [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString vlinkColor;
+ // FIXME: all should not be [Replaceable].
+ [Replaceable, ImplementedAs=allForBinding] readonly attribute HTMLAllCollection all;
};
-
« no previous file with comments | « core/html/HTMLDivElement.idl ('k') | core/html/HTMLElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698