chromium/third_party/blink/renderer/core/layout/custom/layout_edges.idl

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

// https://drafts.css-houdini.org/css-layout-api/#layoutedges

[
  Exposed=LayoutWorklet,
  ImplementedAs=CustomLayoutEdges,
  RuntimeEnabled=CSSLayoutAPI
]
interface LayoutEdges {
  readonly attribute double inlineStart;
  readonly attribute double inlineEnd;

  readonly attribute double blockStart;
  readonly attribute double blockEnd;

  [ImplementedAs=inlineSum] readonly attribute double inline;
  [ImplementedAs=blockSum] readonly attribute double block;
};