2019-06-28 10:48:52 +03:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*
|
|
|
|
* The origin of this IDL file is
|
|
|
|
* https://dom.spec.whatwg.org/#staticrange
|
|
|
|
*
|
|
|
|
* Copyright 2012 W3C (MIT, ERCIM, Keio), All Rights Reserved. W3C
|
|
|
|
* liability, trademark and document use rules apply.
|
|
|
|
*/
|
|
|
|
|
2019-09-27 18:26:14 +03:00
|
|
|
[Exposed=Window]
|
2019-06-28 10:48:52 +03:00
|
|
|
interface StaticRange : AbstractRange {
|
2019-10-01 20:51:32 +03:00
|
|
|
[Throws]
|
|
|
|
constructor(StaticRangeInit init);
|
2019-06-28 10:48:52 +03:00
|
|
|
// And no additional functions/properties.
|
|
|
|
};
|
2019-10-01 20:51:32 +03:00
|
|
|
|
|
|
|
dictionary StaticRangeInit {
|
|
|
|
required Node startContainer;
|
|
|
|
required unsigned long startOffset;
|
|
|
|
required Node endContainer;
|
|
|
|
required unsigned long endOffset;
|
|
|
|
};
|