Chromium Code Reviews| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 66 [NewObject, RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr creat eAttributeNS(DOMString? namespaceURI, DOMString qualifiedName); | 66 [NewObject, RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr creat eAttributeNS(DOMString? namespaceURI, DOMString qualifiedName); |
| 67 | 67 |
| 68 [NewObject, RaisesException, CallWith=ExecutionContext] Event createEvent(DO MString eventType); | 68 [NewObject, RaisesException, CallWith=ExecutionContext] Event createEvent(DO MString eventType); |
| 69 | 69 |
| 70 [NewObject] Range createRange(); | 70 [NewObject] Range createRange(); |
| 71 | 71 |
| 72 // NodeFilter.SHOW_ALL = 0xFFFFFFFF | 72 // NodeFilter.SHOW_ALL = 0xFFFFFFFF |
| 73 [NewObject] NodeIterator createNodeIterator(Node root, optional unsigned lon g whatToShow = 0xFFFFFFFF, optional NodeFilter? filter = null); | 73 [NewObject] NodeIterator createNodeIterator(Node root, optional unsigned lon g whatToShow = 0xFFFFFFFF, optional NodeFilter? filter = null); |
| 74 [NewObject] TreeWalker createTreeWalker(Node root, optional unsigned long wh atToShow = 0xFFFFFFFF, optional NodeFilter? filter = null); | 74 [NewObject] TreeWalker createTreeWalker(Node root, optional unsigned long wh atToShow = 0xFFFFFFFF, optional NodeFilter? filter = null); |
| 75 | 75 |
| 76 // NonDocumentRootScroller (https://github.com/bokand/NonDocumentRootScrolle r) | |
| 77 [RuntimeEnabled=SetRootScroller, RaisesException] void setRootScroller (Elem ent element); | |
|
esprehn
2016/05/05 17:20:19
This doesn't match web platform conventions. The w
bokan
2016/05/05 21:19:48
Acknowledged.
| |
| 78 [RuntimeEnabled=SetRootScroller] readonly attribute Element? rootScroller; | |
| 79 | |
| 76 // FIXME: CDATASection has been removed from the spec. crbug.com/437205 | 80 // FIXME: CDATASection has been removed from the spec. crbug.com/437205 |
| 77 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC DATASection(DOMString data); | 81 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC DATASection(DOMString data); |
| 78 | 82 |
| 79 // FIXME: xmlEncoding/xmlVersion/xmlStandalone have been removed from the sp ec. | 83 // FIXME: xmlEncoding/xmlVersion/xmlStandalone have been removed from the sp ec. |
| 80 [MeasureAs=DocumentXMLEncoding] readonly attribute DOMString? xmlEncoding; | 84 [MeasureAs=DocumentXMLEncoding] readonly attribute DOMString? xmlEncoding; |
| 81 [RaisesException=Setter, MeasureAs=DocumentXMLVersion] attribute DOMString? xmlVersion; | 85 [RaisesException=Setter, MeasureAs=DocumentXMLVersion] attribute DOMString? xmlVersion; |
| 82 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean xmlStandalone; | 86 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean xmlStandalone; |
| 83 | 87 |
| 84 // HTML | 88 // HTML |
| 85 // https://html.spec.whatwg.org/#the-document-object | 89 // https://html.spec.whatwg.org/#the-document-object |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 214 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation; | 218 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation; |
| 215 attribute EventHandler onselectionchange; | 219 attribute EventHandler onselectionchange; |
| 216 attribute EventHandler onselectstart; | 220 attribute EventHandler onselectstart; |
| 217 attribute EventHandler onwheel; | 221 attribute EventHandler onwheel; |
| 218 }; | 222 }; |
| 219 | 223 |
| 220 Document implements GlobalEventHandlers; | 224 Document implements GlobalEventHandlers; |
| 221 Document implements ParentNode; | 225 Document implements ParentNode; |
| 222 Document implements NonElementParentNode; | 226 Document implements NonElementParentNode; |
| 223 Document implements DocumentOrShadowRoot; | 227 Document implements DocumentOrShadowRoot; |
| OLD | NEW |