Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(485)

Side by Side Diff: Source/core/dom/Document.idl

Issue 560183002: HTML Imports: Let document.defaultView null for imports. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « LayoutTests/fast/html/imports/resources/script-prototype-test.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 [RaisesException, TypeChecking=Interface] NodeIterator createNodeIterator(No de root, 74 [RaisesException, TypeChecking=Interface] NodeIterator createNodeIterator(No de root,
75 op tional unsigned long whatToShow = 0xFFFFFFFF, 75 op tional unsigned long whatToShow = 0xFFFFFFFF,
76 op tional NodeFilter? filter = null); 76 op tional NodeFilter? filter = null);
77 [RaisesException, TypeChecking=Interface] TreeWalker createTreeWalker(Node r oot, 77 [RaisesException, TypeChecking=Interface] TreeWalker createTreeWalker(Node r oot,
78 option al unsigned long whatToShow = 0xFFFFFFFF, 78 option al unsigned long whatToShow = 0xFFFFFFFF,
79 option al NodeFilter? filter = null); 79 option al NodeFilter? filter = null);
80 80
81 // DOM Level 2 Abstract Views (DocumentView interface) 81 // DOM Level 2 Abstract Views (DocumentView interface)
82 82
83 [ImplementedAs=executingWindow] readonly attribute Window defaultView; 83 [ImplementedAs=domWindow] readonly attribute Window defaultView;
84 84
85 // DOM Level 2 Style (DocumentStyle interface) 85 // DOM Level 2 Style (DocumentStyle interface)
86 86
87 readonly attribute StyleSheetList styleSheets; 87 readonly attribute StyleSheetList styleSheets;
88 88
89 // DOM Level 2 Style (DocumentCSS interface) 89 // DOM Level 2 Style (DocumentCSS interface)
90 90
91 CSSStyleDeclaration getOverrideStyle([Default=Undefined] optional Element el ement, 91 CSSStyleDeclaration getOverrideStyle([Default=Undefined] optional Element el ement,
92 [Default=Undefined] optional DOMString pseudoElement); 92 [Default=Undefined] optional DOMString pseudoElement);
93 93
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 // TODO(davidben): This is a property so attaching a deprecation warning res ults in false positives when outputting 216 // TODO(davidben): This is a property so attaching a deprecation warning res ults in false positives when outputting
217 // document in the console. It's possible http://crbug.com/43394 will resolv e this. 217 // document in the console. It's possible http://crbug.com/43394 will resolv e this.
218 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a ttribute DOMString webkitVisibilityState; 218 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a ttribute DOMString webkitVisibilityState;
219 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden; 219 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden;
220 220
221 readonly attribute HTMLScriptElement currentScript; 221 readonly attribute HTMLScriptElement currentScript;
222 }; 222 };
223 223
224 Document implements GlobalEventHandlers; 224 Document implements GlobalEventHandlers;
225 Document implements ParentNode; 225 Document implements ParentNode;
OLDNEW
« no previous file with comments | « LayoutTests/fast/html/imports/resources/script-prototype-test.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698