| 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 20 matching lines...) Expand all Loading... |
| 31 readonly attribute DOMImplementation implementation; | 31 readonly attribute DOMImplementation implementation; |
| 32 readonly attribute Element documentElement; | 32 readonly attribute Element documentElement; |
| 33 | 33 |
| 34 [CustomElementCallbacks, PerWorldBindings, ActivityLogging=ForIsolatedWorlds
, RaisesException] Element createElement(DOMString tagName); | 34 [CustomElementCallbacks, PerWorldBindings, ActivityLogging=ForIsolatedWorlds
, RaisesException] Element createElement(DOMString tagName); |
| 35 DocumentFragment createDocumentFragment(); | 35 DocumentFragment createDocumentFragment(); |
| 36 [PerWorldBindings] Text createTextNode(DOMString data); | 36 [PerWorldBindings] Text createTextNode(DOMString data); |
| 37 Comment createComment(DOMString data); | 37 Comment createComment(DOMString data); |
| 38 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC
DATASection([Default=Undefined] optional DOMString data); // Removed from DOM4. | 38 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC
DATASection([Default=Undefined] optional DOMString data); // Removed from DOM4. |
| 39 [RaisesException] ProcessingInstruction createProcessingInstruction(DOMStrin
g target, DOMString data); | 39 [RaisesException] ProcessingInstruction createProcessingInstruction(DOMStrin
g target, DOMString data); |
| 40 [RaisesException, MeasureAs=DocumentCreateAttribute] Attr createAttribute([D
efault=Undefined] optional DOMString name); // Removed from DOM4. | 40 [RaisesException, MeasureAs=DocumentCreateAttribute] Attr createAttribute([D
efault=Undefined] optional DOMString name); // Removed from DOM4. |
| 41 [PerWorldBindings] HTMLCollection getElementsByTagName(DOMString localName); | 41 [PerWorldBindings, DartNoAutoScope] HTMLCollection getElementsByTagName(DOMS
tring localName); |
| 42 | 42 |
| 43 // Introduced in DOM Level 2: | 43 // Introduced in DOM Level 2: |
| 44 | 44 |
| 45 [CustomElementCallbacks, PerWorldBindings, ActivityLogging=ForIsolatedWorlds
, RaisesException] Node importNode(Node node, optional boolean deep); | 45 [CustomElementCallbacks, PerWorldBindings, ActivityLogging=ForIsolatedWorlds
, RaisesException] Node importNode(Node node, optional boolean deep); |
| 46 [CustomElementCallbacks, PerWorldBindings, ActivityLogging=ForIsolatedWorlds
, RaisesException] Element createElementNS([TreatNullAs=NullString] DOMString na
mespaceURI, DOMString qualifiedName); | 46 [CustomElementCallbacks, PerWorldBindings, ActivityLogging=ForIsolatedWorlds
, RaisesException] Element createElementNS([TreatNullAs=NullString] DOMString na
mespaceURI, DOMString qualifiedName); |
| 47 HTMLCollection getElementsByTagNameNS([TreatNullAs=NullString] DOMString nam
espaceURI, DOMString localName); | 47 HTMLCollection getElementsByTagNameNS([TreatNullAs=NullString] DOMString nam
espaceURI, DOMString localName); |
| 48 [PerWorldBindings] Element getElementById(DOMString elementId); | 48 [PerWorldBindings, DartNoAutoScope] Element getElementById(DOMString element
Id); |
| 49 | 49 |
| 50 // DOM Level 3 Core | 50 // DOM Level 3 Core |
| 51 | 51 |
| 52 [TreatReturnedNullStringAs=Null, MeasureAs=DocumentInputEncoding] readonly a
ttribute DOMString inputEncoding; // Removed from DOM4. | 52 [TreatReturnedNullStringAs=Null, MeasureAs=DocumentInputEncoding] readonly a
ttribute DOMString inputEncoding; // Removed from DOM4. |
| 53 | 53 |
| 54 [TreatReturnedNullStringAs=Null, MeasureAs=DocumentXMLEncoding] readonly att
ribute DOMString xmlEncoding; // Removed from DOM4. | 54 [TreatReturnedNullStringAs=Null, MeasureAs=DocumentXMLEncoding] readonly att
ribute DOMString xmlEncoding; // Removed from DOM4. |
| 55 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, RaisesException=Set
ter, MeasureAs=DocumentXMLVersion] attribute DOMString xmlVersion; // Removed fr
om DOM4. | 55 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, RaisesException=Set
ter, MeasureAs=DocumentXMLVersion] attribute DOMString xmlVersion; // Removed fr
om DOM4. |
| 56 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean
xmlStandalone; // Removed from DOM4. | 56 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean
xmlStandalone; // Removed from DOM4. |
| 57 | 57 |
| 58 [RaisesException, CustomElementCallbacks] Node adoptNode(Node node); | 58 [RaisesException, CustomElementCallbacks] Node adoptNode(Node node); |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 | 103 |
| 104 // Moved down from HTMLDocument | 104 // Moved down from HTMLDocument |
| 105 | 105 |
| 106 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMStrin
g title; | 106 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMStrin
g title; |
| 107 readonly attribute DOMString referrer; | 107 readonly attribute DOMString referrer; |
| 108 [TreatNullAs=NullString, RaisesException=Setter] attribute DOMStrin
g domain; | 108 [TreatNullAs=NullString, RaisesException=Setter] attribute DOMStrin
g domain; |
| 109 readonly attribute DOMString URL; | 109 readonly attribute DOMString URL; |
| 110 | 110 |
| 111 [TreatNullAs=NullString, RaisesException] attribute DOMString cooki
e; | 111 [TreatNullAs=NullString, RaisesException] attribute DOMString cooki
e; |
| 112 | 112 |
| 113 [RaisesException=Setter, CustomElementCallbacks, PerWorldBindings]
attribute HTMLElement body; | 113 [RaisesException=Setter, CustomElementCallbacks, PerWorldBindings,
DartNoAutoScope] attribute HTMLElement body; |
| 114 | 114 |
| 115 readonly attribute HTMLHeadElement head; | 115 readonly attribute HTMLHeadElement head; |
| 116 readonly attribute HTMLCollection images; | 116 readonly attribute HTMLCollection images; |
| 117 readonly attribute HTMLCollection applets; | 117 readonly attribute HTMLCollection applets; |
| 118 readonly attribute HTMLCollection links; | 118 readonly attribute HTMLCollection links; |
| 119 readonly attribute HTMLCollection forms; | 119 readonly attribute HTMLCollection forms; |
| 120 readonly attribute HTMLCollection anchors; | 120 readonly attribute HTMLCollection anchors; |
| 121 readonly attribute DOMString lastModified; | 121 readonly attribute DOMString lastModified; |
| 122 | 122 |
| 123 [PerWorldBindings] NodeList getElementsByName([Default=Undefined] optional D
OMString elementName); | 123 [PerWorldBindings, DartNoAutoScope] NodeList getElementsByName([Default=Unde
fined] optional DOMString elementName); |
| 124 | 124 |
| 125 [PerWorldBindings, ActivityLogging=ForIsolatedWorlds, PutForwards=href] read
only attribute Location location; | 125 [PerWorldBindings, ActivityLogging=ForIsolatedWorlds, PutForwards=href] read
only attribute Location location; |
| 126 | 126 |
| 127 // IE extensions | 127 // IE extensions |
| 128 [MeasureAs=DocumentCharset, TreatReturnedNullStringAs=Undefined, TreatNullAs
=NullString] attribute DOMString charset; | 128 [MeasureAs=DocumentCharset, TreatReturnedNullStringAs=Undefined, TreatNullAs
=NullString] attribute DOMString charset; |
| 129 [MeasureAs=DocumentCharset, TreatReturnedNullStringAs=Undefined] readonly at
tribute DOMString defaultCharset; | 129 [MeasureAs=DocumentCharset, TreatReturnedNullStringAs=Undefined] readonly at
tribute DOMString defaultCharset; |
| 130 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString readyStat
e; | 130 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString readyStat
e; |
| 131 | 131 |
| 132 Element elementFromPoint([Default=Undefined] optional long x, | 132 Element elementFromPoint([Default=Undefined] optional long x, |
| 133 [Default=Undefined] optional long y); | 133 [Default=Undefined] optional long y); |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 // document in the console. It's possible http://crbug.com/43394 will resolv
e this. | 208 // document in the console. It's possible http://crbug.com/43394 will resolv
e this. |
| 209 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a
ttribute DOMString webkitVisibilityState; | 209 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a
ttribute DOMString webkitVisibilityState; |
| 210 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute
boolean webkitHidden; | 210 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute
boolean webkitHidden; |
| 211 | 211 |
| 212 readonly attribute HTMLScriptElement currentScript; | 212 readonly attribute HTMLScriptElement currentScript; |
| 213 }; | 213 }; |
| 214 | 214 |
| 215 Document implements GlobalEventHandlers; | 215 Document implements GlobalEventHandlers; |
| 216 Document implements ParentNode; | 216 Document implements ParentNode; |
| 217 | 217 |
| OLD | NEW |