| 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, |
| 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
| 14 * | 14 * |
| 15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
| 16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
| 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
| 19 */ | 19 */ |
| 20 | 20 |
| 21 callback CustomElementConstructor = Element (); | 21 callback CustomElementConstructor = Element (); |
| 22 | 22 |
| 23 typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext; | 23 typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext; |
| 24 | 24 |
| 25 // http://www.w3.org/TR/page-visibility/#VisibilityState | 25 // http://www.w3.org/TR/page-visibility/#VisibilityState |
| 26 enum VisibilityState { "hidden", "visible", "prerender", "unloaded" }; | 26 enum VisibilityState { "hidden", "visible", "prerender", "unloaded" }; |
| 27 | 27 |
| 28 // https://dom.spec.whatwg.org/#interface-document | 28 // https://dom.spec.whatwg.org/#interface-document |
| 29 | 29 |
| 30 // FIXME: Document should have a constructor. | 30 // FIXME: Document should have a constructor. crbug.com/238234 |
| 31 interface Document : Node { | 31 interface Document : Node { |
| 32 [SameObject] readonly attribute DOMImplementation implementation; | 32 [SameObject] readonly attribute DOMImplementation implementation; |
| 33 readonly attribute DOMString URL; | 33 readonly attribute DOMString URL; |
| 34 // FIXME: documentURI should not be nullable. | 34 // FIXME: documentURI should not be nullable. |
| 35 [ImplementedAs=url] readonly attribute DOMString? documentURI; | 35 [ImplementedAs=url] readonly attribute DOMString? documentURI; |
| 36 readonly attribute DOMString origin; | 36 readonly attribute DOMString origin; |
| 37 readonly attribute DOMString compatMode; | 37 readonly attribute DOMString compatMode; |
| 38 // FIXME: characterSet should not be nullable. | 38 // FIXME: characterSet should not be nullable. |
| 39 readonly attribute DOMString? characterSet; | 39 readonly attribute DOMString? characterSet; |
| 40 // FIXME: inputEncoding should not be nullable. | 40 // FIXME: inputEncoding should not be nullable. |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 attribute EventHandler onsearch; | 218 attribute EventHandler onsearch; |
| 219 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; | 219 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; |
| 220 attribute EventHandler onselectionchange; | 220 attribute EventHandler onselectionchange; |
| 221 attribute EventHandler onselectstart; | 221 attribute EventHandler onselectstart; |
| 222 attribute EventHandler onwheel; | 222 attribute EventHandler onwheel; |
| 223 }; | 223 }; |
| 224 | 224 |
| 225 Document implements GlobalEventHandlers; | 225 Document implements GlobalEventHandlers; |
| 226 Document implements ParentNode; | 226 Document implements ParentNode; |
| 227 Document implements NonElementParentNode; | 227 Document implements NonElementParentNode; |
| OLD | NEW |