| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 // attribute (Dictionary or double) scrollLeft; | 51 // attribute (Dictionary or double) scrollLeft; |
| 52 // attribute (Dictionary or double) scrollTop; | 52 // attribute (Dictionary or double) scrollTop; |
| 53 // http://crbug.com/240176 | 53 // http://crbug.com/240176 |
| 54 [Custom=Setter] attribute long scrollLeft; | 54 [Custom=Setter] attribute long scrollLeft; |
| 55 [Custom=Setter] attribute long scrollTop; | 55 [Custom=Setter] attribute long scrollTop; |
| 56 readonly attribute long scrollWidth; | 56 readonly attribute long scrollWidth; |
| 57 readonly attribute long scrollHeight; | 57 readonly attribute long scrollHeight; |
| 58 | 58 |
| 59 void focus(); | 59 void focus(); |
| 60 void blur(); | 60 void blur(); |
| 61 void scrollIntoView(optional boolean alignWithTop); | |
| 62 | |
| 63 [MeasureAs=ElementScrollIntoViewIfNeeded] void scrollIntoViewIfNeeded(option
al boolean centerIfNeeded); | |
| 64 | 61 |
| 65 [PerWorldBindings] readonly attribute DOMTokenList classList; | 62 [PerWorldBindings] readonly attribute DOMTokenList classList; |
| 66 | 63 |
| 67 [RaisesException] ShadowRoot ensureShadowRoot(); | 64 [RaisesException] ShadowRoot ensureShadowRoot(); |
| 68 [PerWorldBindings] readonly attribute ShadowRoot shadowRoot; | 65 [PerWorldBindings] readonly attribute ShadowRoot shadowRoot; |
| 69 NodeList getDestinationInsertionPoints(); | 66 NodeList getDestinationInsertionPoints(); |
| 70 | 67 |
| 71 // CSSOM View Module API | 68 // CSSOM View Module API |
| 72 ClientRectList getClientRects(); | 69 ClientRectList getClientRects(); |
| 73 ClientRect getBoundingClientRect(); | 70 ClientRect getBoundingClientRect(); |
| 74 }; | 71 }; |
| 75 | 72 |
| 76 Element implements ParentNode; | 73 Element implements ParentNode; |
| 77 Element implements ChildNode; | 74 Element implements ChildNode; |
| OLD | NEW |