| 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 14 matching lines...) Expand all Loading... |
| 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 [EnabledAtRuntime=ShadowDOM, ImplementedAs=bindingsOlderShadowRoot] readonly
attribute ShadowRoot olderShadowRoot; | 33 [EnabledAtRuntime=ShadowDOM, ImplementedAs=bindingsOlderShadowRoot] readonly
attribute ShadowRoot olderShadowRoot; |
| 34 | 34 |
| 35 [TreatNullAs=NullString, CustomElementCallbacks=Enable, PerWorldBindings, Ac
tivityLog=SetterForIsolatedWorlds, SetterRaisesException] attribute DOMString in
nerHTML; | 35 [TreatNullAs=NullString, CustomElementCallbacks, PerWorldBindings, ActivityL
og=SetterForIsolatedWorlds, SetterRaisesException] attribute DOMString innerHTML
; |
| 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 [EnabledAtRuntime=ShadowDOM] readonly attribute StyleSheetList styleSheets; | 48 [EnabledAtRuntime=ShadowDOM] readonly attribute StyleSheetList styleSheets; |
| 49 }; | 49 }; |
| OLD | NEW |