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

Side by Side Diff: Source/core/dom/Document.idl

Issue 967753003: Add the NonElementParentNode interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/DocumentFragment.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> 3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org>
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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 option al NodeFilter? filter = null); 76 option al NodeFilter? filter = null);
77 77
78 // FIXME: CDATASection has been removed from the spec. crbug.com/437205 78 // FIXME: CDATASection has been removed from the spec. crbug.com/437205
79 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC DATASection(DOMString data); 79 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC DATASection(DOMString data);
80 80
81 // FIXME: xmlEncoding/xmlVersion/xmlStandalone have been removed from the sp ec. 81 // FIXME: xmlEncoding/xmlVersion/xmlStandalone have been removed from the sp ec.
82 [MeasureAs=DocumentXMLEncoding] readonly attribute DOMString? xmlEncoding; 82 [MeasureAs=DocumentXMLEncoding] readonly attribute DOMString? xmlEncoding;
83 [RaisesException=Setter, MeasureAs=DocumentXMLVersion] attribute DOMString? xmlVersion; 83 [RaisesException=Setter, MeasureAs=DocumentXMLVersion] attribute DOMString? xmlVersion;
84 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean xmlStandalone; 84 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean xmlStandalone;
85 85
86 // https://dom.spec.whatwg.org/#interface-nonelementparentnode
87 [PerWorldBindings] Element? getElementById(DOMString elementId);
88
89 // HTML 86 // HTML
90 // https://html.spec.whatwg.org/#the-document-object 87 // https://html.spec.whatwg.org/#the-document-object
91 88
92 // resource metadata management 89 // resource metadata management
93 [PutForwards=href, Unforgeable] readonly attribute Location? location; 90 [PutForwards=href, Unforgeable] readonly attribute Location? location;
94 // FIXME: domain should not have [TreatNullAs=NullString]. 91 // FIXME: domain should not have [TreatNullAs=NullString].
95 [TreatNullAs=NullString, RaisesException=Setter] attribute DOMString domain; 92 [TreatNullAs=NullString, RaisesException=Setter] attribute DOMString domain;
96 readonly attribute DOMString referrer; 93 readonly attribute DOMString referrer;
97 // FIXME: cookie should not have [TreatNullAs=NullString]. 94 // FIXME: cookie should not have [TreatNullAs=NullString].
98 [TreatNullAs=NullString, RaisesException] attribute DOMString cookie; 95 [TreatNullAs=NullString, RaisesException] attribute DOMString cookie;
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 attribute EventHandler onpaste; 225 attribute EventHandler onpaste;
229 attribute EventHandler onsearch; 226 attribute EventHandler onsearch;
230 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation; 227 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation;
231 attribute EventHandler onselectionchange; 228 attribute EventHandler onselectionchange;
232 attribute EventHandler onselectstart; 229 attribute EventHandler onselectstart;
233 attribute EventHandler onwheel; 230 attribute EventHandler onwheel;
234 }; 231 };
235 232
236 Document implements GlobalEventHandlers; 233 Document implements GlobalEventHandlers;
237 Document implements ParentNode; 234 Document implements ParentNode;
235 Document implements NonElementParentNode;
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/DocumentFragment.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698