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

Side by Side Diff: Source/core/dom/shadow/ShadowRoot.idl

Issue 799543002: Let ShadowRoot.getElementById() fall back to DocumentFragment (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update tests Created 6 years 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/webexposed/global-interface-listing-expected.txt ('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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Neither the name of Google Inc. nor the names of its 10 * * Neither the name of Google Inc. nor the names of its
(...skipping 15 matching lines...) Expand all
26 26
27 interface ShadowRoot : DocumentFragment { 27 interface ShadowRoot : DocumentFragment {
28 readonly attribute Element activeElement; 28 readonly attribute Element activeElement;
29 29
30 [ImplementedAs=olderShadowRootForBindings] readonly attribute ShadowRoot old erShadowRoot; 30 [ImplementedAs=olderShadowRootForBindings] readonly attribute ShadowRoot old erShadowRoot;
31 31
32 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att ribute DOMString innerHTML; 32 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att ribute DOMString innerHTML;
33 33
34 [RaisesException] Node cloneNode([Default=Undefined] optional boolean deep); 34 [RaisesException] Node cloneNode([Default=Undefined] optional boolean deep);
35 Selection getSelection(); 35 Selection getSelection();
36 Element getElementById([Default=Undefined] optional DOMString elementId);
37 HTMLCollection getElementsByClassName([Default=Undefined] optional DOMString className); 36 HTMLCollection getElementsByClassName([Default=Undefined] optional DOMString className);
38 HTMLCollection getElementsByTagName([Default=Undefined] optional DOMString t agName); 37 HTMLCollection getElementsByTagName([Default=Undefined] optional DOMString t agName);
39 HTMLCollection getElementsByTagNameNS([Default=Undefined] optional DOMString ? namespaceURI, 38 HTMLCollection getElementsByTagNameNS([Default=Undefined] optional DOMString ? namespaceURI,
40 [Default=Undefined] optional DOMString localName); 39 [Default=Undefined] optional DOMString localName);
41 40
42 Element elementFromPoint([Default=Undefined] optional long x, 41 Element elementFromPoint([Default=Undefined] optional long x,
43 [Default=Undefined] optional long y); 42 [Default=Undefined] optional long y);
44 43
45 readonly attribute StyleSheetList styleSheets; 44 readonly attribute StyleSheetList styleSheets;
46 readonly attribute Element host; 45 readonly attribute Element host;
47 }; 46 };
OLDNEW
« no previous file with comments | « LayoutTests/webexposed/global-interface-listing-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698