| 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 // HTML | 88 // HTML |
| 89 // https://html.spec.whatwg.org/#the-document-object | 89 // https://html.spec.whatwg.org/#the-document-object |
| 90 | 90 |
| 91 // resource metadata management | 91 // resource metadata management |
| 92 | 92 |
| 93 [PutForwards=href, Unforgeable] readonly attribute Location? location; | 93 [PutForwards=href, Unforgeable] readonly attribute Location? location; |
| 94 [RaisesException=Setter] attribute DOMString domain; | 94 [RaisesException=Setter] attribute DOMString domain; |
| 95 readonly attribute DOMString referrer; | 95 readonly attribute DOMString referrer; |
| 96 [RaisesException] attribute DOMString cookie; | 96 [RaisesException] attribute DOMString cookie; |
| 97 readonly attribute DOMString lastModified; | 97 readonly attribute DOMString lastModified; |
| 98 readonly attribute DocumentReadyState readyState; | 98 [ImplementedAs=getReadyState] readonly attribute DocumentReadyState readySta
te; |
| 99 | 99 |
| 100 // DOM tree accessors | 100 // DOM tree accessors |
| 101 [CEReactions, CustomElementCallbacks] attribute DOMString title; | 101 [CEReactions, CustomElementCallbacks] attribute DOMString title; |
| 102 [CEReactions, CustomElementCallbacks] attribute DOMString dir; | 102 [CEReactions, CustomElementCallbacks] attribute DOMString dir; |
| 103 [CEReactions, RaisesException=Setter, CustomElementCallbacks, PerWorldBindin
gs] attribute HTMLElement? body; | 103 [CEReactions, RaisesException=Setter, CustomElementCallbacks, PerWorldBindin
gs] attribute HTMLElement? body; |
| 104 readonly attribute HTMLHeadElement? head; | 104 readonly attribute HTMLHeadElement? head; |
| 105 [SameObject, Measure] readonly attribute HTMLCollection images; | 105 [SameObject, Measure] readonly attribute HTMLCollection images; |
| 106 [SameObject, Measure] readonly attribute HTMLCollection embeds; | 106 [SameObject, Measure] readonly attribute HTMLCollection embeds; |
| 107 [SameObject, ImplementedAs=embeds, Measure] readonly attribute HTMLCollectio
n plugins; | 107 [SameObject, ImplementedAs=embeds, Measure] readonly attribute HTMLCollectio
n plugins; |
| 108 [SameObject, Measure] readonly attribute HTMLCollection links; | 108 [SameObject, Measure] readonly attribute HTMLCollection links; |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; | 209 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; |
| 210 attribute EventHandler onselectionchange; | 210 attribute EventHandler onselectionchange; |
| 211 attribute EventHandler onselectstart; | 211 attribute EventHandler onselectstart; |
| 212 attribute EventHandler onwheel; | 212 attribute EventHandler onwheel; |
| 213 }; | 213 }; |
| 214 | 214 |
| 215 Document implements GlobalEventHandlers; | 215 Document implements GlobalEventHandlers; |
| 216 Document implements ParentNode; | 216 Document implements ParentNode; |
| 217 Document implements NonElementParentNode; | 217 Document implements NonElementParentNode; |
| 218 Document implements DocumentOrShadowRoot; | 218 Document implements DocumentOrShadowRoot; |
| OLD | NEW |