chromium/third_party/blink/renderer/core/fragment_directive/text_directive.idl

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://github.com/WICG/ScrollToTextFragment

[
    Exposed=Window,
    RuntimeEnabled=TextFragmentAPI
] interface TextDirective : SelectorDirective {
  constructor(optional TextDirectiveOptions options = {});
  readonly attribute DOMString prefix;
  readonly attribute DOMString textStart;
  readonly attribute DOMString textEnd;
  readonly attribute DOMString suffix;
};