| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 [MeasureAs=ElementOffsetHeight] readonly attribute long offsetHeight; | 104 [MeasureAs=ElementOffsetHeight] readonly attribute long offsetHeight; |
| 105 | 105 |
| 106 // CSS Object Model (CSSOM) | 106 // CSS Object Model (CSSOM) |
| 107 // http://dev.w3.org/csswg/cssom/#the-elementcssinlinestyle-interface | 107 // http://dev.w3.org/csswg/cssom/#the-elementcssinlinestyle-interface |
| 108 // FIXME: style should be on HTMLElement and SVGElement. crbug.com/497376 | 108 // FIXME: style should be on HTMLElement and SVGElement. crbug.com/497376 |
| 109 // FIXME: style should have [PutForwards=cssText]. | 109 // FIXME: style should have [PutForwards=cssText]. |
| 110 [SameObject, PerWorldBindings] readonly attribute CSSStyleDeclaration style; | 110 [SameObject, PerWorldBindings] readonly attribute CSSStyleDeclaration style; |
| 111 | 111 |
| 112 // HTML | 112 // HTML |
| 113 // https://html.spec.whatwg.org/#htmlelement | 113 // https://html.spec.whatwg.org/#htmlelement |
| 114 // FIXME: dataset, focus() and blur() should be on HTMLElement. crbug.com/49
7274 | 114 // FIXME: dataset should be on HTMLElement. |
| 115 [SameObject, PerWorldBindings] readonly attribute DOMStringMap dataset; | 115 [SameObject, PerWorldBindings] readonly attribute DOMStringMap dataset; |
| 116 void focus(); | |
| 117 void blur(); | |
| 118 | 116 |
| 119 // Non-standard APIs | 117 // Non-standard APIs |
| 120 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=19962 | 118 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=19962 |
| 121 [RaisesException, CustomElementCallbacks, MeasureAs=InsertAdjacentElement] E
lement insertAdjacentElement(DOMString where, Element element); | 119 [RaisesException, CustomElementCallbacks, MeasureAs=InsertAdjacentElement] E
lement insertAdjacentElement(DOMString where, Element element); |
| 122 [RaisesException, MeasureAs=InsertAdjacentText] void insertAdjacentText(DOMS
tring where, DOMString text); | 120 [RaisesException, MeasureAs=InsertAdjacentText] void insertAdjacentText(DOMS
tring where, DOMString text); |
| 123 [MeasureAs=ElementScrollIntoViewIfNeeded] void scrollIntoViewIfNeeded(option
al boolean centerIfNeeded); | 121 [MeasureAs=ElementScrollIntoViewIfNeeded] void scrollIntoViewIfNeeded(option
al boolean centerIfNeeded); |
| 124 [RaisesException, ImplementedAs=matches, MeasureAs=ElementPrefixedMatchesSel
ector] boolean webkitMatchesSelector(DOMString selectors); | 122 [RaisesException, ImplementedAs=matches, MeasureAs=ElementPrefixedMatchesSel
ector] boolean webkitMatchesSelector(DOMString selectors); |
| 125 | 123 |
| 126 // Experimental isTapStop API | 124 // Experimental isTapStop API |
| 127 [RuntimeEnabled=TabStopAttribute, MeasureAs=TabStopProperty] attribute boole
an tabStop; | 125 [RuntimeEnabled=TabStopAttribute, MeasureAs=TabStopProperty] attribute boole
an tabStop; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 142 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; | 140 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; |
| 143 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; | 141 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; |
| 144 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; | 142 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; |
| 145 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; | 143 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; |
| 146 attribute EventHandler onwheel; | 144 attribute EventHandler onwheel; |
| 147 }; | 145 }; |
| 148 | 146 |
| 149 Element implements ParentNode; | 147 Element implements ParentNode; |
| 150 Element implements ChildNode; | 148 Element implements ChildNode; |
| 151 Element implements NonDocumentTypeChildNode; | 149 Element implements NonDocumentTypeChildNode; |
| OLD | NEW |