Bug 1835529 [wpt PR 40276] - Update wpt metadata, a=testonly
[gecko.git] / dom / webidl / TextClause.webidl
blob9ed1c7184365288ba37f988b4bffbc340d2a3ae8
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this
4  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5  */
7 [ChromeOnly,
8  Exposed=Window]
9 interface TextClause
11   // The start offset of TextClause
12   readonly attribute long startOffset;
14   // The end offset of TextClause
15   readonly attribute long endOffset;
17   // If the TextClause is Caret or not
18   readonly attribute boolean isCaret;
20   // If the TextClause is TargetClause or not
21   readonly attribute boolean isTargetClause;