Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 57 HTMLCollection getElementsByClassName(DOMString classNames); | 57 HTMLCollection getElementsByClassName(DOMString classNames); |
| 58 | 58 |
| 59 // DOM Parsing and Serialization | 59 // DOM Parsing and Serialization |
| 60 // https://dvcs.w3.org/hg/innerhtml/raw-file/tip/index.html#extensions-to-th e-element-interface | 60 // https://dvcs.w3.org/hg/innerhtml/raw-file/tip/index.html#extensions-to-th e-element-interface |
| 61 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter, Exp oseJSAccessors] attribute DOMString innerHTML; | 61 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter, Exp oseJSAccessors] attribute DOMString innerHTML; |
| 62 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att ribute DOMString outerHTML; | 62 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att ribute DOMString outerHTML; |
| 63 [CustomElementCallbacks, RaisesException, MeasureAs=InsertAdjacentHTML] void insertAdjacentHTML(DOMString position, DOMString text); | 63 [CustomElementCallbacks, RaisesException, MeasureAs=InsertAdjacentHTML] void insertAdjacentHTML(DOMString position, DOMString text); |
| 64 | 64 |
| 65 // Shadow DOM | 65 // Shadow DOM |
| 66 // http://w3c.github.io/webcomponents/spec/shadow/#extensions-to-element-int erface | 66 // http://w3c.github.io/webcomponents/spec/shadow/#extensions-to-element-int erface |
| 67 [RaisesException, CallWith=ScriptState, MeasureAs=ElementCreateShadowRoot] S hadowRoot createShadowRoot(); | 67 [RaisesException, CallWith=ScriptState, MeasureAs=ElementCreateShadowRoot] S hadowRoot createShadowRoot(optional ShadowRootInit shadowRootInitDict); |
|
hayato
2015/06/03 08:46:12
We have to implement this feature as Runtime-Enabl
| |
| 68 NodeList getDestinationInsertionPoints(); | 68 NodeList getDestinationInsertionPoints(); |
| 69 [PerWorldBindings] readonly attribute ShadowRoot? shadowRoot; | 69 [PerWorldBindings] readonly attribute ShadowRoot? shadowRoot; |
| 70 | 70 |
| 71 // Pointer Lock | 71 // Pointer Lock |
| 72 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions -to-the-element-interface | 72 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions -to-the-element-interface |
| 73 [MeasureAs=ElementRequestPointerLock] void requestPointerLock(); | 73 [MeasureAs=ElementRequestPointerLock] void requestPointerLock(); |
| 74 | 74 |
| 75 // CSSOM View Module | 75 // CSSOM View Module |
| 76 // http://dev.w3.org/csswg/cssom-view/#extension-to-the-element-interface | 76 // http://dev.w3.org/csswg/cssom-view/#extension-to-the-element-interface |
| 77 // FIXME: getClientRect() and getBoundingClientRect() should | 77 // FIXME: getClientRect() and getBoundingClientRect() should |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 141 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; | 141 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; |
| 142 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; | 142 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; |
| 143 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; | 143 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; |
| 144 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; | 144 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; |
| 145 attribute EventHandler onwheel; | 145 attribute EventHandler onwheel; |
| 146 }; | 146 }; |
| 147 | 147 |
| 148 Element implements ParentNode; | 148 Element implements ParentNode; |
| 149 Element implements ChildNode; | 149 Element implements ChildNode; |
| 150 Element implements NonDocumentTypeChildNode; | 150 Element implements NonDocumentTypeChildNode; |
| OLD | NEW |