OLD | NEW |
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 Loading... |
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 Loading... |
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; |
OLD | NEW |