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 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); | 61 void scrollIntoView(optional boolean alignWithTop); |
62 | 62 |
63 [MeasureAs=ElementScrollIntoViewIfNeeded] void scrollIntoViewIfNeeded(option
al boolean centerIfNeeded); | 63 [MeasureAs=ElementScrollIntoViewIfNeeded] void scrollIntoViewIfNeeded(option
al boolean centerIfNeeded); |
64 | 64 |
65 [PerWorldBindings] readonly attribute DOMTokenList classList; | 65 [PerWorldBindings] readonly attribute DOMTokenList classList; |
66 | 66 |
67 [RaisesException, MeasureAs=ElementCreateShadowRoot] ShadowRoot createShadow
Root(); | 67 [RaisesException] ShadowRoot ensureShadowRoot(); |
68 [PerWorldBindings] readonly attribute ShadowRoot shadowRoot; | 68 [PerWorldBindings] readonly attribute ShadowRoot shadowRoot; |
69 NodeList getDestinationInsertionPoints(); | 69 NodeList getDestinationInsertionPoints(); |
70 | 70 |
71 // CSSOM View Module API | 71 // CSSOM View Module API |
72 ClientRectList getClientRects(); | 72 ClientRectList getClientRects(); |
73 ClientRect getBoundingClientRect(); | 73 ClientRect getBoundingClientRect(); |
74 }; | 74 }; |
75 | 75 |
76 Element implements ParentNode; | 76 Element implements ParentNode; |
77 Element implements ChildNode; | 77 Element implements ChildNode; |
OLD | NEW |