2 * Copyright 2009 The Closure Compiler Authors
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 * @fileoverview Definitions for DOM Element Traversal interface.
19 * This file depends on w3c_dom1.js.
20 * The whole file has been fully type annotated.
22 * http://www.w3.org/TR/ElementTraversal/#ecmascript-bindings
25 * @author arv@google.com (Erik Arvidsson)
30 * @see https://developer.mozilla.org/En/DOM/Element.firstElementChild
32 Element.prototype.firstElementChild;
36 * @see https://developer.mozilla.org/En/DOM/Element.lastElementChild
38 Element.prototype.lastElementChild;
42 * @see https://developer.mozilla.org/En/DOM/Element.previousElementSibling
44 Element.prototype.previousElementSibling;
48 * @see https://developer.mozilla.org/En/DOM/Element.nextElementSibling
50 Element.prototype.nextElementSibling;
54 * @see https://developer.mozilla.org/En/DOM/Element.childElementCount
56 Element.prototype.childElementCount;