// Copyright 2016 The Chromium Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
// https://garykac.github.io/staticrange/#interface-staticrange | |
[ | |
RuntimeEnabled=InputEvent | |
] interface StaticRange { | |
readonly attribute Node startContainer; | |
readonly attribute unsigned long startOffset; | |
readonly attribute Node endContainer; | |
readonly attribute unsigned long endOffset; | |
readonly attribute boolean collapsed; | |
}; |