Bug 1852740: add tests for the `fetchpriority` attribute in Link headers. r=necko...
[gecko.git] / dom / webidl / TreeColumn.webidl
blob71292f03dc45617559bd543eeb1a32e273602020
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 [ChromeOnly, Exposed=Window]
6 interface TreeColumn {
7   readonly attribute Element element;
9   readonly attribute TreeColumns? columns;
11   [Throws]
12   readonly attribute long x;
13   [Throws]
14   readonly attribute long width;
16   readonly attribute DOMString id;
17   readonly attribute long index;
19   readonly attribute boolean primary;
20   readonly attribute boolean cycler;
21   readonly attribute boolean editable;
23   const short TYPE_TEXT                = 1;
24   const short TYPE_CHECKBOX            = 2;
25   readonly attribute short type;
27   TreeColumn? getNext();
28   TreeColumn? getPrevious();
30   /**
31    * Returns the previous displayed column, if any, accounting for
32    * the ordinals set on the columns.
33    */
34   readonly attribute TreeColumn? previousColumn;
36   [Throws]
37   undefined invalidate();