OLD | NEW |
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 12 matching lines...) Expand all Loading... |
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
25 */ | 25 */ |
26 | 26 |
27 [ | 27 [ |
28 NoInterfaceObject | 28 NoInterfaceObject |
29 ] interface ShadowRoot : DocumentFragment { | 29 ] interface ShadowRoot : DocumentFragment { |
30 readonly attribute Element activeElement; | 30 readonly attribute Element activeElement; |
31 attribute boolean applyAuthorStyles; | 31 attribute boolean applyAuthorStyles; |
32 attribute boolean resetStyleInheritance; | 32 attribute boolean resetStyleInheritance; |
33 [RuntimeEnabled=ShadowDOM, ImplementedAs=bindingsOlderShadowRoot] readonly a
ttribute ShadowRoot olderShadowRoot; | 33 [RuntimeEnabled=ShadowDOM, ImplementedAs=olderShadowRootForBindings] readonl
y attribute ShadowRoot olderShadowRoot; |
34 | 34 |
35 [TreatNullAs=NullString, CustomElementCallbacks, PerWorldBindings, ActivityL
ogging=SetterForIsolatedWorlds, RaisesException=Setter] attribute DOMString inne
rHTML; | 35 [TreatNullAs=NullString, CustomElementCallbacks, PerWorldBindings, ActivityL
ogging=SetterForIsolatedWorlds, RaisesException=Setter] attribute DOMString inne
rHTML; |
36 | 36 |
37 [RaisesException] Node cloneNode([Default=Undefined] optional boolean deep); | 37 [RaisesException] Node cloneNode([Default=Undefined] optional boolean deep); |
38 Selection getSelection(); | 38 Selection getSelection(); |
39 Element getElementById([Default=Undefined] optional DOMString elementId); | 39 Element getElementById([Default=Undefined] optional DOMString elementId); |
40 NodeList getElementsByClassName([Default=Undefined] optional DOMString class
Name); | 40 NodeList getElementsByClassName([Default=Undefined] optional DOMString class
Name); |
41 NodeList getElementsByTagName([Default=Undefined] optional DOMString tagName
); | 41 NodeList getElementsByTagName([Default=Undefined] optional DOMString tagName
); |
42 NodeList getElementsByTagNameNS([TreatNullAs=NullString,Default=Undefined] o
ptional DOMString namespaceURI, | 42 NodeList getElementsByTagNameNS([TreatNullAs=NullString,Default=Undefined] o
ptional DOMString namespaceURI, |
43 [Default=Undefined] optional DOMString local
Name); | 43 [Default=Undefined] optional DOMString local
Name); |
44 | 44 |
45 Element elementFromPoint([Default=Undefined] optional long x, | 45 Element elementFromPoint([Default=Undefined] optional long x, |
46 [Default=Undefined] optional long y); | 46 [Default=Undefined] optional long y); |
47 | 47 |
48 [RuntimeEnabled=ShadowDOM] readonly attribute StyleSheetList styleSheets; | 48 [RuntimeEnabled=ShadowDOM] readonly attribute StyleSheetList styleSheets; |
49 [RuntimeEnabled=ShadowDOM] readonly attribute Element host; | 49 [RuntimeEnabled=ShadowDOM] readonly attribute Element host; |
50 }; | 50 }; |
OLD | NEW |